//
// LevelInfoLayer::onLevelLeaderboard from 0x1002c19a0 to 0x1002c1a04 (100 bytes)
//
// 1 xrefs:
// > LevelInfoLayer::init @ 0x1002be2e8
//
// 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 __fastcall LevelInfoLayer::onLevelLeaderboard(LevelInfoLayer *a1, cocos2d::CCObject *a2)
{
GJGameLevel *m_level; // rbx
GameManager *v3; // rax
LevelLeaderboardType IntGameVariable; // r14d
GameManager *v5; // rax
LevelLeaderboardMode v6; // eax
LevelLeaderboard *v7; // rax
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);
((void (__fastcall *)(LevelLeaderboard *))v7->show)(v7);
}
}