// // GJBaseGameLayer::resumeAudio from 0x140237600 to 0x140237704 (260 bytes) // // 4 xrefs: // > EditorUI::onPlaytest @ 0x1401123cd // > GJBaseGameLayer::update @ 0x140237917 // > LevelEditorLayer::updateEditor @ 0x1402d8b1e // > @ 0x1406ce124 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // // Hidden C++ exception states: #wind=3 void GJBaseGameLayer::resumeAudio(GJBaseGameLayer *a1) { FMODAudioEngine *v1; // rbx __int64 v2; // rcx FMODAudioEngine *v3; // [rsp+30h] [rbp+8h] FMODAudioEngine *v4; // [rsp+30h] [rbp+8h] FMODAudioEngine *v5; // [rsp+30h] [rbp+8h] v1 = (FMODAudioEngine *)qword_1406C2E88; if ( !qword_1406C2E88 ) { v3 = (FMODAudioEngine *)operator new(0x888u); qword_1406C2E88 = (__int64)FMODAudioEngine::FMODAudioEngine(v3); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2E88 + 72LL))(qword_1406C2E88); v1 = (FMODAudioEngine *)qword_1406C2E88; } if ( v1->m_allAudioPaused ) { v1->m_allAudioPaused = 0; FMOD::ChannelControl::setPaused(v1->m_backgroundMusicChannel, 0); FMOD::ChannelControl::setPaused(v1->m_globalChannel, 0); v1 = (FMODAudioEngine *)qword_1406C2E88; } if ( !v1 ) { v4 = (FMODAudioEngine *)operator new(0x888u); qword_1406C2E88 = (__int64)FMODAudioEngine::FMODAudioEngine(v4); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2E88 + 72LL))(qword_1406C2E88); v1 = (FMODAudioEngine *)qword_1406C2E88; } FMODAudioEngine::resumeAllMusic(v1); v2 = qword_1406C2E88; if ( !qword_1406C2E88 ) { v5 = (FMODAudioEngine *)operator new(0x888u); qword_1406C2E88 = (__int64)FMODAudioEngine::FMODAudioEngine(v5); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2E88 + 72LL))(qword_1406C2E88); v2 = qword_1406C2E88; } FMOD::System::update(*(FMOD::System **)(v2 + 560)); }