// // LevelLeaderboard::onChangeMode from 0x140302790 to 0x14030280d (125 bytes) // // 3 xrefs: // > LevelLeaderboard::init @ 0x140300ff6 // > LevelLeaderboard::init @ 0x1403010ce // > @ 0x1406d43d0 // // 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 // // Hidden C++ exception states: #wind=1 void LevelLeaderboard::onChangeMode(LevelLeaderboard *a1, cocos2d::CCObject *a2) { LevelLeaderboardMode v3; // edi GameManager *v4; // rcx void *v5; // [rsp+30h] [rbp+8h] v3 = a2->getTag(a2); v4 = (GameManager *)qword_1406C2ED8; if ( !qword_1406C2ED8 ) { v5 = operator new(0x668u); qword_1406C2ED8 = sub_14017AB00((__int64)v5); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8); v4 = (GameManager *)qword_1406C2ED8; } GameManager::setIntGameVariable(v4, "0164", v3); LevelLeaderboard::reloadLeaderboard(a1, a1->m_type, v3); }
GD Web Decomp Icon

GD Web Decomp

Raw Source