//
// FMODAudioEngine::start from 0x1001b55a4 to 0x1001b5628 (132 bytes)
//
// 2 xrefs:
// > FMODAudioEngine::resumeAudio @ 0x1001b55a0
// > sub_1001F9AC0 @ 0x1001f9af0
//
// 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:09 +0000
//
__int64 __fastcall FMODAudioEngine::start(__int64 a1)
{
int v2; // w0
__int64 v4; // x0
if ( *(_BYTE *)(a1 + 552) != 1 )
return 1;
v2 = FMOD::System::mixerResume(*(_QWORD *)(a1 + 488));
*(_DWORD *)(a1 + 536) = v2;
if ( v2 )
return 0;
*(_BYTE *)(a1 + 552) = 0;
v4 = FMOD::System::update(*(_QWORD *)(a1 + 488));
if ( (unsigned int)sub_1001F9254(v4) )
sub_1001B5628(a1);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)a1 + 40LL))(a1, 0.0);
cocos2d::CCNode::resumeSchedulerAndActions(a1);
return 1;
}