// // LevelInfoLayer::onLevelLeaderboard from 0x1402f9d00 to 0x1402f9dde (222 bytes) // // 2 xrefs: // > LevelInfoLayer::init @ 0x1402f83cf // > @ 0x1406d4130 // // 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=2 void LevelInfoLayer::onLevelLeaderboard(LevelInfoLayer *a1, cocos2d::CCObject *a2) { GameManager *v3; // rdi GameManager *v4; // rbx LevelLeaderboardMode IntGameVariable; // ebx LevelLeaderboardType v6; // eax LevelLeaderboard *v7; // rax void *v8; // [rsp+30h] [rbp+8h] void *v9; // [rsp+30h] [rbp+8h] if ( !a1->m_isBusy ) { v3 = (GameManager *)qword_1406C2ED8; if ( !qword_1406C2ED8 ) { v8 = operator new(0x668u); qword_1406C2ED8 = sub_14017AB00((__int64)v8); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8); v3 = (GameManager *)qword_1406C2ED8; } v4 = v3; if ( !v3 ) { v9 = operator new(0x668u); qword_1406C2ED8 = sub_14017AB00((__int64)v9); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8); v3 = (GameManager *)qword_1406C2ED8; } IntGameVariable = GameManager::getIntGameVariable(v4, "0164"); v6 = GameManager::getIntGameVariable(v3, "0098"); v7 = LevelLeaderboard::create(a1->m_level, v6, IntGameVariable); v7->show(v7); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source