//
// EditorSoundBrowserLayer::updateFooterButtonVisibility from 0xcc85b4 to 0xcc8610 (92 bytes)
//
// 2 xrefs:
// > EditorSoundBrowserLayer::setMode @ 0xcc95f0
// > ??> @ 0x6bb30
//
// 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 13:06:22 +0000
//
__int64 __fastcall EditorSoundBrowserLayer::updateFooterButtonVisibility(__int64 this)
{
__int64 v1; // x1
_BOOL4 v2; // w20
__int64 v3; // x19
v1 = *(_QWORD *)(this + 1088);
v2 = *(_DWORD *)(this + 1048) == 1;
if ( v1 )
{
v3 = this;
(*(void (__fastcall **)(_QWORD, bool))(*(_QWORD *)v1 + 344LL))(
*(_QWORD *)(this + 1088),
*(_DWORD *)(this + 1048) == 1);
return (*(__int64 (__fastcall **)(_QWORD, _BOOL4))(**(_QWORD **)(v3 + 1088) + 1056LL))(*(_QWORD *)(v3 + 1088), v2);
}
return this;
}