{"type": "func", "start": 6442499904, "end": 6442500113, "name": "FMOD::ChannelControl::getPitch", "pseudocode": "// \n// FMOD::ChannelControl::getPitch from 0x18000bf40 to 0x18000c011 (209 bytes)\n// \n// 4 xrefs:\n// > FMOD_ChannelGroup_GetPitch @ 0x1800c50d9\n// > FMOD_Channel_GetPitch @ 0x1800c5699\n// > <???> @ 0x180194348\n// > <???> @ 0x1801f6810\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::getPitch(__int64 a1, __int64 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, __int64))(*(_QWORD *)v7 + 80LL))(v7, a2)) != 0)\n    && *((char *)off_1801AED20 + 16) < 0 )\n  {\n    sub_1800F30A0(v8, 256, a2);\n    sub_1800B20E0(v4, 4, v3, (unsigned int)\"ChannelControl::getPitch\", (__int64)v8);\n  }\n  if ( v6 )\n    sub_180102320();\n  return v4;\n}", "assembly": "; \n; FMOD::ChannelControl::getPitch from 0x18000bf40 to 0x18000c011 (209 bytes)\n; \n; 4 xrefs:\n; > FMOD_ChannelGroup_GetPitch @ 0x1800c50d9\n; > FMOD_Channel_GetPitch @ 0x1800c5699\n; > <???> @ 0x180194348\n; > <???> @ 0x1801f6810\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, 0x18000bf40\nmov     [rsp+arg_18], rsi                                              ; +0x5, 0x18000bf45\npush    rdi                                                            ; +0xa, 0x18000bf4a\nsub     rsp, 150h                                                      ; +0xb, 0x18000bf4b\nmov     rax, cs:__security_cookie                                      ; +0x12, 0x18000bf52\nxor     rax, rsp                                                       ; +0x19, 0x18000bf59\nmov     [rsp+158h+var_18], rax                                         ; +0x1c, 0x18000bf5c\nmov     rdi, rdx                                                       ; +0x24, 0x18000bf64\nmov     [rsp+158h+var_128], 0                                          ; +0x27, 0x18000bf67\nlea     rdx, [rsp+158h+var_120]                                        ; +0x30, 0x18000bf70\nmov     rsi, rcx                                                       ; +0x35, 0x18000bf75\nlea     r8, [rsp+158h+var_128]                                         ; +0x38, 0x18000bf78\ncall    sub_180012360                                                  ; +0x3d, 0x18000bf7d\nmov     ebx, eax                                                       ; +0x42, 0x18000bf82\ntest    eax, eax                                                       ; +0x44, 0x18000bf84\njnz     short loc_18000BF9C                                            ; +0x46, 0x18000bf86\nmov     rcx, [rsp+158h+var_120]                                        ; +0x48, 0x18000bf88\nmov     rdx, rdi                                                       ; +0x4d, 0x18000bf8d\nmov     rax, [rcx]                                                     ; +0x50, 0x18000bf90\ncall    qword ptr [rax+50h]                                            ; +0x53, 0x18000bf93\nmov     ebx, eax                                                       ; +0x56, 0x18000bf96\ntest    eax, eax                                                       ; +0x58, 0x18000bf98\njz      short loc_18000BFDB                                            ; +0x5a, 0x18000bf9a\nmov     rax, cs:off_1801AED20                                          ; +0x5c, 0x18000bf9c\ntest    byte ptr [rax+10h], 80h                                        ; +0x63, 0x18000bfa3\njz      short loc_18000BFDB                                            ; +0x67, 0x18000bfa7\nmov     r8, rdi                                                        ; +0x69, 0x18000bfa9\nlea     rcx, [rsp+158h+var_118]                                        ; +0x6c, 0x18000bfac\nmov     edx, 100h                                                      ; +0x71, 0x18000bfb1\ncall    sub_1800F30A0                                                  ; +0x76, 0x18000bfb6\nlea     rax, [rsp+158h+var_118]                                        ; +0x7b, 0x18000bfbb\nmov     r8, rsi                                                        ; +0x80, 0x18000bfc0\nlea     r9, aChannelcontrol_23; \"ChannelControl::getPitch\"             ; +0x83, 0x18000bfc3\nmov     [rsp+158h+var_138], rax                                        ; +0x8a, 0x18000bfca\nmov     edx, 4                                                         ; +0x8f, 0x18000bfcf\nmov     ecx, ebx                                                       ; +0x94, 0x18000bfd4\ncall    sub_1800B20E0                                                  ; +0x96, 0x18000bfd6\nmov     rcx, [rsp+158h+var_128]                                        ; +0x9b, 0x18000bfdb\ntest    rcx, rcx                                                       ; +0xa0, 0x18000bfe0\njz      short loc_18000BFEA                                            ; +0xa3, 0x18000bfe3\ncall    sub_180102320                                                  ; +0xa5, 0x18000bfe5\nmov     eax, ebx                                                       ; +0xaa, 0x18000bfea\nmov     rcx, [rsp+158h+var_18]                                         ; +0xac, 0x18000bfec\nxor     rcx, rsp; StackCookie                                          ; +0xb4, 0x18000bff4\ncall    __security_check_cookie                                        ; +0xb7, 0x18000bff7\nlea     r11, [rsp+158h+var_8]                                          ; +0xbc, 0x18000bffc\nmov     rbx, [r11+20h]                                                 ; +0xc4, 0x18000c004\nmov     rsi, [r11+28h]                                                 ; +0xc8, 0x18000c008\nmov     rsp, r11                                                       ; +0xcc, 0x18000c00c\npop     rdi                                                            ; +0xcf, 0x18000c00f\nretn                                                                   ; +0xd0, 0x18000c010", "xrefs": ["FMOD_ChannelGroup_GetPitch @ 0x1800c50d9", "FMOD_Channel_GetPitch @ 0x1800c5699", "<???> @ 0x180194348", "<???> @ 0x1801f6810"], "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"}