//
// LevelLeaderboard::loadLeaderboardFinished from 0x1003dc0d0 to 0x1003dc165 (149 bytes)
//
// 1 xrefs:
// > ??> @ 0x100931450
//
// 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::loadLeaderboardFinished(LevelLeaderboard *a1, cocos2d::CCArray *a2, const char *a3)
{
cocos2d::CCArray *m_scores; // rdi
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);
((void (__fastcall *)(LoadingCircle *, _QWORD))a1->m_circle->setVisible)(a1->m_circle, 0);
((void (__fastcall *)(TextArea *, _QWORD))a1->m_noInternet->setVisible)(a1->m_noInternet, 0);
((void (__fastcall *)(CCMenuItemSpriteExtra *, bool))a1->m_refreshBtn->setVisible)(
a1->m_refreshBtn,
a1->m_type != Local);
}
}