{"type": "func", "start": 4296758692, "end": 4296758824, "name": "FMODAudioEngine::start", "pseudocode": "// \n// FMODAudioEngine::start from 0x1001b55a4 to 0x1001b5628 (132 bytes)\n// \n// 2 xrefs:\n// > FMODAudioEngine::resumeAudio @ 0x1001b55a0\n// > sub_1001F9AC0 @ 0x1001f9af0\n// \n// This function is hookable on this platform (idp: arm, 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:00:09 +0000\n// \n\n__int64 __fastcall FMODAudioEngine::start(__int64 a1)\n{\n  int v2; // w0\n  __int64 v4; // x0\n\n  if ( *(_BYTE *)(a1 + 552) != 1 )\n    return 1;\n  v2 = FMOD::System::mixerResume(*(_QWORD *)(a1 + 488));\n  *(_DWORD *)(a1 + 536) = v2;\n  if ( v2 )\n    return 0;\n  *(_BYTE *)(a1 + 552) = 0;\n  v4 = FMOD::System::update(*(_QWORD *)(a1 + 488));\n  if ( (unsigned int)sub_1001F9254(v4) )\n    sub_1001B5628(a1);\n  (*(void (__fastcall **)(__int64, float))(*(_QWORD *)a1 + 40LL))(a1, 0.0);\n  cocos2d::CCNode::resumeSchedulerAndActions(a1);\n  return 1;\n}", "assembly": "; \n; FMODAudioEngine::start from 0x1001b55a4 to 0x1001b5628 (132 bytes)\n; \n; 2 xrefs:\n; > FMODAudioEngine::resumeAudio @ 0x1001b55a0\n; > sub_1001F9AC0 @ 0x1001f9af0\n; \n; This function is hookable on this platform (idp: arm, 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:00:09 +0000\n; \nLDRB            W8, [X0,#0x228]                                        ; +0x0, 0x1001b55a4\nCMP             W8, #1                                                 ; +0x4, 0x1001b55a8\nB.NE            loc_1001B55D8                                          ; +0x8, 0x1001b55ac\nSTP             X20, X19, [SP,#var_20]!                                ; +0xc, 0x1001b55b0\nSTP             X29, X30, [SP,#0x20+var_10]                            ; +0x10, 0x1001b55b4\nADD             X29, SP, #0x20+var_10                                  ; +0x14, 0x1001b55b8\nMOV             X19, X0                                                ; +0x18, 0x1001b55bc\nLDR             X0, [X0,#0x1E8]                                        ; +0x1c, 0x1001b55c0\nBL              FMOD__System__mixerResume                              ; +0x20, 0x1001b55c4\nSTR             W0, [X19,#0x218]                                       ; +0x24, 0x1001b55c8\nCBZ             W0, loc_1001B55E0                                      ; +0x28, 0x1001b55cc\nMOV             W0, #0                                                 ; +0x2c, 0x1001b55d0\nB               loc_1001B561C                                          ; +0x30, 0x1001b55d4\nMOV             W0, #1                                                 ; +0x34, 0x1001b55d8\nRET                                                                    ; +0x38, 0x1001b55dc\nSTRB            WZR, [X19,#0x228]                                      ; +0x3c, 0x1001b55e0\nLDR             X0, [X19,#0x1E8]                                       ; +0x40, 0x1001b55e4\nBL              FMOD__System__update                                   ; +0x44, 0x1001b55e8\nBL              sub_1001F9254                                          ; +0x48, 0x1001b55ec\nCBZ             W0, loc_1001B55FC                                      ; +0x4c, 0x1001b55f0\nMOV             X0, X19                                                ; +0x50, 0x1001b55f4\nBL              sub_1001B5628                                          ; +0x54, 0x1001b55f8\nLDR             X8, [X19]                                              ; +0x58, 0x1001b55fc\nLDR             X8, [X8,#0x28]                                         ; +0x5c, 0x1001b5600\nFMOV            S0, WZR                                                ; +0x60, 0x1001b5604\nMOV             X0, X19                                                ; +0x64, 0x1001b5608\nBLR             X8                                                     ; +0x68, 0x1001b560c\nMOV             X0, X19                                                ; +0x6c, 0x1001b5610\nBL              cocos2d__CCNode__resumeSchedulerAndActions             ; +0x70, 0x1001b5614\nMOV             W0, #1                                                 ; +0x74, 0x1001b5618\nLDP             X29, X30, [SP,#0x20+var_10]                            ; +0x78, 0x1001b561c\nLDP             X20, X19, [SP+0x20+var_20],#0x20                       ; +0x7c, 0x1001b5620\nRET                                                                    ; +0x80, 0x1001b5624", "xrefs": ["FMODAudioEngine::resumeAudio @ 0x1001b55a0", "sub_1001F9AC0 @ 0x1001f9af0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}