//
// CustomSongWidget::toggleUpdateButton from 0x10061ed90 to 0x10061edd9 (73 bytes)
//
// 0 xrefs:
//
// 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 CustomSongWidget::toggleUpdateButton(CustomSongWidget *a1, bool a2)
{
_BOOL4 v2; // ebx
CCMenuItemSpriteExtra *m_getSongInfoBtn; // rdi
void *v5; // rsi
v2 = a2;
m_getSongInfoBtn = a1->m_getSongInfoBtn;
v5 = &unk_100822622;
if ( v2 )
v5 = &unk_10082261F;
((void (__fastcall *)(CCMenuItemSpriteExtra *, void *))m_getSongInfoBtn->setColor)(m_getSongInfoBtn, v5);
((void (__fastcall *)(CCMenuItemSpriteExtra *, _BOOL4))a1->m_getSongInfoBtn->setEnabled)(a1->m_getSongInfoBtn, v2);
}