//
// sub_10026A060 from 0x10026a060 to 0x10026a1f0 (400 bytes)
//
// 2 xrefs:
// > AudioAssetsBrowser::init @ 0x100269a7c
// > sub_10026A1F0 @ 0x10026a230
//
// 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 11:01:43 +0000
//
__int64 __fastcall sub_10026A060(__int64 a1)
{
_DWORD *v2; // x0
__int64 v3; // x0
__int64 v4; // x0
__int64 v5; // x20
int *v6; // x22
int *v7; // x23
int v8; // w21
__int64 v9; // x0
__int64 SongInfoObject; // x0
__int64 v11; // x0
char *v12; // x0
__int64 v13; // x0
__int64 v14; // x19
float v16; // [xsp+0h] [xbp-50h] BYREF
__int64 v17; // [xsp+8h] [xbp-48h] BYREF
v2 = *(_DWORD **)(a1 + 680);
if ( v2 )
v2 = cocos2d::CCObject::release(v2);
if ( *(_QWORD *)(a1 + 688) )
{
v3 = cocos2d::CCDirector::sharedDirector();
v4 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 160LL))(v3);
cocos2d::CCTouchDispatcher::unregisterForcePrio(v4, *(_QWORD *)(a1 + 688));
v2 = (_DWORD *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 688) + 536LL))(*(_QWORD *)(a1 + 688));
*(_QWORD *)(a1 + 688) = 0;
}
v5 = sub_1002E736C(v2);
v6 = *(int **)(a1 + 704);
v7 = *(int **)(a1 + 712);
while ( v6 != v7 )
{
v8 = *v6;
v9 = MusicDownloadManager::sharedState();
SongInfoObject = MusicDownloadManager::getSongInfoObject(v9, v8);
if ( SongInfoObject )
sub_1002E74E0(v5, SongInfoObject);
++v6;
}
*(_QWORD *)(a1 + 680) = v5;
cocos2d::CCObject::retain(v5);
v11 = cocos2d::CCDirector::sharedDirector();
cocos2d::CCDirector::getWinSize(v11, &v17);
v12 = CustomListView::create(v5, a1 + 664, 0, 23, 220.0, 340.0, 0.0);
v13 = GJCommentListLayer::create(v12, "", 4281479730LL, 1, 340.0, 220.0);
*(_QWORD *)(a1 + 688) = v13;
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(a1 + 584) + 464LL))(*(_QWORD *)(a1 + 584), v13, 10);
v14 = *(_QWORD *)(a1 + 688);
sub_1000262BC(
&v16,
(float)(*(float *)&v17 + -340.0) * 0.5,
(float)((float)(*((float *)&v17 + 1) + -220.0) * 0.5) + -10.0);
return (*(__int64 (__fastcall **)(__int64, float *))(*(_QWORD *)v14 + 184LL))(v14, &v16);
}