// // LevelLeaderboard::onChangeType from 0xa83ccc to 0xa83d48 (124 bytes) // // 3 xrefs: // > @ 0x93808 // > LevelLeaderboard::init @ 0xa83434 // > @ 0x1543f90 // // 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:00:33 +0000 // __int64 __fastcall LevelLeaderboard::onChangeType(LevelLeaderboard *this, cocos2d::CCObject *a2) { __int64 v3; // x0 __int64 result; // x0 GameManager *v5; // x0 unsigned int v6; // w19 GameManager *v7; // x0 v3 = GJAccountManager::sharedState(this); result = (unsigned int)(*(_DWORD *)(v3 + 352) - *(_DWORD *)(v3 + 356)); if ( (int)result > 0 ) { v5 = (GameManager *)(*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 64LL))(a2); v6 = (unsigned int)v5; v7 = (GameManager *)GameManager::sharedState(v5); GameManager::setIntGameVariable(v7, "0098", v6); return LevelLeaderboard::reloadLeaderboard((GJGameLevel **)this, v6, *((_DWORD *)this + 173)); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source