//
// EditLevelLayer::onLevelLeaderboard from 0x49f3ec to 0x49f414 (40 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:49:48 +0000
//
int __fastcall EditLevelLayer::onLevelLeaderboard(EditLevelLayer *this, cocos2d::CCObject *a2)
{
int v2; // r4
GameManager *v3; // r0
int IntGameVariable; // r0
int v5; // r0
v2 = *((_DWORD *)this + 87);
v3 = (GameManager *)GameManager::sharedState(this);
IntGameVariable = GameManager::getIntGameVariable(v3, "0164");
v5 = LevelLeaderboard::create(v2, 3, IntGameVariable);
return (*(int (__fastcall **)(int))(*(_DWORD *)v5 + 656))(v5);
}