//
// CustomSongWidget::toggleUpdateButton from 0x8682c4 to 0x86831c (88 bytes)
//
// 3 xrefs:
// > CustomSongWidget::onGetSongInfo @ 0x868384
// > CustomSongWidget::updateSongInfo @ 0x86a31c
// > ??> @ 0x54b98
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 12:55:41 +0000
//
__int64 __fastcall CustomSongWidget::toggleUpdateButton(CustomSongWidget *this, unsigned __int8 a2)
{
unsigned int v3; // w19
__int64 v4; // x0
void *v5; // x1
v3 = a2;
v4 = *((_QWORD *)this + 51);
v5 = &unk_114B360;
if ( !v3 )
v5 = &unk_114B368;
(*(void (__fastcall **)(__int64, void *))(*(_QWORD *)v4 + 960LL))(v4, v5);
return (*(__int64 (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 51) + 1056LL))(*((_QWORD *)this + 51), v3);
}