MCPcopy Create free account
hub / github.com/Phobos-developers/Phobos / GET_STACK

Function GET_STACK

src/Misc/Hooks.UI.cpp:59–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57{
58 GET(PreviewClass*, pThis, ECX);
59 GET_STACK(const char*, lpMapFile, 0x4);
60
61 CCFileClass file(lpMapFile);
62 if (file.Exists() && file.Open(FileAccessMode::Read))
63 {
64 CCINIClass ini;
65 ini.ReadCCFile(&file, true);
66 ini.CurrentSection = nullptr;
67 ini.CurrentSectionName = nullptr;
68
69 ScenarioClass::Instance->ReadStartPoints(ini);
70
71 R->EAX(pThis->ReadPreviewPack(ini));
72 }
73 else
74 R->EAX(false);
75

Callers 4

Hooks.UI.cppFile · 0.70
Hooks.BugFixes.cppFile · 0.70
SyncLogging.cppFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected