// // GJPathSprite::updateState from 0x6d2a98 to 0x6d2b04 (108 bytes) // // 2 xrefs: // > GJPathsLayer::init @ 0x6d2dbe // > GJPathPage::init @ 0x6d33dc // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 11:57:04 +0000 // int __fastcall GJPathSprite::updateState(GJPathSprite *this) { GameStatsManager *v2; // r0 GameStatsManager *isItemUnlocked; // r0 int v5; // r5 GameStatsManager *v6; // r0 char *v7; // r2 int v8; // r3 int StatFromKey; // r0 float v10; // s15 v2 = (GameStatsManager *)GameStatsManager::sharedState(this); isItemUnlocked = (GameStatsManager *)GameStatsManager::isItemUnlocked(v2, 12, *((_DWORD *)this + 127) + 5); if ( !isItemUnlocked ) return GJPathSprite::changeToLockedArt((const char **)this); v5 = *((_DWORD *)this + 127) + 29; v6 = (GameStatsManager *)GameStatsManager::sharedState(isItemUnlocked); StatFromKey = GameStatsManager::getStatFromKey(v6, v5, v7, v8); v10 = floorf((float)StatFromKey / 100.0); if ( (int)v10 <= 9 ) return GJPathSprite::addRankLabel(this, (int)v10); else return GJPathSprite::addShardSprite(this); }
GD Web Decomp Icon

GD Web Decomp

Raw Source