{"type": "func", "start": 6442508688, "end": 6442508904, "name": "FMOD::ChannelControl::setPitch", "pseudocode": "// \n// FMOD::ChannelControl::setPitch from 0x18000e190 to 0x18000e268 (216 bytes)\n// \n// 4 xrefs:\n// > FMOD_ChannelGroup_SetPitch @ 0x1800c5389\n// > FMOD_Channel_SetPitch @ 0x1800c59d9\n// > <???> @ 0x180194348\n// > <???> @ 0x1801f6bf4\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::setPitch(__int64 a1)\n{\n  int v1; // edi\n  unsigned int v2; // ebx\n  __int64 v4; // [rsp+30h] [rbp-138h] BYREF\n  __int64 v5; // [rsp+38h] [rbp-130h] BYREF\n  _BYTE v6[256]; // [rsp+40h] [rbp-128h] BYREF\n\n  v4 = 0;\n  v1 = a1;\n  v2 = sub_180012360(a1, &v5, &v4);\n  if ( (v2 || (v2 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 72LL))(v5)) != 0)\n    && *((char *)off_1801AED20 + 16) < 0 )\n  {\n    sub_1800F2F20(v6, 256);\n    sub_1800B20E0(v2, 4, v1, (unsigned int)\"ChannelControl::setPitch\", (__int64)v6);\n  }\n  if ( v4 )\n    sub_180102320();\n  return v2;\n}", "assembly": "; \n; FMOD::ChannelControl::setPitch from 0x18000e190 to 0x18000e268 (216 bytes)\n; \n; 4 xrefs:\n; > FMOD_ChannelGroup_SetPitch @ 0x1800c5389\n; > FMOD_Channel_SetPitch @ 0x1800c59d9\n; > <???> @ 0x180194348\n; > <???> @ 0x1801f6bf4\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, 0x18000e190\npush    rdi                                                            ; +0x5, 0x18000e195\nsub     rsp, 160h                                                      ; +0x6, 0x18000e196\nmovaps  [rsp+168h+var_18], xmm6                                        ; +0xd, 0x18000e19d\nmov     rax, cs:__security_cookie                                      ; +0x15, 0x18000e1a5\nxor     rax, rsp                                                       ; +0x1c, 0x18000e1ac\nmov     [rsp+168h+var_28], rax                                         ; +0x1f, 0x18000e1af\nlea     r8, [rsp+168h+var_138]                                         ; +0x27, 0x18000e1b7\nmov     [rsp+168h+var_138], 0                                          ; +0x2c, 0x18000e1bc\nlea     rdx, [rsp+168h+var_130]                                        ; +0x35, 0x18000e1c5\nmovaps  xmm6, xmm1                                                     ; +0x3a, 0x18000e1ca\nmov     rdi, rcx                                                       ; +0x3d, 0x18000e1cd\ncall    sub_180012360                                                  ; +0x40, 0x18000e1d0\nmov     ebx, eax                                                       ; +0x45, 0x18000e1d5\ntest    eax, eax                                                       ; +0x47, 0x18000e1d7\njnz     short loc_18000E1EF                                            ; +0x49, 0x18000e1d9\nmov     rcx, [rsp+168h+var_130]                                        ; +0x4b, 0x18000e1db\nmovaps  xmm1, xmm6                                                     ; +0x50, 0x18000e1e0\nmov     rax, [rcx]                                                     ; +0x53, 0x18000e1e3\ncall    qword ptr [rax+48h]                                            ; +0x56, 0x18000e1e6\nmov     ebx, eax                                                       ; +0x59, 0x18000e1e9\ntest    eax, eax                                                       ; +0x5b, 0x18000e1eb\njz      short loc_18000E22E                                            ; +0x5d, 0x18000e1ed\nmov     rax, cs:off_1801AED20                                          ; +0x5f, 0x18000e1ef\ntest    byte ptr [rax+10h], 80h                                        ; +0x66, 0x18000e1f6\njz      short loc_18000E22E                                            ; +0x6a, 0x18000e1fa\nmovaps  xmm2, xmm6                                                     ; +0x6c, 0x18000e1fc\nlea     rcx, [rsp+168h+var_128]                                        ; +0x6f, 0x18000e1ff\nmov     edx, 100h                                                      ; +0x74, 0x18000e204\ncall    sub_1800F2F20                                                  ; +0x79, 0x18000e209\nlea     rax, [rsp+168h+var_128]                                        ; +0x7e, 0x18000e20e\nmov     r8, rdi                                                        ; +0x83, 0x18000e213\nlea     r9, aChannelcontrol_54; \"ChannelControl::setPitch\"             ; +0x86, 0x18000e216\nmov     [rsp+168h+var_148], rax                                        ; +0x8d, 0x18000e21d\nmov     edx, 4                                                         ; +0x92, 0x18000e222\nmov     ecx, ebx                                                       ; +0x97, 0x18000e227\ncall    sub_1800B20E0                                                  ; +0x99, 0x18000e229\nmov     rcx, [rsp+168h+var_138]                                        ; +0x9e, 0x18000e22e\ntest    rcx, rcx                                                       ; +0xa3, 0x18000e233\njz      short loc_18000E23D                                            ; +0xa6, 0x18000e236\ncall    sub_180102320                                                  ; +0xa8, 0x18000e238\nmov     eax, ebx                                                       ; +0xad, 0x18000e23d\nmov     rcx, [rsp+168h+var_28]                                         ; +0xaf, 0x18000e23f\nxor     rcx, rsp; StackCookie                                          ; +0xb7, 0x18000e247\ncall    __security_check_cookie                                        ; +0xba, 0x18000e24a\nmov     rbx, [rsp+168h+arg_10]                                         ; +0xbf, 0x18000e24f\nmovaps  xmm6, [rsp+168h+var_18]                                        ; +0xc7, 0x18000e257\nadd     rsp, 160h                                                      ; +0xcf, 0x18000e25f\npop     rdi                                                            ; +0xd6, 0x18000e266\nretn                                                                   ; +0xd7, 0x18000e267", "xrefs": ["FMOD_ChannelGroup_SetPitch @ 0x1800c5389", "FMOD_Channel_SetPitch @ 0x1800c59d9", "<???> @ 0x180194348", "<???> @ 0x1801f6bf4"], "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"}