//
// SongSelectNode::updateAudioLabel from 0x1001476f8 to 0x1001477dc (228 bytes)
//
// 4 xrefs:
// > SongSelectNode::init @ 0x10014714c
// > SongSelectNode::audioPrevious @ 0x100147828
// > SongSelectNode::audioNext @ 0x100147864
// > SongSelectNode::onSongMode @ 0x100147940
//
// 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)
{
void **v2; // x9
cocos2d::CCString *v3; // x0
const char *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->m_selectedSongID);
if ( v8 >= 0 )
v2 = __p;
else
v2 = (void **)__p[0];
v3 = (cocos2d::CCString *)sub_100268F4C("%02d: %s", a1->m_selectedSongID + 1, (const char *)v2);
CString = cocos2d::CCString::getCString(v3);
((void (__fastcall *)(cocos2d::CCLabelBMFont *, const char *))a1->m_audioLabel->setString)(a1->m_audioLabel, CString);
v5 = (float *)((__int64 (__fastcall *)(cocos2d::CCLabelBMFont *))a1->m_audioLabel->getContentSize)(a1->m_audioLabel);
v6.n128_u32[0] = 1061997773;
if ( (float)(200.0 / *v5) < 0.8 )
v6.n128_f32[0] = 200.0
/ *(float *)((__int64 (__fastcall *)(cocos2d::CCLabelBMFont *))a1->m_audioLabel->getContentSize)(a1->m_audioLabel);
((void (__fastcall *)(cocos2d::CCLabelBMFont *, __n128))a1->m_audioLabel->setScale)(a1->m_audioLabel, v6);
if ( v8 < 0 )
operator delete(__p[0]);
}