//
// SongSelectNode::updateAudioLabel from 0x1001c5ffc to 0x1001c60e0 (228 bytes)
//
// 4 xrefs:
// > SongSelectNode::init @ 0x1001c5a4c
// > SongSelectNode::audioPrevious @ 0x1001c612c
// > SongSelectNode::audioNext @ 0x1001c6168
// > SongSelectNode::onSongMode @ 0x1001c6244
//
// 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:00:17 +0000
//
void __fastcall SongSelectNode::updateAudioLabel(__int64 a1)
{
void **v2; // x9
__int64 v3; // x0
__int64 CString; // x0
float *v5; // x0
__n128 v6; // q0
void *__p[2]; // [xsp+18h] [xbp-28h] BYREF
char v8; // [xsp+2Fh] [xbp-11h]
LevelTools::getAudioTitle(__p, *(unsigned int *)(a1 + 344));
if ( v8 >= 0 )
v2 = __p;
else
v2 = (void **)__p[0];
v3 = sub_1003065B0("%02d: %s", *(_DWORD *)(a1 + 344) + 1, (const char *)v2);
CString = cocos2d::CCString::getCString(v3);
(*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 352) + 928LL))(*(_QWORD *)(a1 + 352), CString);
v5 = (float *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 352) + 328LL))(*(_QWORD *)(a1 + 352));
v6.n128_u32[0] = 1061997773;
if ( (float)(200.0 / *v5) < 0.8 )
v6.n128_f32[0] = 200.0
/ *(float *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 352) + 328LL))(*(_QWORD *)(a1 + 352));
(*(void (__fastcall **)(_QWORD, __n128))(**(_QWORD **)(a1 + 352) + 160LL))(*(_QWORD *)(a1 + 352), v6);
if ( v8 < 0 )
operator delete(__p[0]);
}