{"type": "func", "start": 6442503728, "end": 6442503947, "name": "FMOD::ChannelControl::set3DDopplerLevel", "pseudocode": "// \n// FMOD::ChannelControl::set3DDopplerLevel from 0x18000ce30 to 0x18000cf0b (219 bytes)\n// \n// 4 xrefs:\n// > FMOD_ChannelGroup_Set3DDopplerLevel @ 0x1800c5239\n// > FMOD_Channel_Set3DDopplerLevel @ 0x1800c5849\n// > <???> @ 0x180194348\n// > <???> @ 0x1801f69d8\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::set3DDopplerLevel(__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 + 456LL))(v5)) != 0)\n    && *((char *)off_1801AED20 + 16) < 0 )\n  {\n    sub_1800F2F20(v6, 256);\n    sub_1800B20E0(v2, 4, v1, (unsigned int)\"ChannelControl::set3DDopplerLevel\", (__int64)v6);\n  }\n  if ( v4 )\n    sub_180102320();\n  return v2;\n}", "assembly": "; \n; FMOD::ChannelControl::set3DDopplerLevel from 0x18000ce30 to 0x18000cf0b (219 bytes)\n; \n; 4 xrefs:\n; > FMOD_ChannelGroup_Set3DDopplerLevel @ 0x1800c5239\n; > FMOD_Channel_Set3DDopplerLevel @ 0x1800c5849\n; > <???> @ 0x180194348\n; > <???> @ 0x1801f69d8\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, 0x18000ce30\npush    rdi                                                            ; +0x5, 0x18000ce35\nsub     rsp, 160h                                                      ; +0x6, 0x18000ce36\nmovaps  [rsp+168h+var_18], xmm6                                        ; +0xd, 0x18000ce3d\nmov     rax, cs:__security_cookie                                      ; +0x15, 0x18000ce45\nxor     rax, rsp                                                       ; +0x1c, 0x18000ce4c\nmov     [rsp+168h+var_28], rax                                         ; +0x1f, 0x18000ce4f\nlea     r8, [rsp+168h+var_138]                                         ; +0x27, 0x18000ce57\nmov     [rsp+168h+var_138], 0                                          ; +0x2c, 0x18000ce5c\nlea     rdx, [rsp+168h+var_130]                                        ; +0x35, 0x18000ce65\nmovaps  xmm6, xmm1                                                     ; +0x3a, 0x18000ce6a\nmov     rdi, rcx                                                       ; +0x3d, 0x18000ce6d\ncall    sub_180012360                                                  ; +0x40, 0x18000ce70\nmov     ebx, eax                                                       ; +0x45, 0x18000ce75\ntest    eax, eax                                                       ; +0x47, 0x18000ce77\njnz     short loc_18000CE92                                            ; +0x49, 0x18000ce79\nmov     rcx, [rsp+168h+var_130]                                        ; +0x4b, 0x18000ce7b\nmovaps  xmm1, xmm6                                                     ; +0x50, 0x18000ce80\nmov     rax, [rcx]                                                     ; +0x53, 0x18000ce83\ncall    qword ptr [rax+1C8h]                                           ; +0x56, 0x18000ce86\nmov     ebx, eax                                                       ; +0x5c, 0x18000ce8c\ntest    eax, eax                                                       ; +0x5e, 0x18000ce8e\njz      short loc_18000CED1                                            ; +0x60, 0x18000ce90\nmov     rax, cs:off_1801AED20                                          ; +0x62, 0x18000ce92\ntest    byte ptr [rax+10h], 80h                                        ; +0x69, 0x18000ce99\njz      short loc_18000CED1                                            ; +0x6d, 0x18000ce9d\nmovaps  xmm2, xmm6                                                     ; +0x6f, 0x18000ce9f\nlea     rcx, [rsp+168h+var_128]                                        ; +0x72, 0x18000cea2\nmov     edx, 100h                                                      ; +0x77, 0x18000cea7\ncall    sub_1800F2F20                                                  ; +0x7c, 0x18000ceac\nlea     rax, [rsp+168h+var_128]                                        ; +0x81, 0x18000ceb1\nmov     r8, rdi                                                        ; +0x86, 0x18000ceb6\nlea     r9, aChannelcontrol_37; \"ChannelControl::set3DDopplerLevel\"    ; +0x89, 0x18000ceb9\nmov     [rsp+168h+var_148], rax                                        ; +0x90, 0x18000cec0\nmov     edx, 4                                                         ; +0x95, 0x18000cec5\nmov     ecx, ebx                                                       ; +0x9a, 0x18000ceca\ncall    sub_1800B20E0                                                  ; +0x9c, 0x18000cecc\nmov     rcx, [rsp+168h+var_138]                                        ; +0xa1, 0x18000ced1\ntest    rcx, rcx                                                       ; +0xa6, 0x18000ced6\njz      short loc_18000CEE0                                            ; +0xa9, 0x18000ced9\ncall    sub_180102320                                                  ; +0xab, 0x18000cedb\nmov     eax, ebx                                                       ; +0xb0, 0x18000cee0\nmov     rcx, [rsp+168h+var_28]                                         ; +0xb2, 0x18000cee2\nxor     rcx, rsp; StackCookie                                          ; +0xba, 0x18000ceea\ncall    __security_check_cookie                                        ; +0xbd, 0x18000ceed\nmov     rbx, [rsp+168h+arg_10]                                         ; +0xc2, 0x18000cef2\nmovaps  xmm6, [rsp+168h+var_18]                                        ; +0xca, 0x18000cefa\nadd     rsp, 160h                                                      ; +0xd2, 0x18000cf02\npop     rdi                                                            ; +0xd9, 0x18000cf09\nretn                                                                   ; +0xda, 0x18000cf0a", "xrefs": ["FMOD_ChannelGroup_Set3DDopplerLevel @ 0x1800c5239", "FMOD_Channel_Set3DDopplerLevel @ 0x1800c5849", "<???> @ 0x180194348", "<???> @ 0x1801f69d8"], "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"}