//
// AudioAssetsBrowser::onInfo from 0x6e1c70 to 0x6e2054 (996 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:57:21 +0000
//
int __fastcall AudioAssetsBrowser::onInfo(AudioAssetsBrowser *this, cocos2d::CCObject *a2)
{
MusicDownloadManager *v3; // r0
unsigned int v4; // r8
MusicDownloadManager *v5; // r0
unsigned int v6; // r2
int v7; // r3
char *v8; // r1
size_t v9; // r2
unsigned __int8 *v10; // r0
int v11; // r3
char *v12; // r1
size_t v13; // r2
unsigned int *v14; // r3
unsigned int *v15; // r5
int v16; // r8
unsigned int v17; // t1
MusicDownloadManager *v18; // r0
unsigned int v19; // r2
int v20; // r3
char *v21; // r1
size_t v22; // r2
unsigned __int8 *v23; // r0
int v24; // r3
char *v25; // r1
size_t v26; // r2
int v27; // r3
int v28; // r3
char *v29; // r1
size_t v30; // r2
int v31; // r3
char *v32; // r1
size_t v33; // r2
int v34; // r3
char *v35; // r1
size_t v36; // r2
char *v37; // r1
size_t v38; // r2
unsigned int v39; // r3
int *v40; // r7
unsigned int *v42; // [sp+1Ch] [bp-24h]
unsigned int *v43; // [sp+1Ch] [bp-24h]
char *v44; // [sp+20h] [bp-20h]
int v45; // [sp+34h] [bp-Ch] BYREF
size_t v46; // [sp+38h] [bp-8h]
char *v47; // [sp+3Ch] [bp-4h]
int v48; // [sp+40h] [bp+0h] BYREF
size_t v49; // [sp+44h] [bp+4h]
char *v50; // [sp+48h] [bp+8h]
int v51; // [sp+4Ch] [bp+Ch] BYREF
size_t v52; // [sp+50h] [bp+10h]
char *v53; // [sp+54h] [bp+14h]
int v54; // [sp+58h] [bp+18h] BYREF
size_t v55; // [sp+5Ch] [bp+1Ch]
char *v56; // [sp+60h] [bp+20h]
unsigned __int8 v57; // [sp+64h] [bp+24h] BYREF
char v58; // [sp+65h] [bp+25h] BYREF
size_t v59; // [sp+68h] [bp+28h]
char *v60; // [sp+6Ch] [bp+2Ch]
unsigned __int8 v61; // [sp+70h] [bp+30h] BYREF
char v62; // [sp+71h] [bp+31h] BYREF
size_t v63; // [sp+74h] [bp+34h]
char *v64; // [sp+78h] [bp+38h]
unsigned __int8 v65; // [sp+7Ch] [bp+3Ch] BYREF
char v66; // [sp+7Dh] [bp+3Dh] BYREF
size_t v67; // [sp+80h] [bp+40h]
char *v68; // [sp+84h] [bp+44h]
unsigned __int8 v69; // [sp+88h] [bp+48h] BYREF
char v70; // [sp+89h] [bp+49h] BYREF
size_t v71; // [sp+8Ch] [bp+4Ch]
char *v72; // [sp+90h] [bp+50h]
int v73; // [sp+94h] [bp+54h] BYREF
size_t v74; // [sp+98h] [bp+58h]
const void *v75; // [sp+9Ch] [bp+5Ch]
int v76; // [sp+A0h] [bp+60h] BYREF
size_t v77; // [sp+A4h] [bp+64h]
const void *v78; // [sp+A8h] [bp+68h]
v45 = 0;
v46 = 0;
v47 = nullptr;
std::string::__init(&v45, &unk_B6B226, 0);
v48 = 0;
v49 = 0;
v50 = nullptr;
std::string::__init(&v48, &unk_B6B226, 0);
v51 = 0;
v52 = 0;
v53 = nullptr;
std::string::__init(&v51, &unk_B6B226, 0);
v54 = 0;
v55 = 0;
v56 = nullptr;
v3 = (MusicDownloadManager *)std::string::__init(&v54, &unk_B6B226, 0);
v44 = *((char **)this + 136);
v42 = *((unsigned int **)this + 135);
while ( v42 != (unsigned int *)v44 )
{
v4 = *v42++;
v5 = (MusicDownloadManager *)MusicDownloadManager::sharedState(v3);
if ( MusicDownloadManager::isSongDownloaded(v5, v4, v6) )
{
if ( (v45 & 1) != 0 )
v7 = v46;
else
v7 = (int)(unsigned __int8)v45 >> 1;
if ( v7 )
std::string::append(&v45, ", ");
GameToolbox::intToString((GameToolbox *)&v57, v4);
if ( (v57 & 1) != 0 )
{
v8 = v60;
v9 = v59;
}
else
{
v9 = (int)v57 >> 1;
v8 = &v58;
}
std::string::append(&v45, v8, v9);
v10 = &v57;
}
else
{
if ( (v48 & 1) != 0 )
v11 = v49;
else
v11 = (int)(unsigned __int8)v48 >> 1;
if ( v11 )
std::string::append(&v48, ", ");
GameToolbox::intToString((GameToolbox *)&v61, v4);
if ( (v61 & 1) != 0 )
{
v12 = v64;
v13 = v63;
}
else
{
v13 = (int)v61 >> 1;
v12 = &v62;
}
std::string::append(&v48, v12, v13);
v10 = &v61;
}
v3 = (MusicDownloadManager *)std::string::~string((int)v10);
}
v14 = *((unsigned int **)this + 139);
v15 = *((unsigned int **)this + 138);
v43 = v14;
while ( v15 != v43 )
{
v17 = *v15++;
v16 = v17;
v18 = (MusicDownloadManager *)MusicDownloadManager::sharedState(v3);
if ( MusicDownloadManager::isSFXDownloaded(v18, v17, v19) )
{
if ( (v51 & 1) != 0 )
v20 = v52;
else
v20 = (int)(unsigned __int8)v51 >> 1;
if ( v20 )
std::string::append(&v51, ", ");
GameToolbox::intToString((GameToolbox *)&v65, v16);
if ( (v65 & 1) != 0 )
{
v21 = v68;
v22 = v67;
}
else
{
v22 = (int)v65 >> 1;
v21 = &v66;
}
std::string::append(&v51, v21, v22);
v23 = &v65;
}
else
{
if ( (v54 & 1) != 0 )
v24 = v55;
else
v24 = (int)(unsigned __int8)v54 >> 1;
if ( v24 )
std::string::append(&v54, ", ");
GameToolbox::intToString((GameToolbox *)&v69, v16);
if ( (v69 & 1) != 0 )
{
v25 = v72;
v26 = v71;
}
else
{
v26 = (int)v69 >> 1;
v25 = &v70;
}
std::string::append(&v54, v25, v26);
v23 = &v69;
}
v3 = (MusicDownloadManager *)std::string::~string((int)v23);
}
v73 = 0;
v74 = 0;
v75 = nullptr;
std::string::__init(&v73, &unk_B6B226, 0);
if ( (v45 & 1) != 0 )
v27 = v46;
else
v27 = (int)(unsigned __int8)v45 >> 1;
if ( v27 )
{
std::string::append(&v73, "Songs: ");
if ( (v45 & 1) != 0 )
{
v29 = v47;
v30 = v46;
}
else
{
v30 = (int)(unsigned __int8)v45 >> 1;
v29 = (char *)&v45 + 1;
}
std::string::append(&v73, v29, v30);
std::string::append(&v73, "\n");
}
if ( (v48 & 1) != 0 )
v28 = v49;
else
v28 = (int)(unsigned __int8)v48 >> 1;
if ( v28 )
{
std::string::append(&v73, "Missing Songs: ");
if ( (v48 & 1) != 0 )
{
v32 = v50;
v33 = v49;
}
else
{
v33 = (int)(unsigned __int8)v48 >> 1;
v32 = (char *)&v48 + 1;
}
std::string::append(&v73, v32, v33);
std::string::append(&v73, "\n");
}
if ( (v51 & 1) != 0 )
v31 = v52;
else
v31 = (int)(unsigned __int8)v51 >> 1;
if ( v31 )
{
std::string::append(&v73, "SFX: ");
if ( (v51 & 1) != 0 )
{
v35 = v53;
v36 = v52;
}
else
{
v36 = (int)(unsigned __int8)v51 >> 1;
v35 = (char *)&v51 + 1;
}
std::string::append(&v73, v35, v36);
std::string::append(&v73, "\n");
}
if ( (v54 & 1) != 0 )
v34 = v55;
else
v34 = (int)(unsigned __int8)v54 >> 1;
if ( v34 )
{
std::string::append(&v73, "Missing SFX: ");
if ( (v54 & 1) != 0 )
{
v37 = v56;
v38 = v55;
}
else
{
v38 = (int)(unsigned __int8)v54 >> 1;
v37 = (char *)&v54 + 1;
}
std::string::append(&v73, v37, v38);
std::string::append(&v73, "");
}
v76 = 0;
v77 = 0;
v78 = nullptr;
if ( (v73 & 1) != 0 )
{
std::string::__init(&v76, v75, v74);
}
else
{
v76 = v73;
v77 = v74;
v78 = v75;
}
if ( (v73 & 1) != 0 )
v39 = v74;
else
v39 = (int)(unsigned __int8)v73 >> 1;
v40 = FLAlertLayer::create(
0,
(cocos2d::CCLabelBMFont *)"Audio Assets",
(int)&v76,
(ButtonSprite *)"OK",
nullptr,
430.0,
v39 > 0x190,
0,
1.0);
std::string::~string((int)&v76);
(*(void (__fastcall **)(int *))(*v40 + 656))(v40);
std::string::~string((int)&v73);
std::string::~string((int)&v54);
std::string::~string((int)&v51);
std::string::~string((int)&v48);
return std::string::~string((int)&v45);
}