//
// SongSelectNode::updateAudioLabel from 0x97f8a8 to 0x97f9d4 (300 bytes)
//
// 4 xrefs:
// > SongSelectNode::selectSong @ 0x97f9fc
// > SongSelectNode::onSongMode @ 0x97fc30
// > SongSelectNode::init @ 0x980468
// > ??> @ 0xd76f8
//
// 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 12:57:50 +0000
//
__int64 __fastcall SongSelectNode::updateAudioLabel(SongSelectNode *this)
{
char *v2; // x2
cocos2d::CCString *v3; // x0
__int64 CString; // x0
float *v5; // x0
long double v6; // q0
__int64 v8[2]; // [xsp+30h] [xbp+30h] BYREF
void *v9; // [xsp+40h] [xbp+40h]
LevelTools::getAudioTitle((LevelTools *)*((unsigned int *)this + 86), v8);
v2 = (char *)v8 + 1;
if ( (v8[0] & 1) != 0 )
v2 = (char *)v9;
v3 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"%02d: %s",
(const char *)(unsigned int)(*((_DWORD *)this + 86) + 1),
v2);
CString = cocos2d::CCString::getCString(v3);
(*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 44) + 928LL))(*((_QWORD *)this + 44), CString);
v5 = (float *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 44) + 328LL))(*((_QWORD *)this + 44));
LODWORD(v6) = 1061997773;
if ( (float)(200.0 / *v5) < 0.8 )
*(float *)&v6 = 200.0
/ *(float *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 44) + 328LL))(*((_QWORD *)this + 44));
(*(void (__fastcall **)(_QWORD, long double))(**((_QWORD **)this + 44) + 160LL))(*((_QWORD *)this + 44), v6);
if ( (v8[0] & 1) != 0 )
operator delete(v9);
return _stack_chk_guard;
}