// // GJPathSprite::updateState from 0xba5b28 to 0xba5bb0 (136 bytes) // // 3 xrefs: // > GJPathsLayer::init @ 0xba5fd4 // > GJPathPage::init @ 0xba66cc // > @ 0xe98c0 // // 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 13:02:49 +0000 // __int64 __fastcall GJPathSprite::updateState(GJPathSprite *this) { __int64 v2; // x0 GameStatsManager *isItemUnlocked; // x0 GameStatsManager *v4; // x0 GameToolbox *v5; // x1 GameToolbox *v7; // [xsp+28h] [xbp+28h] v2 = GameStatsManager::sharedState(this); isItemUnlocked = (GameStatsManager *)(unsigned __int8)GameStatsManager::isItemUnlocked( v2, 0xCu, *((_DWORD *)this + 149) + 5); if ( !(_BYTE)isItemUnlocked ) return GJPathSprite::changeToLockedArt(this); v7 = (GameToolbox *)(unsigned int)(*((_DWORD *)this + 149) + 29); v4 = (GameStatsManager *)GameStatsManager::sharedState(isItemUnlocked); LODWORD(v5) = vcvtms_s32_f32((float)(int)GameStatsManager::getStatFromKey(v4, v7) / 100.0); if ( (int)v5 > 9 ) return GJPathSprite::addShardSprite(this); else return GJPathSprite::addRankLabel(this, v5); }
GD Web Decomp Icon

GD Web Decomp

Raw Source