//
// EditLevelLayer::onLevelLeaderboard from 0x7ed35c to 0x7ed3a4 (72 bytes)
//
// 3 xrefs:
// > ??> @ 0x78b50
// > EditLevelLayer::init @ 0x7f1050
// > ??> @ 0x1543110
//
// 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 12:54:33 +0000
//
__int64 __fastcall EditLevelLayer::onLevelLeaderboard(EditLevelLayer *this, cocos2d::CCObject *a2)
{
__int64 v2; // x19
GameManager *v3; // x0
unsigned int IntGameVariable; // w0
__int64 v5; // x0
v2 = *((_QWORD *)this + 59);
v3 = (GameManager *)GameManager::sharedState(this);
IntGameVariable = GameManager::getIntGameVariable(v3, "0164");
v5 = LevelLeaderboard::create(v2, 3, IntGameVariable);
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 1312LL))(v5);
}