{"type": "func", "start": 6442509888, "end": 6442510069, "name": "FMOD::ChannelControl::stop", "pseudocode": "// \n// FMOD::ChannelControl::stop from 0x18000e640 to 0x18000e6f5 (181 bytes)\n// \n// 4 xrefs:\n// > FMOD_ChannelGroup_Stop @ 0x1800c53e9\n// > FMOD_Channel_Stop @ 0x1800c5a59\n// > <???> @ 0x180194348\n// > <???> @ 0x1801f6c60\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::stop(__int64 a1)\n{\n  int v1; // edi\n  unsigned int v2; // ebx\n  __int64 v4; // [rsp+30h] [rbp-128h] BYREF\n  __int64 v5; // [rsp+38h] [rbp-120h] BYREF\n  _BYTE v6[256]; // [rsp+40h] [rbp-118h] BYREF\n\n  v4 = 0;\n  v1 = a1;\n  v2 = sub_180012360(a1, &v5, &v4);\n  if ( (v2 || (v2 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 8LL))(v5)) != 0)\n    && *((char *)off_1801AED20 + 16) < 0 )\n  {\n    v6[0] = 0;\n    sub_1800B20E0(v2, 4, v1, (unsigned int)\"ChannelControl::stop\", (__int64)v6);\n  }\n  if ( v4 )\n    sub_180102320();\n  return v2;\n}", "assembly": "; \n; FMOD::ChannelControl::stop from 0x18000e640 to 0x18000e6f5 (181 bytes)\n; \n; 4 xrefs:\n; > FMOD_ChannelGroup_Stop @ 0x1800c53e9\n; > FMOD_Channel_Stop @ 0x1800c5a59\n; > <???> @ 0x180194348\n; > <???> @ 0x1801f6c60\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_8], rbx                                               ; +0x0, 0x18000e640\npush    rdi                                                            ; +0x5, 0x18000e645\nsub     rsp, 150h                                                      ; +0x6, 0x18000e646\nmov     rax, cs:__security_cookie                                      ; +0xd, 0x18000e64d\nxor     rax, rsp                                                       ; +0x14, 0x18000e654\nmov     [rsp+158h+var_18], rax                                         ; +0x17, 0x18000e657\nlea     r8, [rsp+158h+var_128]                                         ; +0x1f, 0x18000e65f\nmov     [rsp+158h+var_128], 0                                          ; +0x24, 0x18000e664\nlea     rdx, [rsp+158h+var_120]                                        ; +0x2d, 0x18000e66d\nmov     rdi, rcx                                                       ; +0x32, 0x18000e672\ncall    sub_180012360                                                  ; +0x35, 0x18000e675\nmov     ebx, eax                                                       ; +0x3a, 0x18000e67a\ntest    eax, eax                                                       ; +0x3c, 0x18000e67c\njnz     short loc_18000E691                                            ; +0x3e, 0x18000e67e\nmov     rcx, [rsp+158h+var_120]                                        ; +0x40, 0x18000e680\nmov     rax, [rcx]                                                     ; +0x45, 0x18000e685\ncall    qword ptr [rax+8]                                              ; +0x48, 0x18000e688\nmov     ebx, eax                                                       ; +0x4b, 0x18000e68b\ntest    eax, eax                                                       ; +0x4d, 0x18000e68d\njz      short loc_18000E6C3                                            ; +0x4f, 0x18000e68f\nmov     rax, cs:off_1801AED20                                          ; +0x51, 0x18000e691\ntest    byte ptr [rax+10h], 80h                                        ; +0x58, 0x18000e698\njz      short loc_18000E6C3                                            ; +0x5c, 0x18000e69c\nlea     rax, [rsp+158h+var_118]                                        ; +0x5e, 0x18000e69e\nmov     [rsp+158h+var_118], 0                                          ; +0x63, 0x18000e6a3\nlea     r9, aChannelcontrol_59; \"ChannelControl::stop\"                 ; +0x68, 0x18000e6a8\nmov     [rsp+158h+var_138], rax                                        ; +0x6f, 0x18000e6af\nmov     r8, rdi                                                        ; +0x74, 0x18000e6b4\nmov     edx, 4                                                         ; +0x77, 0x18000e6b7\nmov     ecx, ebx                                                       ; +0x7c, 0x18000e6bc\ncall    sub_1800B20E0                                                  ; +0x7e, 0x18000e6be\nmov     rcx, [rsp+158h+var_128]                                        ; +0x83, 0x18000e6c3\ntest    rcx, rcx                                                       ; +0x88, 0x18000e6c8\njz      short loc_18000E6D2                                            ; +0x8b, 0x18000e6cb\ncall    sub_180102320                                                  ; +0x8d, 0x18000e6cd\nmov     eax, ebx                                                       ; +0x92, 0x18000e6d2\nmov     rcx, [rsp+158h+var_18]                                         ; +0x94, 0x18000e6d4\nxor     rcx, rsp; StackCookie                                          ; +0x9c, 0x18000e6dc\ncall    __security_check_cookie                                        ; +0x9f, 0x18000e6df\nmov     rbx, [rsp+158h+arg_8]                                          ; +0xa4, 0x18000e6e4\nadd     rsp, 150h                                                      ; +0xac, 0x18000e6ec\npop     rdi                                                            ; +0xb3, 0x18000e6f3\nretn                                                                   ; +0xb4, 0x18000e6f4", "xrefs": ["FMOD_ChannelGroup_Stop @ 0x1800c53e9", "FMOD_Channel_Stop @ 0x1800c5a59", "<???> @ 0x180194348", "<???> @ 0x1801f6c60"], "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"}