// // EditLevelLayer::onLevelLeaderboard from 0x1400d6980 to 0x1400d69f6 (118 bytes) // // 2 xrefs: // > EditLevelLayer::init @ 0x1400d644a // > @ 0x1406c8784 // // 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 EditLevelLayer::onLevelLeaderboard(EditLevelLayer *a1, cocos2d::CCObject *a2) { GameManager *v3; // rcx LevelLeaderboardMode IntGameVariable; // eax LevelLeaderboard *v5; // rax void *v6; // [rsp+30h] [rbp+8h] v3 = (GameManager *)qword_1406C2ED8; if ( !qword_1406C2ED8 ) { v6 = operator new(0x668u); qword_1406C2ED8 = sub_14017AB00(v6); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8); v3 = (GameManager *)qword_1406C2ED8; } IntGameVariable = GameManager::getIntGameVariable(v3, "0164"); v5 = LevelLeaderboard::create(a1->m_level, Local, IntGameVariable); v5->show(v5); }