//
// TopArtistsLayer::loadListFinished from 0xaac97c to 0xaac9f8 (124 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'TopArtistsLayer::loadListFinished @ 0xaac9fc
// > ??> @ 0xb7550
// > ??> @ 0x14a4c90
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 13:00:54 +0000
//
__int64 __fastcall TopArtistsLayer::loadListFinished(__int64 this, cocos2d::CCArray *a2, const char *a3)
{
__int64 v3; // x19
cocos2d::CCObject *v5; // x0
v3 = this;
if ( a2 )
{
this = (unsigned __int8)TopArtistsLayer::isCorrect((TopArtistsLayer *)this, a3);
if ( (_BYTE)this )
{
v5 = *(cocos2d::CCObject **)(v3 + 672);
if ( v5 )
cocos2d::CCObject::release(v5);
*(_QWORD *)(v3 + 672) = a2;
cocos2d::CCObject::retain(a2);
TopArtistsLayer::setupLeaderboard((TopArtistsLayer *)v3, *(cocos2d::CCArray **)(v3 + 672));
return (*(__int64 (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(v3 + 688) + 344LL))(*(_QWORD *)(v3 + 688), 0);
}
}
return this;
}