//
// LevelLeaderboard::onChangeMode from 0x1002502fc to 0x10025034c (80 bytes)
//
// 2 xrefs:
// > LevelLeaderboard::init @ 0x10024f764
// > LevelLeaderboard::init @ 0x10024f800
//
// 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 LevelLeaderboard::onChangeMode(LevelLeaderboard *a1, cocos2d::CCObject *a2)
{
LevelLeaderboardMode v3; // w20
GameManager *v4; // x0
v3 = ((unsigned int (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2);
v4 = GameManager::sharedState();
GameManager::setIntGameVariable(v4, "0164", v3);
LevelLeaderboard::reloadLeaderboard(a1, a1->m_type, v3);
}