// // GameStatsManager::trySelectActivePath from 0x8e81d4 to 0x8e833c (360 bytes) // // 4 xrefs: // > GameStatsManager::incrementActivePath @ 0x8e8364 // > GJPathsLayer::init @ 0xba5c28 // > GJPathPage::init @ 0xba74e4 // > @ 0x4a188 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:56:53 +0000 // __int64 __fastcall GameStatsManager::trySelectActivePath(GameStatsManager *this) { int v2; // w1 unsigned int v3; // w19 const char *v4; // x1 int v5; // w23 const char *v7; // x1 int Stat; // w19 unsigned __int64 v9[2]; // [xsp+40h] [xbp+40h] BYREF void *v10; // [xsp+50h] [xbp+50h] GameStatsManager::updateActivePath((__int64)this, *((_DWORD *)this + 229)); v2 = *((_DWORD *)this + 229); if ( v2 ) { if ( !(unsigned __int8)GameStatsManager::isPathUnlocked(this, v2) ) goto LABEL_13; GameToolbox::intToString(v9, (GameToolbox *)*((unsigned int *)this + 229)); v7 = (char *)v9 + 1; if ( (v9[0] & 1) != 0 ) v7 = (const char *)v10; Stat = GameStatsManager::getStat(this, v7); if ( (v9[0] & 1) != 0 ) operator delete(v10); if ( Stat <= 999 ) { if ( *((_DWORD *)this + 229) ) return _stack_chk_guard; } else { LABEL_13: *((_DWORD *)this + 229) = 0; } } v3 = 30; while ( 1 ) { if ( (unsigned __int8)GameStatsManager::isPathUnlocked(this, v3) ) { GameToolbox::intToString(v9, (GameToolbox *)v3); v4 = (char *)v9 + 1; if ( (v9[0] & 1) != 0 ) v4 = (const char *)v10; v5 = GameStatsManager::getStat(this, v4); if ( (v9[0] & 1) != 0 ) operator delete(v10); if ( v5 <= 999 ) break; } if ( ++v3 == 40 ) return _stack_chk_guard; } *((_DWORD *)this + 229) = v3; return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source