//
// GJBaseGameLayer::tryResumeAudio from 0x595f58 to 0x595f84 (44 bytes)
//
// 2 xrefs:
// > LevelEditorLayer::updateEditor @ 0x47319e
// > GJBaseGameLayer::update @ 0x5bd76a
//
// 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:53:09 +0000
//
void __fastcall GJBaseGameLayer::tryResumeAudio(GJBaseGameLayer *this)
{
FMODAudioEngine *v2; // r0
FMODAudioEngine *v3; // r0
if ( *((int *)this + 2733) <= 0 )
{
if ( *((_BYTE *)this + 11570) )
{
v2 = (FMODAudioEngine *)GJBaseGameLayer::resumeAudio(this);
v3 = (FMODAudioEngine *)FMODAudioEngine::sharedEngine(v2);
FMODAudioEngine::logLifecycleState(v3, "tryResumeAudio");
*((_BYTE *)this + 11570) = 0;
}
}
}