{"type": "func", "start": 4296208672, "end": 4296208757, "name": "GJBaseGameLayer::tryResumeAudio", "pseudocode": "// \n// GJBaseGameLayer::tryResumeAudio from 0x10012f120 to 0x10012f175 (85 bytes)\n// \n// 1 xrefs:\n// > LevelEditorLayer::updateEditor @ 0x1000ac621\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:24:46 +0000\n// \n\n__int64 __fastcall GJBaseGameLayer::tryResumeAudio(__int64 a1, double a2)\n{\n  __int64 v2; // rax\n  double v3; // xmm0_8\n  __int64 v4; // rax\n  double v5; // xmm0_8\n  __int64 v6; // rax\n  __int64 result; // rax\n\n  if ( *(int *)(a1 + 12740) <= 0 && *(_BYTE *)(a1 + 13806) == 1 )\n  {\n    v2 = FMODAudioEngine::sharedEngine(a2);\n    v3 = FMODAudioEngine::resumeAllAudio(v2);\n    v4 = FMODAudioEngine::sharedEngine(v3);\n    v5 = FMODAudioEngine::resumeAllMusic(v4);\n    v6 = FMODAudioEngine::sharedEngine(v5);\n    result = FMOD::System::update(*(FMOD::System **)(v6 + 488));\n    *(_BYTE *)(a1 + 13806) = 0;\n  }\n  return result;\n}", "assembly": "; \n; GJBaseGameLayer::tryResumeAudio from 0x10012f120 to 0x10012f175 (85 bytes)\n; \n; 1 xrefs:\n; > LevelEditorLayer::updateEditor @ 0x1000ac621\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:24:46 +0000\n; \ncmp     dword ptr [rdi+31C4h], 0                                       ; +0x0, 0x10012f120\njle     short loc_10012F12A                                            ; +0x7, 0x10012f127\nretn                                                                   ; +0x9, 0x10012f129\ncmp     byte ptr [rdi+35EEh], 1                                        ; +0xa, 0x10012f12a\njnz     short locret_10012F129                                         ; +0x11, 0x10012f131\npush    rbp                                                            ; +0x13, 0x10012f133\nmov     rbp, rsp                                                       ; +0x14, 0x10012f134\npush    rbx                                                            ; +0x17, 0x10012f137\npush    rax                                                            ; +0x18, 0x10012f138\nmov     rbx, rdi                                                       ; +0x19, 0x10012f139\ncall    FMODAudioEngine__sharedEngine                                  ; +0x1c, 0x10012f13c\nmov     rdi, rax                                                       ; +0x21, 0x10012f141\ncall    FMODAudioEngine__resumeAllAudio                                ; +0x24, 0x10012f144\ncall    FMODAudioEngine__sharedEngine                                  ; +0x29, 0x10012f149\nmov     rdi, rax                                                       ; +0x2e, 0x10012f14e\ncall    FMODAudioEngine__resumeAllMusic                                ; +0x31, 0x10012f151\ncall    FMODAudioEngine__sharedEngine                                  ; +0x36, 0x10012f156\nmov     rdi, [rax+1E8h]; this                                          ; +0x3b, 0x10012f15b\ncall    __ZN4FMOD6System6updateEv; FMOD::System::update(void)          ; +0x42, 0x10012f162\nmov     byte ptr [rbx+35EEh], 0                                        ; +0x47, 0x10012f167\nadd     rsp, 8                                                         ; +0x4e, 0x10012f16e\npop     rbx                                                            ; +0x52, 0x10012f172\npop     rbp                                                            ; +0x53, 0x10012f173\nretn                                                                   ; +0x54, 0x10012f174", "xrefs": ["LevelEditorLayer::updateEditor @ 0x1000ac621"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}