//
// LevelLeaderboard::onChangeType from 0x93391c to 0x933998 (124 bytes)
//
// 3 xrefs:
// > ??> @ 0x6d488
// > LevelLeaderboard::init @ 0x932eb0
// > ??> @ 0x122b958
//
// 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 LevelLeaderboard::onChangeType(LevelLeaderboard *a1, cocos2d::CCObject *a2)
{
GJAccountManager *v3; // x0
LevelLeaderboardType v4; // w19
GameManager *v5; // x0
v3 = GJAccountManager::sharedState();
if ( v3->m_accountID - v3->m_unkInt1 > 0 )
{
v4 = a2->getTag(a2);
v5 = GameManager::sharedState();
GameManager::setIntGameVariable(v5, "0098", v4);
LevelLeaderboard::reloadLeaderboard(a1, v4, a1->m_mode);
}
}