//
// EditorSoundBrowserLayer::updateFooterButtonVisibility from 0x781be0 to 0x781c12 (50 bytes)
//
// 1 xrefs:
// > EditorSoundBrowserLayer::setMode @ 0x782622
//
// 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:59:29 +0000
//
int __fastcall EditorSoundBrowserLayer::updateFooterButtonVisibility(EditorSoundBrowserLayer *this)
{
int v2; // r4
int result; // r0
_BOOL4 v4; // r4
v2 = *((_DWORD *)this + 182);
result = *((_DWORD *)this + 188);
v4 = v2 == 1;
if ( result )
{
(*(void (__fastcall **)(int, _BOOL4))(*(_DWORD *)result + 172))(result, v4);
return (*(int (__fastcall **)(_DWORD, _BOOL4))(**((_DWORD **)this + 188) + 528))(*((_DWORD *)this + 188), v4);
}
return result;
}