//
// LevelInfoLayer::onLevelLeaderboard from 0x6d56dc to 0x6d5740 (100 bytes)
//
// 3 xrefs:
// > ??> @ 0xaebb8
// > LevelInfoLayer::init @ 0x6dbbd0
// > ??> @ 0x122e098
//
// 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; // x20
GameManager *v3; // x0
LevelLeaderboardType IntGameVariable; // w19
GameManager *v5; // x0
LevelLeaderboardMode v6; // w0
LevelLeaderboard *v7; // x0
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);
}
}