//
// SongSelectNode::updateAudioLabel from 0x1002193c0 to 0x100219487 (199 bytes)
//
// 5 xrefs:
// > SongSelectNode::init @ 0x100218dfb
// > SongSelectNode::audioPrevious @ 0x1002194e4
// > SongSelectNode::audioNext @ 0x100219526
// > SongSelectNode::selectSong @ 0x1002195f4
// > SongSelectNode::onSongMode @ 0x10021963f
//
// 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
//
void __fastcall SongSelectNode::updateAudioLabel(SongSelectNode *a1)
{
cocos2d::CCString *v2; // rax
const char *CString; // rax
char v4; // [rsp+0h] [rbp-20h] BYREF
void *__p; // [rsp+10h] [rbp-10h]
LevelTools::getAudioTitle(&v4, (unsigned int)a1->m_selectedSongID);
v2 = (cocos2d::CCString *)sub_1007AB580("%02d: %s", v4);
CString = cocos2d::CCString::getCString(v2);
((void (__fastcall *)(cocos2d::CCLabelBMFont *, const char *))a1->m_audioLabel->setString)(a1->m_audioLabel, CString);
if ( (float)(200.0
/ *(float *)((__int64 (__fastcall *)(cocos2d::CCLabelBMFont *))a1->m_audioLabel->getContentSize)(a1->m_audioLabel)) < 0.80000001 )
((__int64 (__fastcall *)(cocos2d::CCLabelBMFont *))a1->m_audioLabel->getContentSize)(a1->m_audioLabel);
((void (__fastcall *)(cocos2d::CCLabelBMFont *))a1->m_audioLabel->setScale)(a1->m_audioLabel);
if ( (v4 & 1) != 0 )
operator delete(__p);
}