{"type": "func", "start": 4296348160, "end": 4296348245, "name": "GJBaseGameLayer::tryResumeAudio", "pseudocode": "// \n// GJBaseGameLayer::tryResumeAudio from 0x100151200 to 0x100151255 (85 bytes)\n// \n// 1 xrefs:\n// > LevelEditorLayer::updateEditor @ 0x1000dd5ce\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall GJBaseGameLayer::tryResumeAudio(GJBaseGameLayer *a1)\n{\n  FMODAudioEngine *v1; // rax\n  FMODAudioEngine *v2; // rax\n  FMODAudioEngine *v3; // rax\n\n  if ( a1->m_resumeTimer <= 0 && a1->m_audioPaused )\n  {\n    v1 = FMODAudioEngine::sharedEngine();\n    FMODAudioEngine::resumeAllAudio(v1);\n    v2 = FMODAudioEngine::sharedEngine();\n    FMODAudioEngine::resumeAllMusic(v2);\n    v3 = FMODAudioEngine::sharedEngine();\n    FMOD::System::update(v3->m_system);\n    a1->m_audioPaused = 0;\n  }\n}", "assembly": "; \n; GJBaseGameLayer::tryResumeAudio from 0x100151200 to 0x100151255 (85 bytes)\n; \n; 1 xrefs:\n; > LevelEditorLayer::updateEditor @ 0x1000dd5ce\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\ncmp     dword ptr [rdi+310Ch], 0                                       ; +0x0, 0x100151200\njle     short loc_10015120A                                            ; +0x7, 0x100151207\nretn                                                                   ; +0x9, 0x100151209\ncmp     byte ptr [rdi+3536h], 1                                        ; +0xa, 0x10015120a\njnz     short locret_100151209                                         ; +0x11, 0x100151211\npush    rbp                                                            ; +0x13, 0x100151213\nmov     rbp, rsp                                                       ; +0x14, 0x100151214\npush    rbx                                                            ; +0x17, 0x100151217\npush    rax                                                            ; +0x18, 0x100151218\nmov     rbx, rdi                                                       ; +0x19, 0x100151219\ncall    FMODAudioEngine__sharedEngine                                  ; +0x1c, 0x10015121c\nmov     rdi, rax                                                       ; +0x21, 0x100151221\ncall    FMODAudioEngine__resumeAllAudio                                ; +0x24, 0x100151224\ncall    FMODAudioEngine__sharedEngine                                  ; +0x29, 0x100151229\nmov     rdi, rax                                                       ; +0x2e, 0x10015122e\ncall    FMODAudioEngine__resumeAllMusic                                ; +0x31, 0x100151231\ncall    FMODAudioEngine__sharedEngine                                  ; +0x36, 0x100151236\nmov     rdi, [rax+1E8h]; this                                          ; +0x3b, 0x10015123b\ncall    __ZN4FMOD6System6updateEv; FMOD::System::update(void)          ; +0x42, 0x100151242\nmov     byte ptr [rbx+3536h], 0                                        ; +0x47, 0x100151247\nadd     rsp, 8                                                         ; +0x4e, 0x10015124e\npop     rbx                                                            ; +0x52, 0x100151252\npop     rbp                                                            ; +0x53, 0x100151253\nretn                                                                   ; +0x54, 0x100151254", "xrefs": ["LevelEditorLayer::updateEditor @ 0x1000dd5ce"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}