{"type": "func", "start": 4299021792, "end": 4299021896, "name": "FMODAudioEngine::resumeAudio", "pseudocode": "// \n// FMODAudioEngine::resumeAudio from 0x1003ddde0 to 0x1003dde48 (104 bytes)\n// \n// 2 xrefs:\n// > GameManager::resumeAudio @ 0x1003802cc\n// > AppDelegate::applicationWillEnterForeground @ 0x10065c4f8\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 FMODAudioEngine::resumeAudio(FMODAudioEngine *a1)\n{\n  AppDelegate *v1; // rax\n\n  if ( a1->m_stopped )\n  {\n    a1->m_lastResult = FMOD::System::mixerResume(a1->m_system);\n    FMOD::System::update(a1->m_system);\n    if ( PlatformToolbox::shouldResumeSound() )\n    {\n      v1 = AppDelegate::get();\n      AppDelegate::resumeSound(v1);\n    }\n    ((void (__fastcall *)(FMODAudioEngine *, double))a1->update)(a1, 0.0);\n    cocos2d::CCNode::resumeSchedulerAndActions(a1);\n    a1->m_stopped = 0;\n  }\n}", "assembly": "; \n; FMODAudioEngine::resumeAudio from 0x1003ddde0 to 0x1003dde48 (104 bytes)\n; \n; 2 xrefs:\n; > GameManager::resumeAudio @ 0x1003802cc\n; > AppDelegate::applicationWillEnterForeground @ 0x10065c4f8\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     byte ptr [rdi+220h], 1                                         ; +0x0, 0x1003ddde0\njnz     short locret_1003DDE47                                         ; +0x7, 0x1003ddde7\npush    rbp                                                            ; +0x9, 0x1003ddde9\nmov     rbp, rsp                                                       ; +0xa, 0x1003dddea\npush    rbx                                                            ; +0xd, 0x1003ddded\npush    rax                                                            ; +0xe, 0x1003dddee\nmov     rbx, rdi                                                       ; +0xf, 0x1003dddef\nmov     rdi, [rdi+1E8h]; this                                          ; +0x12, 0x1003dddf2\ncall    __ZN4FMOD6System11mixerResumeEv; FMOD::System::mixerResume(void) ; +0x19, 0x1003dddf9\nmov     [rbx+210h], eax                                                ; +0x1e, 0x1003dddfe\nmov     rdi, [rbx+1E8h]; this                                          ; +0x24, 0x1003dde04\ncall    __ZN4FMOD6System6updateEv; FMOD::System::update(void)          ; +0x2b, 0x1003dde0b\ncall    PlatformToolbox__shouldResumeSound                             ; +0x30, 0x1003dde10\ntest    al, al                                                         ; +0x35, 0x1003dde15\njz      short loc_1003DDE26                                            ; +0x37, 0x1003dde17\ncall    AppDelegate__get                                               ; +0x39, 0x1003dde19\nmov     rdi, rax                                                       ; +0x3e, 0x1003dde1e\ncall    AppDelegate__resumeSound                                       ; +0x41, 0x1003dde21\nmov     rax, [rbx]                                                     ; +0x46, 0x1003dde26\nxorps   xmm0, xmm0                                                     ; +0x49, 0x1003dde29\nmov     rdi, rbx                                                       ; +0x4c, 0x1003dde2c\ncall    qword ptr [rax+28h]                                            ; +0x4f, 0x1003dde2f\nmov     rdi, rbx                                                       ; +0x52, 0x1003dde32\ncall    cocos2d__CCNode__resumeSchedulerAndActions                     ; +0x55, 0x1003dde35\nmov     byte ptr [rbx+220h], 0                                         ; +0x5a, 0x1003dde3a\nadd     rsp, 8                                                         ; +0x61, 0x1003dde41\npop     rbx                                                            ; +0x65, 0x1003dde45\npop     rbp                                                            ; +0x66, 0x1003dde46\nretn                                                                   ; +0x67, 0x1003dde47", "xrefs": ["GameManager::resumeAudio @ 0x1003802cc", "AppDelegate::applicationWillEnterForeground @ 0x10065c4f8"], "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"}