MCPcopy Create free account
hub / github.com/Norbyte/bg3se / IsFixedStringRef

Method IsFixedStringRef

CoreLib/SymbolMapper.cpp:700–710  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

698}
699
700bool SymbolMapper::IsFixedStringRef(uint8_t const * ref, char const * str) const
701{
702 if (IsValidModulePtr(ref)) {
703 auto fsx = (FixedString const *)ref;
704 if (*fsx && fsx->IsValid() && strcmp(fsx->GetString(), str) == 0) {
705 return true;
706 }
707 }
708
709 return false;
710}
711
712bool SymbolMapper::IsIndirectFixedStringRef(uint8_t const * ref, char const * str) const
713{

Callers

nothing calls this directly

Calls 2

GetStringMethod · 0.80
IsValidMethod · 0.45

Tested by

no test coverage detected