//
// LeaderboardsLayer::onTop from 0x5634bc to 0x5634d0 (20 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:52:26 +0000
//
GameLevelManager *__fastcall LeaderboardsLayer::onTop(GameLevelManager *this, cocos2d::CCObject *a2, int a3, int a4)
{
if ( *((_DWORD *)this + 83) != 1 )
return LeaderboardsLayer::selectLeaderboard(this, (_BYTE *)&dword_0 + 1, *((char **)this + 84), a4);
return this;
}