//
// LevelLeaderboard::onChangeType from 0x4e5f08 to 0x4e5f4a (66 bytes)
//
// 0 xrefs:
//
// 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 *v4; // r0
LevelLeaderboardType v5; // r4
GameManager *v6; // r0
v4 = GJAccountManager::sharedState();
if ( v4->m_accountID - v4->m_unkInt1 > 0 )
{
v5 = a2->getTag(a2);
v6 = GameManager::sharedState();
GameManager::setIntGameVariable(v6, "0098", v5);
LevelLeaderboard::reloadLeaderboard(a1, v5, a1->m_mode);
}
}