//
// LevelLeaderboard::loadLeaderboardFinished from 0x4e51d0 to 0x4e5234 (100 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'LevelLeaderboard::loadLeaderboardFinished @ 0x4e5238
//
// 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::loadLeaderboardFinished(LevelLeaderboard *a1, cocos2d::CCArray *a2, const char *a3)
{
cocos2d::CCArray *m_scores; // r0
if ( LevelLeaderboard::isCorrect(a1, a3) )
{
m_scores = a1->m_scores;
if ( m_scores )
cocos2d::CCObject::release(m_scores);
a1->m_scores = a2;
cocos2d::CCObject::retain(a2);
LevelLeaderboard::setupLeaderboard(a1, a1->m_scores);
a1->m_circle->setVisible(a1->m_circle, 0);
a1->m_noInternet->setVisible(a1->m_noInternet, 0);
a1->m_refreshBtn->setVisible(a1->m_refreshBtn, a1->m_type != Local);
}
}