// // GJPathSprite::updateState from 0x1002fe9b0 to 0x1002fea30 (128 bytes) // // 2 xrefs: // > GJPathsLayer::init @ 0x1002fe744 // > GJPathPage::init @ 0x1002ff807 // // 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 // void __fastcall GJPathSprite::updateState(GJPathSprite *a1) { __m128 v1; // xmm0 GameStatsManager *v2; // rax StatKey v3; // r14d GameStatsManager *v4; // rax int v5; // esi v2 = GameStatsManager::sharedState(); if ( GameStatsManager::isItemUnlocked(v2, GJItem, a1->m_pathNumber + 5) ) { v3 = a1->m_pathNumber + 29; v4 = GameStatsManager::sharedState(); v1.f32[0] = (float)GameStatsManager::getStatFromKey(v4, v3) / 100.0; v5 = (int)_mm_round_ss(v1, v1, 9).f32[0]; if ( v5 < 10 ) GJPathSprite::addRankLabel(a1, v5); else GJPathSprite::addShardSprite(a1); } else { GJPathSprite::changeToLockedArt(a1); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source