//
// FMODAudioEngine::start from 0x14005dfc0 to 0x14005e025 (101 bytes)
//
// 2 xrefs:
// > AppDelegate::applicationWillEnterForeground @ 0x140098890
// > ??> @ 0x140910904
//
// This function is hookable on this platform (idp: pc, 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:25:43 +0000
//
void __fastcall FMODAudioEngine::start(_BYTE *a1)
{
int v2; // eax
__int64 v3; // rcx
if ( a1[624] )
{
v2 = FMOD::System::mixerResume(*((_QWORD *)a1 + 70));
*((_DWORD *)a1 + 152) = v2;
if ( !v2 )
{
v3 = *((_QWORD *)a1 + 70);
a1[624] = 0;
FMOD::System::update(v3);
FMODAudioEngine::resumeSuspendedAudio(a1);
(*(void (__fastcall **)(_BYTE *))(*(_QWORD *)a1 + 32LL))(a1);
cocos2d::CCNode::resumeSchedulerAndActions((cocos2d::CCNode *)a1);
}
}
}