//
// GJBaseGameLayer::tryResumeAudio from 0x10029a62c to 0x10029a680 (84 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::update @ 0x10029a768
// > LevelEditorLayer::updateEditor @ 0x1003f7f6c
//
// 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:02:08 +0000
//
void __fastcall GJBaseGameLayer::tryResumeAudio(__int64 a1)
{
if ( *(int *)(a1 + 12740) <= 0 && *(_BYTE *)(a1 + 13806) == 1 )
{
GJBaseGameLayer::resumeAudio();
FMODAudioEngine::sharedEngine();
FMODAudioEngine::logLifecycleState();
*(_BYTE *)(a1 + 13806) = 0;
}
}