//
// SongSelectNode::updateWidgetVisibility from 0x57b752 to 0x57b7ac (90 bytes)
//
// 2 xrefs:
// > SongSelectNode::onSongMode @ 0x57bb80
// > SetupSongTriggerPopup::pageChanged @ 0x6583e0
//
// 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:52:49 +0000
//
int __fastcall SongSelectNode::updateWidgetVisibility(SongSelectNode *this)
{
int v2; // r1
int v3; // r5
int v4; // r0
_BOOL4 v5; // r5
v2 = *((unsigned __int8 *)this + 280);
if ( *((_BYTE *)this + 280) )
v3 = *((_DWORD *)this + 69);
else
v3 = *((unsigned __int8 *)this + 280);
v4 = *((_DWORD *)this + 79);
v5 = v3 != 0;
if ( v2 )
v2 = v5;
(*(void (__fastcall **)(int, int))(*(_DWORD *)v4 + 172))(v4, v2);
(*(void (__fastcall **)(_DWORD))(**((_DWORD **)this + 77) + 172))(*((_DWORD *)this + 77));
return (*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 78) + 172))(*((_DWORD *)this + 78));
}