//
// TopArtistsLayer::loadListFinished from 0x14066e790 to 0x14066e807 (119 bytes)
//
// 4 xrefs:
// > ??> @ 0x140833518
// > ??> @ 0x1408eaa28
// > ??> @ 0x1408eaa38
// > ??> @ 0x1409321f8
//
// This function is hookable on this platform (idp: pc, 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 11:35:53 +0000
//
__int64 __fastcall TopArtistsLayer::loadListFinished(__int64 a1, cocos2d::CCObject *a2)
{
cocos2d::CCObject *v3; // rcx
__int64 result; // rax
if ( a2 )
{
v3 = *(cocos2d::CCObject **)(a1 + 8);
if ( v3 )
{
cocos2d::CCObject::release(v3);
*(_QWORD *)(a1 + 8) = 0;
}
*(_QWORD *)(a1 + 8) = a2;
cocos2d::CCObject::retain(a2);
TopArtistsLayer::setupLeaderboard(a1 - 664, *(_QWORD *)(a1 + 8));
return (*(__int64 (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 24) + 336LL))(*(_QWORD *)(a1 + 24), 0);
}
return result;
}