{"type": "func", "start": 6442502368, "end": 6442502580, "name": "FMOD::ChannelControl::set3DConeOrientation", "pseudocode": "// \n// FMOD::ChannelControl::set3DConeOrientation from 0x18000c8e0 to 0x18000c9b4 (212 bytes)\n// \n// 4 xrefs:\n// > FMOD_ChannelGroup_Set3DConeOrientation @ 0x1800c51e9\n// > FMOD_Channel_Set3DConeOrientation @ 0x1800c57f9\n// > <???> @ 0x180194348\n// > <???> @ 0x1801f6918\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::set3DConeOrientation(__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 + 368LL))(v7, a2)) != 0)\n    && *((char *)off_1801AED20 + 16) < 0 )\n  {\n    sub_1800F31D0(v8, 256, a2);\n    sub_1800B20E0(v4, 4, v3, (unsigned int)\"ChannelControl::set3DConeOrientation\", (__int64)v8);\n  }\n  if ( v6 )\n    sub_180102320();\n  return v4;\n}", "assembly": "; \n; FMOD::ChannelControl::set3DConeOrientation from 0x18000c8e0 to 0x18000c9b4 (212 bytes)\n; \n; 4 xrefs:\n; > FMOD_ChannelGroup_Set3DConeOrientation @ 0x1800c51e9\n; > FMOD_Channel_Set3DConeOrientation @ 0x1800c57f9\n; > <???> @ 0x180194348\n; > <???> @ 0x1801f6918\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, 0x18000c8e0\nmov     [rsp+arg_18], rsi                                              ; +0x5, 0x18000c8e5\npush    rdi                                                            ; +0xa, 0x18000c8ea\nsub     rsp, 150h                                                      ; +0xb, 0x18000c8eb\nmov     rax, cs:__security_cookie                                      ; +0x12, 0x18000c8f2\nxor     rax, rsp                                                       ; +0x19, 0x18000c8f9\nmov     [rsp+158h+var_18], rax                                         ; +0x1c, 0x18000c8fc\nmov     rdi, rdx                                                       ; +0x24, 0x18000c904\nmov     [rsp+158h+var_128], 0                                          ; +0x27, 0x18000c907\nlea     rdx, [rsp+158h+var_120]                                        ; +0x30, 0x18000c910\nmov     rsi, rcx                                                       ; +0x35, 0x18000c915\nlea     r8, [rsp+158h+var_128]                                         ; +0x38, 0x18000c918\ncall    sub_180012360                                                  ; +0x3d, 0x18000c91d\nmov     ebx, eax                                                       ; +0x42, 0x18000c922\ntest    eax, eax                                                       ; +0x44, 0x18000c924\njnz     short loc_18000C93F                                            ; +0x46, 0x18000c926\nmov     rcx, [rsp+158h+var_120]                                        ; +0x48, 0x18000c928\nmov     rdx, rdi                                                       ; +0x4d, 0x18000c92d\nmov     rax, [rcx]                                                     ; +0x50, 0x18000c930\ncall    qword ptr [rax+170h]                                           ; +0x53, 0x18000c933\nmov     ebx, eax                                                       ; +0x59, 0x18000c939\ntest    eax, eax                                                       ; +0x5b, 0x18000c93b\njz      short loc_18000C97E                                            ; +0x5d, 0x18000c93d\nmov     rax, cs:off_1801AED20                                          ; +0x5f, 0x18000c93f\ntest    byte ptr [rax+10h], 80h                                        ; +0x66, 0x18000c946\njz      short loc_18000C97E                                            ; +0x6a, 0x18000c94a\nmov     r8, rdi                                                        ; +0x6c, 0x18000c94c\nlea     rcx, [rsp+158h+var_118]                                        ; +0x6f, 0x18000c94f\nmov     edx, 100h                                                      ; +0x74, 0x18000c954\ncall    sub_1800F31D0                                                  ; +0x79, 0x18000c959\nlea     rax, [rsp+158h+var_118]                                        ; +0x7e, 0x18000c95e\nmov     r8, rsi                                                        ; +0x83, 0x18000c963\nlea     r9, aChannelcontrol_33; \"ChannelControl::set3DConeOrientation\" ; +0x86, 0x18000c966\nmov     [rsp+158h+var_138], rax                                        ; +0x8d, 0x18000c96d\nmov     edx, 4                                                         ; +0x92, 0x18000c972\nmov     ecx, ebx                                                       ; +0x97, 0x18000c977\ncall    sub_1800B20E0                                                  ; +0x99, 0x18000c979\nmov     rcx, [rsp+158h+var_128]                                        ; +0x9e, 0x18000c97e\ntest    rcx, rcx                                                       ; +0xa3, 0x18000c983\njz      short loc_18000C98D                                            ; +0xa6, 0x18000c986\ncall    sub_180102320                                                  ; +0xa8, 0x18000c988\nmov     eax, ebx                                                       ; +0xad, 0x18000c98d\nmov     rcx, [rsp+158h+var_18]                                         ; +0xaf, 0x18000c98f\nxor     rcx, rsp; StackCookie                                          ; +0xb7, 0x18000c997\ncall    __security_check_cookie                                        ; +0xba, 0x18000c99a\nlea     r11, [rsp+158h+var_8]                                          ; +0xbf, 0x18000c99f\nmov     rbx, [r11+20h]                                                 ; +0xc7, 0x18000c9a7\nmov     rsi, [r11+28h]                                                 ; +0xcb, 0x18000c9ab\nmov     rsp, r11                                                       ; +0xcf, 0x18000c9af\npop     rdi                                                            ; +0xd2, 0x18000c9b2\nretn                                                                   ; +0xd3, 0x18000c9b3", "xrefs": ["FMOD_ChannelGroup_Set3DConeOrientation @ 0x1800c51e9", "FMOD_Channel_Set3DConeOrientation @ 0x1800c57f9", "<???> @ 0x180194348", "<???> @ 0x1801f6918"], "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"}