{"type": "func", "start": 5372118144, "end": 5372118410, "name": "GJBaseGameLayer::resumeAudio", "pseudocode": "// \n// GJBaseGameLayer::resumeAudio from 0x140340480 to 0x14034058a (266 bytes)\n// \n// 5 xrefs:\n// > GJBaseGameLayer::update @ 0x1403407a1\n// > LevelEditorLayer::updateEditor @ 0x1403f5fe2\n// > LevelEditorLayer::onResumePlaytest @ 0x1403ffea3\n// > <???> @ 0x14091fd48\n// > <???> @ 0x14091fd54\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 11:30:39 +0000\n// \n\n// Hidden C++ exception states: #wind=3\n__int64 GJBaseGameLayer::resumeAudio()\n{\n  __int64 v0; // rbx\n  __int64 v1; // rcx\n  void *v3; // [rsp+30h] [rbp+8h]\n  void *v4; // [rsp+30h] [rbp+8h]\n  void *v5; // [rsp+30h] [rbp+8h]\n\n  v0 = qword_14090BF60;\n  if ( !qword_14090BF60 )\n  {\n    v3 = operator new(0x8A8u);\n    qword_14090BF60 = FMODAudioEngine::FMODAudioEngine((__int64)v3);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BF60 + 72LL))(qword_14090BF60);\n    v0 = qword_14090BF60;\n  }\n  if ( *(_BYTE *)(v0 + 617) )\n  {\n    *(_BYTE *)(v0 + 617) = 0;\n    FMOD::ChannelControl::setPaused(*(_QWORD *)(v0 + 552), 0);\n    FMOD::ChannelControl::setPaused(*(_QWORD *)(v0 + 584), 0);\n    v0 = qword_14090BF60;\n  }\n  if ( !v0 )\n  {\n    v4 = operator new(0x8A8u);\n    qword_14090BF60 = FMODAudioEngine::FMODAudioEngine((__int64)v4);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BF60 + 72LL))(qword_14090BF60);\n    v0 = qword_14090BF60;\n  }\n  FMODAudioEngine::resumeAllMusic((_QWORD *)v0);\n  v1 = qword_14090BF60;\n  if ( !qword_14090BF60 )\n  {\n    v5 = operator new(0x8A8u);\n    qword_14090BF60 = FMODAudioEngine::FMODAudioEngine((__int64)v5);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BF60 + 72LL))(qword_14090BF60);\n    v1 = qword_14090BF60;\n  }\n  return FMOD::System::update(*(_QWORD *)(v1 + 560));\n}", "assembly": "; \n; GJBaseGameLayer::resumeAudio from 0x140340480 to 0x14034058a (266 bytes)\n; \n; 5 xrefs:\n; > GJBaseGameLayer::update @ 0x1403407a1\n; > LevelEditorLayer::updateEditor @ 0x1403f5fe2\n; > LevelEditorLayer::onResumePlaytest @ 0x1403ffea3\n; > <???> @ 0x14091fd48\n; > <???> @ 0x14091fd54\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 11:30:39 +0000\n; \nmov     [rsp+arg_0], rcx                                               ; +0x0, 0x140340480\npush    rbx                                                            ; +0x5, 0x140340485\nsub     rsp, 20h                                                       ; +0x6, 0x140340486\nmov     rbx, cs:qword_14090BF60                                        ; +0xa, 0x14034048a\ntest    rbx, rbx                                                       ; +0x11, 0x140340491\njnz     short loc_1403404C8                                            ; +0x14, 0x140340494\nmov     ecx, 8A8h; Size                                                ; +0x16, 0x140340496\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x1b, 0x14034049b\nmov     [rsp+28h+arg_0], rax                                           ; +0x20, 0x1403404a0\nmov     rcx, rax                                                       ; +0x25, 0x1403404a5\ncall    FMODAudioEngine__FMODAudioEngine                               ; +0x28, 0x1403404a8\nnop                                                                    ; +0x2d, 0x1403404ad\nmov     cs:qword_14090BF60, rax                                        ; +0x2e, 0x1403404ae\nmov     rcx, [rax]                                                     ; +0x35, 0x1403404b5\nmov     rdx, [rcx+48h]                                                 ; +0x38, 0x1403404b8\nmov     rcx, rax                                                       ; +0x3c, 0x1403404bc\ncall    rdx                                                            ; +0x3f, 0x1403404bf\nmov     rbx, cs:qword_14090BF60                                        ; +0x41, 0x1403404c1\ncmp     byte ptr [rbx+269h], 0                                         ; +0x48, 0x1403404c8\njz      short loc_1403404FD                                            ; +0x4f, 0x1403404cf\nmov     byte ptr [rbx+269h], 0                                         ; +0x51, 0x1403404d1\nxor     edx, edx                                                       ; +0x58, 0x1403404d8\nmov     rcx, [rbx+228h]                                                ; +0x5a, 0x1403404da\ncall    cs:?setPaused@ChannelControl@FMOD@@QEAA?AW4FMOD_RESULT@@_N@Z; FMOD::ChannelControl::setPaused(bool) ; +0x61, 0x1403404e1\nxor     edx, edx                                                       ; +0x67, 0x1403404e7\nmov     rcx, [rbx+248h]                                                ; +0x69, 0x1403404e9\ncall    cs:?setPaused@ChannelControl@FMOD@@QEAA?AW4FMOD_RESULT@@_N@Z; FMOD::ChannelControl::setPaused(bool) ; +0x70, 0x1403404f0\nmov     rbx, cs:qword_14090BF60                                        ; +0x76, 0x1403404f6\ntest    rbx, rbx                                                       ; +0x7d, 0x1403404fd\njnz     short loc_140340531                                            ; +0x80, 0x140340500\nmov     ecx, 8A8h; Size                                                ; +0x82, 0x140340502\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x87, 0x140340507\nmov     [rsp+28h+arg_0], rax                                           ; +0x8c, 0x14034050c\nmov     rcx, rax                                                       ; +0x91, 0x140340511\ncall    FMODAudioEngine__FMODAudioEngine                               ; +0x94, 0x140340514\nnop                                                                    ; +0x99, 0x140340519\nmov     cs:qword_14090BF60, rax                                        ; +0x9a, 0x14034051a\nmov     rdx, [rax]                                                     ; +0xa1, 0x140340521\nmov     rcx, rax                                                       ; +0xa4, 0x140340524\ncall    qword ptr [rdx+48h]                                            ; +0xa7, 0x140340527\nmov     rbx, cs:qword_14090BF60                                        ; +0xaa, 0x14034052a\nmov     rcx, rbx                                                       ; +0xb1, 0x140340531\ncall    FMODAudioEngine__resumeAllMusic                                ; +0xb4, 0x140340534\nmov     rcx, cs:qword_14090BF60                                        ; +0xb9, 0x140340539\ntest    rcx, rcx                                                       ; +0xc0, 0x140340540\njnz     short loc_140340577                                            ; +0xc3, 0x140340543\nmov     ecx, 8A8h; Size                                                ; +0xc5, 0x140340545\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xca, 0x14034054a\nmov     [rsp+28h+arg_0], rax                                           ; +0xcf, 0x14034054f\nmov     rcx, rax                                                       ; +0xd4, 0x140340554\ncall    FMODAudioEngine__FMODAudioEngine                               ; +0xd7, 0x140340557\nnop                                                                    ; +0xdc, 0x14034055c\nmov     cs:qword_14090BF60, rax                                        ; +0xdd, 0x14034055d\nmov     rcx, [rax]                                                     ; +0xe4, 0x140340564\nmov     rdx, [rcx+48h]                                                 ; +0xe7, 0x140340567\nmov     rcx, rax                                                       ; +0xeb, 0x14034056b\ncall    rdx                                                            ; +0xee, 0x14034056e\nmov     rcx, cs:qword_14090BF60                                        ; +0xf0, 0x140340570\nmov     rcx, [rcx+230h]                                                ; +0xf7, 0x140340577\nadd     rsp, 20h                                                       ; +0xfe, 0x14034057e\npop     rbx                                                            ; +0x102, 0x140340582\njmp     cs:?update@System@FMOD@@QEAA?AW4FMOD_RESULT@@XZ; FMOD::System::update(void) ; +0x103, 0x140340583", "xrefs": ["GJBaseGameLayer::update @ 0x1403407a1", "LevelEditorLayer::updateEditor @ 0x1403f5fe2", "LevelEditorLayer::onResumePlaytest @ 0x1403ffea3", "<???> @ 0x14091fd48", "<???> @ 0x14091fd54"], "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"}