//
// SongSelectNode::updateAudioLabel from 0x1401686f0 to 0x1401687d5 (229 bytes)
//
// 6 xrefs:
// > SongSelectNode::init @ 0x14016800f
// > SongSelectNode::audioNext @ 0x14016880b
// > SongSelectNode::audioPrevious @ 0x14016884a
// > SongSelectNode::onSongMode @ 0x1401688cf
// > ??> @ 0x140917fe4
// > ??> @ 0x140917ff0
//
// 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:27:27 +0000
//
// Hidden C++ exception states: #wind=1
void __fastcall SongSelectNode::updateAudioLabel(__int64 a1)
{
const char *v2; // r8
cocos2d::CCString *v3; // rax
const char *CString; // rax
_QWORD v5[4]; // [rsp+20h] [rbp-38h] BYREF
LevelTools::getAudioTitle(v5, *(unsigned int *)(a1 + 344));
v2 = (const char *)v5;
if ( v5[3] > 0xFu )
v2 = (const char *)v5[0];
v3 = cocos2d::CCString::createWithFormat("%02d: %s", *(_DWORD *)(a1 + 344) + 1, v2);
CString = cocos2d::CCString::getCString(v3);
(**(void (__fastcall ***)(__int64, const char *))(*(_QWORD *)(a1 + 352) + 360LL))(
*(_QWORD *)(a1 + 352) + 360LL,
CString);
if ( (float)(200.0
/ *(float *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 352) + 320LL))(*(_QWORD *)(a1 + 352))) <= 0.80000001 )
(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 352) + 320LL))(*(_QWORD *)(a1 + 352));
(*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 352) + 160LL))(*(_QWORD *)(a1 + 352));
sub_14003D310((__int64)v5);
}