//
// sub_1001F3598 from 0x1001f3598 to 0x1001f35f4 (92 bytes)
//
// 1 xrefs:
// > SFXBrowser::init @ 0x1001f1f78
//
// 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 11:00:39 +0000
//
__int64 __fastcall sub_1001F3598(__int64 result)
{
__int64 v1; // x19
__int64 v2; // x0
int v3; // w0
int v4; // w8
if ( *(_QWORD *)(result + 712) )
{
v1 = result;
v2 = GameManager::sharedState(result);
v3 = GameManager::toggleGameVariable(v2, "0148");
*(_BYTE *)(v1 + 1111) = v3;
if ( v3 )
v4 = 40;
else
v4 = 20;
*(_DWORD *)(v1 + 1104) = v4;
*(_DWORD *)(*(_QWORD *)(v1 + 712) + 96LL) = 0;
return sub_1001F50BC(v1);
}
return result;
}