{"type": "func", "start": 4296247916, "end": 4296248044, "name": "FMODAudioEngine::start", "pseudocode": "// \n// FMODAudioEngine::start from 0x100138a6c to 0x100138aec (128 bytes)\n// \n// 3 xrefs:\n// > FMODAudioEngine::resumeAudio @ 0x100138a68\n// > sub_10016BE98 @ 0x10016bebc\n// > sub_10016BEF4 @ 0x10016bf08\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::start(FMODAudioEngine *a1)\n{\n  AppDelegate *v2; // x0\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      v2 = AppDelegate::get();\n      AppDelegate::resumeSound(v2);\n    }\n    ((void (__fastcall *)(FMODAudioEngine *, float))a1->update)(a1, 0.0);\n    cocos2d::CCNode::resumeSchedulerAndActions(a1);\n    a1->m_stopped = 0;\n  }\n}", "assembly": "; \n; FMODAudioEngine::start from 0x100138a6c to 0x100138aec (128 bytes)\n; \n; 3 xrefs:\n; > FMODAudioEngine::resumeAudio @ 0x100138a68\n; > sub_10016BE98 @ 0x10016bebc\n; > sub_10016BEF4 @ 0x10016bf08\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\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x100138a6c\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100138a70\nADD             X29, SP, #0x10                                         ; +0x8, 0x100138a74\nLDRB            W8, [X0,#0x220]                                        ; +0xc, 0x100138a78\nCMP             W8, #1                                                 ; +0x10, 0x100138a7c\nB.NE            loc_100138AD8                                          ; +0x14, 0x100138a80\nMOV             X19, X0                                                ; +0x18, 0x100138a84\nLDR             X0, [X0,#0x1E8]                                        ; +0x1c, 0x100138a88\nBL              FMOD__System__mixerResume                              ; +0x20, 0x100138a8c\nSTR             W0, [X19,#0x210]                                       ; +0x24, 0x100138a90\nCMP             W0, #0                                                 ; +0x28, 0x100138a94\nCSET            W20, EQ                                                ; +0x2c, 0x100138a98\nLDR             X0, [X19,#0x1E8]                                       ; +0x30, 0x100138a9c\nBL              FMOD__System__update                                   ; +0x34, 0x100138aa0\nBL              PlatformToolbox__shouldResumeSound                     ; +0x38, 0x100138aa4\nCBZ             W0, loc_100138AB4                                      ; +0x3c, 0x100138aa8\nBL              AppDelegate__get                                       ; +0x40, 0x100138aac\nBL              AppDelegate__resumeSound                               ; +0x44, 0x100138ab0\nLDR             X8, [X19]                                              ; +0x48, 0x100138ab4\nLDR             X8, [X8,#0x28]                                         ; +0x4c, 0x100138ab8\nFMOV            S0, WZR                                                ; +0x50, 0x100138abc\nMOV             X0, X19                                                ; +0x54, 0x100138ac0\nBLR             X8                                                     ; +0x58, 0x100138ac4\nMOV             X0, X19                                                ; +0x5c, 0x100138ac8\nBL              cocos2d__CCNode__resumeSchedulerAndActions             ; +0x60, 0x100138acc\nSTRB            WZR, [X19,#0x220]                                      ; +0x64, 0x100138ad0\nB               loc_100138ADC                                          ; +0x68, 0x100138ad4\nMOV             W20, #1                                                ; +0x6c, 0x100138ad8\nMOV             X0, X20                                                ; +0x70, 0x100138adc\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x74, 0x100138ae0\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x78, 0x100138ae4\nRET                                                                    ; +0x7c, 0x100138ae8", "xrefs": ["FMODAudioEngine::resumeAudio @ 0x100138a68", "sub_10016BE98 @ 0x10016bebc", "sub_10016BEF4 @ 0x10016bf08"], "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"}