//
// FMODAudioEngine::start from 0x3ece78 to 0x3ecede (102 bytes)
//
// 1 xrefs:
// > FMODAudioEngine::resumeAudio @ 0x3ecee8
//
// 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:47:10 +0000
//
int __fastcall FMODAudioEngine::start(FMODAudioEngine *this)
{
int v2; // r5
PlatformToolbox *v3; // r0
v2 = *((unsigned __int8 *)this + 404);
if ( !*((_BYTE *)this + 404) )
return 1;
*((_DWORD *)this + 97) = FMOD::System::mixerResume(*((FMOD::System **)this + 91));
ERRCHECK_fn();
if ( *((_DWORD *)this + 97) )
return 0;
*((_BYTE *)this + 404) = 0;
v3 = (PlatformToolbox *)FMOD::System::update(*((FMOD::System **)this + 91));
if ( PlatformToolbox::shouldResumeSound(v3) )
FMODAudioEngine::resumeSuspendedAudio((FMOD::ChannelControl **)this);
(*(void (__fastcall **)(FMODAudioEngine *, _DWORD))(*(_DWORD *)this + 20))(this, 0);
cocos2d::CCNode::resumeSchedulerAndActions(this);
FMODAudioEngine::logLifecycleState(this, "start out");
return v2;
}