{"type": "func", "start": 5369094080, "end": 5369094181, "name": "FMODAudioEngine::start", "pseudocode": "// \n// FMODAudioEngine::start from 0x14005dfc0 to 0x14005e025 (101 bytes)\n// \n// 2 xrefs:\n// > AppDelegate::applicationWillEnterForeground @ 0x140098890\n// > <???> @ 0x140910904\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:25:43 +0000\n// \n\nvoid __fastcall FMODAudioEngine::start(_BYTE *a1)\n{\n  int v2; // eax\n  __int64 v3; // rcx\n\n  if ( a1[624] )\n  {\n    v2 = FMOD::System::mixerResume(*((_QWORD *)a1 + 70));\n    *((_DWORD *)a1 + 152) = v2;\n    if ( !v2 )\n    {\n      v3 = *((_QWORD *)a1 + 70);\n      a1[624] = 0;\n      FMOD::System::update(v3);\n      FMODAudioEngine::resumeSuspendedAudio(a1);\n      (*(void (__fastcall **)(_BYTE *))(*(_QWORD *)a1 + 32LL))(a1);\n      cocos2d::CCNode::resumeSchedulerAndActions((cocos2d::CCNode *)a1);\n    }\n  }\n}", "assembly": "; \n; FMODAudioEngine::start from 0x14005dfc0 to 0x14005e025 (101 bytes)\n; \n; 2 xrefs:\n; > AppDelegate::applicationWillEnterForeground @ 0x140098890\n; > <???> @ 0x140910904\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:25:43 +0000\n; \npush    rbx                                                            ; +0x0, 0x14005dfc0\nsub     rsp, 20h                                                       ; +0x2, 0x14005dfc2\ncmp     byte ptr [rcx+270h], 0                                         ; +0x6, 0x14005dfc6\nmov     rbx, rcx                                                       ; +0xd, 0x14005dfcd\njz      short loc_14005E01F                                            ; +0x10, 0x14005dfd0\nmov     rcx, [rcx+230h]                                                ; +0x12, 0x14005dfd2\ncall    cs:?mixerResume@System@FMOD@@QEAA?AW4FMOD_RESULT@@XZ; FMOD::System::mixerResume(void) ; +0x19, 0x14005dfd9\nmov     [rbx+260h], eax                                                ; +0x1f, 0x14005dfdf\ntest    eax, eax                                                       ; +0x25, 0x14005dfe5\njnz     short loc_14005E01F                                            ; +0x27, 0x14005dfe7\nmov     rcx, [rbx+230h]                                                ; +0x29, 0x14005dfe9\nmov     [rbx+270h], al                                                 ; +0x30, 0x14005dff0\ncall    cs:?update@System@FMOD@@QEAA?AW4FMOD_RESULT@@XZ; FMOD::System::update(void) ; +0x36, 0x14005dff6\nmov     rcx, rbx                                                       ; +0x3c, 0x14005dffc\ncall    FMODAudioEngine__resumeSuspendedAudio                          ; +0x3f, 0x14005dfff\nmov     rax, [rbx]                                                     ; +0x44, 0x14005e004\nxorps   xmm1, xmm1                                                     ; +0x47, 0x14005e007\nmov     rcx, rbx                                                       ; +0x4a, 0x14005e00a\ncall    qword ptr [rax+20h]                                            ; +0x4d, 0x14005e00d\nmov     rcx, rbx                                                       ; +0x50, 0x14005e010\nadd     rsp, 20h                                                       ; +0x53, 0x14005e013\npop     rbx                                                            ; +0x57, 0x14005e017\njmp     cs:?resumeSchedulerAndActions@CCNode@cocos2d@@QEAAXXZ; cocos2d::CCNode::resumeSchedulerAndActions(void) ; +0x58, 0x14005e018\nadd     rsp, 20h                                                       ; +0x5f, 0x14005e01f\npop     rbx                                                            ; +0x63, 0x14005e023\nretn                                                                   ; +0x64, 0x14005e024", "xrefs": ["AppDelegate::applicationWillEnterForeground @ 0x140098890", "<???> @ 0x140910904"], "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"}