//
// SongSelectNode::updateAudioLabel from 0x1400c76e0 to 0x1400c77c2 (226 bytes)
//
// 5 xrefs:
// > SongSelectNode::init @ 0x1400c704e
// > SongSelectNode::audioNext @ 0x1400c77fb
// > SongSelectNode::audioPrevious @ 0x1400c783a
// > SongSelectNode::onSongMode @ 0x1400c78bf
// > ??> @ 0x1406c81fc
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
// Hidden C++ exception states: #wind=1
void SongSelectNode::updateAudioLabel(SongSelectNode *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->m_selectedSongID);
v2 = (const char *)v5;
if ( v5[3] > 0xFu )
v2 = (const char *)v5[0];
v3 = cocos2d::CCString::createWithFormat("%02d: %s", a1->m_selectedSongID + 1, v2);
CString = cocos2d::CCString::getCString(v3);
a1->m_audioLabel->setString(&a1->m_audioLabel->cocos2d::CCLabelProtocol, CString);
if ( (float)(200.0 / a1->m_audioLabel->getContentSize(a1->m_audioLabel)->width) <= 0.80000001 )
a1->m_audioLabel->getContentSize(a1->m_audioLabel);
((void (__fastcall *)(cocos2d::CCLabelBMFont *))a1->m_audioLabel->setScale_0)(a1->m_audioLabel);
sub_14003A830((__int64)v5);
}