//
// CustomSongWidget::toggleUpdateButton from 0x743db8 to 0x743e10 (88 bytes)
//
// 3 xrefs:
// > CustomSongWidget::onGetSongInfo @ 0x743e78
// > CustomSongWidget::updateSongInfo @ 0x744d04
// > ??> @ 0x3a3c8
//
// 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 CustomSongWidget::toggleUpdateButton(CustomSongWidget *a1, bool a2)
{
CCMenuItemSpriteExtra *m_getSongInfoBtn; // x0
_BOOL4 v4; // w19
const cocos2d::ccColor3B *v5; // x1
m_getSongInfoBtn = a1->m_getSongInfoBtn;
v4 = a2;
v5 = (const cocos2d::ccColor3B *)&off_ECD6F0;
if ( !v4 )
v5 = (const cocos2d::ccColor3B *)&unk_ECD6F8;
m_getSongInfoBtn->setColor(m_getSongInfoBtn, v5);
a1->m_getSongInfoBtn->setEnabled(a1->m_getSongInfoBtn, v4);
}