//
// LevelLeaderboard::onChangeMode from 0x1003db2e0 to 0x1003db322 (66 bytes)
//
// 2 xrefs:
// > LevelLeaderboard::init @ 0x1003da56e
// > LevelLeaderboard::init @ 0x1003da637
//
// 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 v2; // r14d
GameManager *v3; // rax
v2 = ((unsigned int (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2);
v3 = GameManager::sharedState();
GameManager::setIntGameVariable(v3, "0164", v2);
LevelLeaderboard::reloadLeaderboard(a1, a1->m_type, v2);
}