// // GameStatsManager::getStatFromKey from 0x10006c920 to 0x10006c967 (71 bytes) // // 4 xrefs: // > GJPathSprite::updateState @ 0x1002fe9ef // > GJPathsLayer::onPath @ 0x1002fea71 // > GJPathPage::init @ 0x1002ffc8b // > GJPathPage::init @ 0x1002ffca7 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // int __fastcall GameStatsManager::getStatFromKey(GameStatsManager *a1, StatKey a2) { const char *v2; // rsi int result; // eax int v4; // ebx char v5; // [rsp+0h] [rbp-20h] BYREF char v6; // [rsp+1h] [rbp-1Fh] BYREF void *__p; // [rsp+10h] [rbp-10h] GameToolbox::intToString(&v5, a2); if ( (v5 & 1) != 0 ) v2 = (const char *)__p; else v2 = &v6; result = GameStatsManager::getStat(a1, v2); if ( (v5 & 1) != 0 ) { v4 = result; operator delete(__p); return v4; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source