{"type": "func", "start": 4299993876, "end": 4299994072, "name": "FMOD::System::mixerResume", "pseudocode": "// \n// FMOD::System::mixerResume from 0x1004cb314 to 0x1004cb3d8 (196 bytes)\n// \n// 2 xrefs:\n// > FMODAudioEngine::start @ 0x100138a8c\n// > sub_100452C64 @ 0x100452c68\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\nFMOD_RESULT __fastcall FMOD::System::mixerResume(FMOD::System *a1)\n{\n  __int64 v2; // x19\n  __int64 v4; // [xsp+8h] [xbp-138h] BYREF\n  __int64 v5; // [xsp+10h] [xbp-130h] BYREF\n  _BYTE v6[256]; // [xsp+18h] [xbp-128h] BYREF\n\n  v4 = 0;\n  v2 = sub_1004CE440(a1, &v5, &v4);\n  if ( (_DWORD)v2 || (v2 = sub_1004D26B0(v5), (_DWORD)v2) )\n  {\n    if ( (*((_BYTE *)off_1008524C8 + 32) & 0x80) != 0 )\n    {\n      v6[0] = 0;\n      sub_10048489C(v2, 1, (__int64)a1, (__int64)\"System::mixerSuspend\", (__int64)v6);\n    }\n  }\n  if ( v4 )\n    sub_100442D80(v4);\n  return (unsigned int)v2;\n}", "assembly": "; \n; FMOD::System::mixerResume from 0x1004cb314 to 0x1004cb3d8 (196 bytes)\n; \n; 2 xrefs:\n; > FMODAudioEngine::start @ 0x100138a8c\n; > sub_100452C64 @ 0x100452c68\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\nSUB             SP, SP, #0x150                                         ; +0x0, 0x1004cb314\nSTP             X28, X27, [SP,#0x140+var_20]                           ; +0x4, 0x1004cb318\nSTP             X20, X19, [SP,#0x140+var_10]                           ; +0x8, 0x1004cb31c\nSTP             X29, X30, [SP,#0x140+var_s0]                           ; +0xc, 0x1004cb320\nADD             X29, SP, #0x140                                        ; +0x10, 0x1004cb324\nMOV             X20, X0                                                ; +0x14, 0x1004cb328\nADRP            X8, #___stack_chk_guard_ptr@PAGE                       ; +0x18, 0x1004cb32c\nLDR             X8, [X8,#___stack_chk_guard_ptr@PAGEOFF]; ___stack_chk_guard ; +0x1c, 0x1004cb330\nLDR             X8, [X8]                                               ; +0x20, 0x1004cb334\nSTUR            X8, [X29,#var_28]                                      ; +0x24, 0x1004cb338\nSTR             XZR, [SP,#0x140+var_138]                               ; +0x28, 0x1004cb33c\nADD             X1, SP, #0x140+var_130                                 ; +0x2c, 0x1004cb340\nADD             X2, SP, #0x140+var_138                                 ; +0x30, 0x1004cb344\nBL              sub_1004CE440                                          ; +0x34, 0x1004cb348\nMOV             X19, X0                                                ; +0x38, 0x1004cb34c\nCBNZ            W0, loc_1004CB364                                      ; +0x3c, 0x1004cb350\nLDR             X0, [SP,#0x140+var_130]                                ; +0x40, 0x1004cb354\nBL              sub_1004D26B0                                          ; +0x44, 0x1004cb358\nMOV             X19, X0                                                ; +0x48, 0x1004cb35c\nCBZ             W0, loc_1004CB398                                      ; +0x4c, 0x1004cb360\nADRL            X8, off_1008524C8                                      ; +0x50, 0x1004cb364\nLDR             X8, [X8]; unk_1008786E0                                ; +0x58, 0x1004cb36c\nLDRB            W8, [X8,#(dword_100878700 - 0x1008786E0)]              ; +0x5c, 0x1004cb370\nTBZ             W8, #7, loc_1004CB398                                  ; +0x60, 0x1004cb374\nSTRB            WZR, [SP,#0x140+var_128]                               ; +0x64, 0x1004cb378\nADRL            X3, aSystemMixersus; \"System::mixerSuspend\"            ; +0x68, 0x1004cb37c\nADD             X4, SP, #0x140+var_128                                 ; +0x70, 0x1004cb384\nMOV             X0, X19                                                ; +0x74, 0x1004cb388\nMOV             W1, #1                                                 ; +0x78, 0x1004cb38c\nMOV             X2, X20                                                ; +0x7c, 0x1004cb390\nBL              sub_10048489C                                          ; +0x80, 0x1004cb394\nLDR             X0, [SP,#0x140+var_138]                                ; +0x84, 0x1004cb398\nCBZ             X0, loc_1004CB3A4                                      ; +0x88, 0x1004cb39c\nBL              sub_100442D80                                          ; +0x8c, 0x1004cb3a0\nLDUR            X8, [X29,#var_28]                                      ; +0x90, 0x1004cb3a4\nADRP            X9, #___stack_chk_guard_ptr@PAGE                       ; +0x94, 0x1004cb3a8\nLDR             X9, [X9,#___stack_chk_guard_ptr@PAGEOFF]; ___stack_chk_guard ; +0x98, 0x1004cb3ac\nLDR             X9, [X9]                                               ; +0x9c, 0x1004cb3b0\nCMP             X9, X8                                                 ; +0xa0, 0x1004cb3b4\nB.NE            loc_1004CB3D4                                          ; +0xa4, 0x1004cb3b8\nMOV             X0, X19                                                ; +0xa8, 0x1004cb3bc\nLDP             X29, X30, [SP,#0x140+var_s0]                           ; +0xac, 0x1004cb3c0\nLDP             X20, X19, [SP,#0x140+var_10]                           ; +0xb0, 0x1004cb3c4\nLDP             X28, X27, [SP,#0x140+var_20]                           ; +0xb4, 0x1004cb3c8\nADD             SP, SP, #0x150                                         ; +0xb8, 0x1004cb3cc\nRET                                                                    ; +0xbc, 0x1004cb3d0\nBL              ___stack_chk_fail                                      ; +0xc0, 0x1004cb3d4", "xrefs": ["FMODAudioEngine::start @ 0x100138a8c", "sub_100452C64 @ 0x100452c68"], "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"}