{"type": "func", "start": 6442508464, "end": 6442508675, "name": "FMOD::ChannelControl::setPaused", "pseudocode": "// \n// FMOD::ChannelControl::setPaused from 0x18000e0b0 to 0x18000e183 (211 bytes)\n// \n// 4 xrefs:\n// > FMOD_ChannelGroup_SetPaused @ 0x1800c536e\n// > FMOD_Channel_SetPaused @ 0x1800c59be\n// > <???> @ 0x180194348\n// > <???> @ 0x1801f6be8\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\n__int64 __fastcall FMOD::ChannelControl::setPaused(__int64 a1, unsigned __int8 a2)\n{\n  int v3; // esi\n  unsigned int v4; // ebx\n  __int64 v6; // [rsp+30h] [rbp-128h] BYREF\n  __int64 v7; // [rsp+38h] [rbp-120h] BYREF\n  _BYTE v8[256]; // [rsp+40h] [rbp-118h] BYREF\n\n  v6 = 0;\n  v3 = a1;\n  v4 = sub_180012360(a1, &v7, &v6);\n  if ( (v4 || (v4 = (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v7 + 16LL))(v7, a2)) != 0)\n    && *((char *)off_1801AED20 + 16) < 0 )\n  {\n    sub_1800F3320(v8);\n    sub_1800B20E0(v4, 4, v3, (unsigned int)\"ChannelControl::setPaused\", (__int64)v8);\n  }\n  if ( v6 )\n    sub_180102320();\n  return v4;\n}", "assembly": "; \n; FMOD::ChannelControl::setPaused from 0x18000e0b0 to 0x18000e183 (211 bytes)\n; \n; 4 xrefs:\n; > FMOD_ChannelGroup_SetPaused @ 0x1800c536e\n; > FMOD_Channel_SetPaused @ 0x1800c59be\n; > <???> @ 0x180194348\n; > <???> @ 0x1801f6be8\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\nmov     [rsp+arg_10], rbx                                              ; +0x0, 0x18000e0b0\nmov     [rsp+arg_18], rsi                                              ; +0x5, 0x18000e0b5\npush    rdi                                                            ; +0xa, 0x18000e0ba\nsub     rsp, 150h                                                      ; +0xb, 0x18000e0bb\nmov     rax, cs:__security_cookie                                      ; +0x12, 0x18000e0c2\nxor     rax, rsp                                                       ; +0x19, 0x18000e0c9\nmov     [rsp+158h+var_18], rax                                         ; +0x1c, 0x18000e0cc\nmovzx   edi, dl                                                        ; +0x24, 0x18000e0d4\nmov     [rsp+158h+var_128], 0                                          ; +0x27, 0x18000e0d7\nlea     rdx, [rsp+158h+var_120]                                        ; +0x30, 0x18000e0e0\nmov     rsi, rcx                                                       ; +0x35, 0x18000e0e5\nlea     r8, [rsp+158h+var_128]                                         ; +0x38, 0x18000e0e8\ncall    sub_180012360                                                  ; +0x3d, 0x18000e0ed\nmov     ebx, eax                                                       ; +0x42, 0x18000e0f2\ntest    eax, eax                                                       ; +0x44, 0x18000e0f4\njnz     short loc_18000E10D                                            ; +0x46, 0x18000e0f6\nmov     rcx, [rsp+158h+var_120]                                        ; +0x48, 0x18000e0f8\nmovzx   edx, dil                                                       ; +0x4d, 0x18000e0fd\nmov     rax, [rcx]                                                     ; +0x51, 0x18000e101\ncall    qword ptr [rax+10h]                                            ; +0x54, 0x18000e104\nmov     ebx, eax                                                       ; +0x57, 0x18000e107\ntest    eax, eax                                                       ; +0x59, 0x18000e109\njz      short loc_18000E14D                                            ; +0x5b, 0x18000e10b\nmov     rax, cs:off_1801AED20                                          ; +0x5d, 0x18000e10d\ntest    byte ptr [rax+10h], 80h                                        ; +0x64, 0x18000e114\njz      short loc_18000E14D                                            ; +0x68, 0x18000e118\nmovzx   r8d, dil                                                       ; +0x6a, 0x18000e11a\nlea     rcx, [rsp+158h+var_118]; void *                                ; +0x6e, 0x18000e11e\nmov     edx, 100h                                                      ; +0x73, 0x18000e123\ncall    sub_1800F3320                                                  ; +0x78, 0x18000e128\nlea     rax, [rsp+158h+var_118]                                        ; +0x7d, 0x18000e12d\nmov     r8, rsi                                                        ; +0x82, 0x18000e132\nlea     r9, aChannelcontrol_53; \"ChannelControl::setPaused\"            ; +0x85, 0x18000e135\nmov     [rsp+158h+var_138], rax                                        ; +0x8c, 0x18000e13c\nmov     edx, 4                                                         ; +0x91, 0x18000e141\nmov     ecx, ebx                                                       ; +0x96, 0x18000e146\ncall    sub_1800B20E0                                                  ; +0x98, 0x18000e148\nmov     rcx, [rsp+158h+var_128]                                        ; +0x9d, 0x18000e14d\ntest    rcx, rcx                                                       ; +0xa2, 0x18000e152\njz      short loc_18000E15C                                            ; +0xa5, 0x18000e155\ncall    sub_180102320                                                  ; +0xa7, 0x18000e157\nmov     eax, ebx                                                       ; +0xac, 0x18000e15c\nmov     rcx, [rsp+158h+var_18]                                         ; +0xae, 0x18000e15e\nxor     rcx, rsp; StackCookie                                          ; +0xb6, 0x18000e166\ncall    __security_check_cookie                                        ; +0xb9, 0x18000e169\nlea     r11, [rsp+158h+var_8]                                          ; +0xbe, 0x18000e16e\nmov     rbx, [r11+20h]                                                 ; +0xc6, 0x18000e176\nmov     rsi, [r11+28h]                                                 ; +0xca, 0x18000e17a\nmov     rsp, r11                                                       ; +0xce, 0x18000e17e\npop     rdi                                                            ; +0xd1, 0x18000e181\nretn                                                                   ; +0xd2, 0x18000e182", "xrefs": ["FMOD_ChannelGroup_SetPaused @ 0x1800c536e", "FMOD_Channel_SetPaused @ 0x1800c59be", "<???> @ 0x180194348", "<???> @ 0x1801f6be8"], "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"}