{"type": "func", "start": 5944276, "end": 5944444, "name": "FMODAudioEngine::start", "pseudocode": "// \n// FMODAudioEngine::start from 0x5ab3d4 to 0x5ab47c (168 bytes)\n// \n// 2 xrefs:\n// > FMODAudioEngine::resumeAudio @ 0x5ab47c\n// > <???> @ 0x596d0\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 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    ERRCHECK_fn();\n    FMOD::System::update(a1->m_system);\n    if ( PlatformToolbox::shouldResumeSound() )\n    {\n      v2 = AppDelegate::get();\n      AppDelegate::resumeSound(v2);\n    }\n    a1->update(a1, 0.0);\n    cocos2d::CCNode::resumeSchedulerAndActions(a1);\n    a1->m_stopped = 0;\n  }\n}", "assembly": "; \n; FMODAudioEngine::start from 0x5ab3d4 to 0x5ab47c (168 bytes)\n; \n; 2 xrefs:\n; > FMODAudioEngine::resumeAudio @ 0x5ab47c\n; > <???> @ 0x596d0\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             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0x5ab3d4\nMOV             W1, #1                                                 ; +0x4, 0x5ab3d8\nMOV             X29, SP                                                ; +0x8, 0x5ab3dc\nLDRB            W2, [X0,#0x250]                                        ; +0xc, 0x5ab3e0\nSTP             X19, X20, [SP,#var_s10]                                ; +0x10, 0x5ab3e4\nCBNZ            W2, loc_5AB3FC                                         ; +0x14, 0x5ab3e8\nMOV             W0, W1                                                 ; +0x18, 0x5ab3ec\nLDP             X19, X20, [SP,#var_s10]                                ; +0x1c, 0x5ab3f0\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x20, 0x5ab3f4\nRET                                                                    ; +0x24, 0x5ab3f8\nMOV             X19, X0                                                ; +0x28, 0x5ab3fc\nLDR             X0, [X0,#0x218]; this                                  ; +0x2c, 0x5ab400\nBL              ._ZN4FMOD6System11mixerResumeEv; FMOD::System::mixerResume(void) ; +0x30, 0x5ab404\nSTR             W0, [X19,#0x240]                                       ; +0x34, 0x5ab408\nADRP            X1, #aUsersRobertLib@PAGE; \"/Users/robert/Library/CloudStorage/Drop\"... ; +0x38, 0x5ab40c\nMOV             W2, #0x1AA                                             ; +0x3c, 0x5ab410\nADD             X1, X1, #aUsersRobertLib@PAGEOFF; \"/Users/robert/Library/CloudStorage/Drop\"... ; +0x40, 0x5ab414\nBL              _Z11ERRCHECK_fn11FMOD_RESULTPKci; ERRCHECK_fn(FMOD_RESULT,char const*,int) ; +0x44, 0x5ab418\nLDR             W1, [X19,#0x240]                                       ; +0x48, 0x5ab41c\nLDR             X0, [X19,#0x218]; this                                 ; +0x4c, 0x5ab420\nCMP             W1, WZR                                                ; +0x50, 0x5ab424\nCSET            W20, EQ                                                ; +0x54, 0x5ab428\nBL              ._ZN4FMOD6System6updateEv; FMOD::System::update(void)  ; +0x58, 0x5ab42c\nBL              _ZN15PlatformToolbox17shouldResumeSoundEv; PlatformToolbox::shouldResumeSound(void) ; +0x5c, 0x5ab430\nUXTB            W0, W0; this                                           ; +0x60, 0x5ab434\nCBNZ            W0, loc_5AB470                                         ; +0x64, 0x5ab438\nLDR             X1, [X19]                                              ; +0x68, 0x5ab43c\nMOV             X0, X19                                                ; +0x6c, 0x5ab440\nFMOV            S0, WZR                                                ; +0x70, 0x5ab444\nLDR             X1, [X1,#0x28]                                         ; +0x74, 0x5ab448\nBLR             X1                                                     ; +0x78, 0x5ab44c\nMOV             X0, X19; this                                          ; +0x7c, 0x5ab450\nBL              _ZN7cocos2d6CCNode25resumeSchedulerAndActionsEv; cocos2d::CCNode::resumeSchedulerAndActions(void) ; +0x80, 0x5ab454\nSTRB            WZR, [X19,#0x250]                                      ; +0x84, 0x5ab458\nMOV             W1, W20                                                ; +0x88, 0x5ab45c\nMOV             W0, W1                                                 ; +0x8c, 0x5ab460\nLDP             X19, X20, [SP,#var_s10]                                ; +0x90, 0x5ab464\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x94, 0x5ab468\nRET                                                                    ; +0x98, 0x5ab46c\nBL              _ZN11AppDelegate3getEv; AppDelegate::get(void)         ; +0x9c, 0x5ab470\nBL              _ZN11AppDelegate11resumeSoundEv; AppDelegate::resumeSound(void) ; +0xa0, 0x5ab474\nB               loc_5AB43C                                             ; +0xa4, 0x5ab478", "xrefs": ["FMODAudioEngine::resumeAudio @ 0x5ab47c", "<???> @ 0x596d0"], "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"}