// // LevelLeaderboard::onUpdate from 0x1003c8410 to 0x1003c84e6 (214 bytes) // // 1 xrefs: // > LevelLeaderboard::init @ 0x1003c79a7 // // 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:29:35 +0000 // __int64 __fastcall LevelLeaderboard::onUpdate(__int64 a1, __int64 a2, double a3) { __int64 result; // rax __int64 v4; // rax __int64 v5; // rax double v6; // xmm0_8 __int64 v7; // rax result = GJAccountManager::sharedState(a1, a2); if ( *(_DWORD *)(result + 352) > *(_DWORD *)(result + 356) ) { v4 = GameLevelManager::sharedState(a3); result = (unsigned int)GameLevelManager::getTimeLeft(v4, "upd_ll", 5.0) - 1; if ( (unsigned int)result >= 5 ) { v5 = GameLevelManager::sharedState(COERCE_DOUBLE(1084227584)); GameLevelManager::makeTimeStamp(v5, "upd_ll"); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 720) + 344LL))(*(_QWORD *)(a1 + 720), 0); (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 712) + 344LL))(*(_QWORD *)(a1 + 712), 1); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 728) + 344LL))(*(_QWORD *)(a1 + 728), 0); v6 = LevelLeaderboard::setupLeaderboard(a1, 0); *(_QWORD *)(GameLevelManager::sharedState(v6) + 1296) = a1 + 664; v7 = GameLevelManager::sharedState(v6); return GameLevelManager::getLevelLeaderboard( v7, *(_QWORD *)(a1 + 680), *(unsigned int *)(a1 + 688), *(unsigned int *)(a1 + 692)); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source