MCPcopy Create free account
hub / github.com/Inori/GPCS4 / getSymbol

Method getSymbol

GPCS4/Emulator/Module.cpp:62–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62bool NativeModule::getSymbol(std::string const &encName,
63 SymbolInfo const **symbolInfo) const
64{
65 bool retVal = false;
66 if (m_nameSymbolMap.count(encName) == 0)
67 {
68 retVal = false;
69 }
70 else
71 {
72 auto idx = m_nameSymbolMap.at(encName);
73 *symbolInfo = &m_symbols[idx];
74 retVal = true;
75 }
76
77 return retVal;
78}
79
80bool NativeModule::getSymbolInfo(std::string const &encSymbol,
81 ModuleList const &mods,

Callers 3

loadModuleFromFileMethod · 0.80
registerSymbolMethod · 0.80
resolveSymbolMethod · 0.80

Calls 3

countMethod · 0.45
atMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected