//
// SongSelectNode::updateAudioLabel from 0x460600 to 0x4606b2 (178 bytes)
//
// 3 xrefs:
// > SongSelectNode::selectSong @ 0x4606da
// > SongSelectNode::onSongMode @ 0x46077c
// > SongSelectNode::init @ 0x460a0a
//
// 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 SongSelectNode::updateAudioLabel(SongSelectNode *a1)
{
cocos2d::CCString *v2; // r0
const unsigned __int8 *CString; // r0
float v4; // s15
int v5; // [sp+0h] [bp-8h] BYREF
LevelTools::getAudioTitle((LevelTools *)&v5, a1->m_selectedSongID);
v2 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"%02d: %s",
(const char *)(a1->m_selectedSongID + 1),
v5);
CString = (const unsigned __int8 *)cocos2d::CCString::getCString(v2);
a1->m_audioLabel->setString(a1->m_audioLabel, CString);
v4 = 0.8;
if ( (float)(200.0 / a1->m_audioLabel->getContentSize(a1->m_audioLabel)->width) < 0.8 )
v4 = 200.0 / a1->m_audioLabel->getContentSize(a1->m_audioLabel)->width;
((void (__fastcall *)(cocos2d::CCLabelBMFont *, _DWORD))a1->m_audioLabel->setScale)(a1->m_audioLabel, LODWORD(v4));
sub_774008(&v5);
}