//
// CustomSongWidget::toggleUpdateButton from 0x4e2578 to 0x4e25aa (50 bytes)
//
// 2 xrefs:
// > CustomSongWidget::onGetSongInfo @ 0x4e25f2
// > CustomSongWidget::updateSongInfo @ 0x4e3a64
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:51:02 +0000
//
int __fastcall CustomSongWidget::toggleUpdateButton(CustomSongWidget *this, int a2)
{
int v3; // r0
void *v5; // r1
v3 = *((_DWORD *)this + 77);
if ( a2 )
v5 = &unk_BEC5F0;
else
v5 = &unk_BEC5F3;
(*(void (__fastcall **)(int, void *))(*(_DWORD *)v3 + 480))(v3, v5);
return (*(int (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 77) + 528))(*((_DWORD *)this + 77), a2);
}