// // GJPathSprite::updateState from 0x1002e9520 to 0x1002e95a0 (128 bytes) // // 2 xrefs: // > GJPathsLayer::init @ 0x1002e92b4 // > GJPathPage::init @ 0x1002ea4e7 // // This function is hookable on this platform (idp: pc, 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:28:22 +0000 // __int64 __fastcall GJPathSprite::updateState(__int64 a1, __m128 a2) { __int64 v2; // rax unsigned int v3; // r14d __int64 v4; // rax v2 = GameStatsManager::sharedState(); if ( !(unsigned __int8)GameStatsManager::isItemUnlocked(v2, 12, *(_DWORD *)(a1 + 596) + 5) ) return GJPathSprite::changeToLockedArt(a1); v3 = *(_DWORD *)(a1 + 596) + 29; v4 = GameStatsManager::sharedState(); a2.f32[0] = (float)(int)GameStatsManager::getStatFromKey(v4, v3, a2) / 100.0; if ( (int)_mm_round_ss(a2, a2, 9).f32[0] < 10 ) return GJPathSprite::addRankLabel(a1); else return GJPathSprite::addShardSprite(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source