//
// LevelInfoLayer::onLevelLeaderboard from 0x3b1564 to 0x3b15a2 (62 bytes)
//
// 0 xrefs:
//
// 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 LevelInfoLayer::onLevelLeaderboard(LevelInfoLayer *a1, cocos2d::CCObject *a2)
{
GJGameLevel *m_level; // r5
GameManager *v3; // r0
LevelLeaderboardType IntGameVariable; // r4
GameManager *v5; // r0
LevelLeaderboardMode v6; // r0
LevelLeaderboard *v7; // r0
if ( !a1->m_isBusy )
{
m_level = a1->m_level;
v3 = GameManager::sharedState();
IntGameVariable = GameManager::getIntGameVariable(v3, "0098");
v5 = GameManager::sharedState();
v6 = GameManager::getIntGameVariable(v5, "0164");
v7 = LevelLeaderboard::create(m_level, IntGameVariable, v6);
v7->show(v7);
}
}