{"type": "func", "start": 6443132928, "end": 6443133115, "name": "FMOD::Reverb3D::set3DAttributes", "pseudocode": "// \n// FMOD::Reverb3D::set3DAttributes from 0x1800a6800 to 0x1800a68bb (187 bytes)\n// \n// 3 xrefs:\n// > FMOD_Reverb3D_Set3DAttributes @ 0x1800c63c9\n// > <???> @ 0x180194348\n// > <???> @ 0x1801fb85c\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::Reverb3D::set3DAttributes(__int64 a1, __int64 a2)\n{\n  int v3; // edi\n  unsigned int v4; // ebx\n  __int64 result; // rax\n  __int64 v6; // [rsp+30h] [rbp-158h] BYREF\n  _BYTE v7[256]; // [rsp+40h] [rbp-148h] BYREF\n\n  v3 = a1;\n  v4 = sub_1800DC8D0(a1, &v6);\n  if ( v4 || (result = sub_1800DC450(v6, a2), (v4 = result) != 0) )\n  {\n    if ( *((char *)off_1801AED20 + 16) < 0 )\n    {\n      v7[0] = 0;\n      sub_1800B20E0(v4, 10, v3, (unsigned int)\"Reverb3D::set3DAttributes\", (__int64)v7);\n    }\n    return v4;\n  }\n  return result;\n}", "assembly": "; \n; FMOD::Reverb3D::set3DAttributes from 0x1800a6800 to 0x1800a68bb (187 bytes)\n; \n; 3 xrefs:\n; > FMOD_Reverb3D_Set3DAttributes @ 0x1800c63c9\n; > <???> @ 0x180194348\n; > <???> @ 0x1801fb85c\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     rax, rsp                                                       ; +0x0, 0x1800a6800\npush    rbx                                                            ; +0x3, 0x1800a6803\npush    rsi                                                            ; +0x4, 0x1800a6804\npush    rdi                                                            ; +0x5, 0x1800a6805\nsub     rsp, 170h                                                      ; +0x6, 0x1800a6806\nmovaps  xmmword ptr [rax-28h], xmm6                                    ; +0xd, 0x1800a680d\nmovaps  xmmword ptr [rax-38h], xmm7                                    ; +0x11, 0x1800a6811\nmov     rax, cs:__security_cookie                                      ; +0x15, 0x1800a6815\nxor     rax, rsp                                                       ; +0x1c, 0x1800a681c\nmov     [rsp+188h+var_48], rax                                         ; +0x1f, 0x1800a681f\nmov     rsi, rdx                                                       ; +0x27, 0x1800a6827\nmovaps  xmm7, xmm3                                                     ; +0x2a, 0x1800a682a\nlea     rdx, [rsp+188h+var_158]                                        ; +0x2d, 0x1800a682d\nmovaps  xmm6, xmm2                                                     ; +0x32, 0x1800a6832\nmov     rdi, rcx                                                       ; +0x35, 0x1800a6835\ncall    sub_1800DC8D0                                                  ; +0x38, 0x1800a6838\nmov     ebx, eax                                                       ; +0x3d, 0x1800a683d\ntest    eax, eax                                                       ; +0x3f, 0x1800a683f\njnz     short loc_1800A685C                                            ; +0x41, 0x1800a6841\nmov     rcx, [rsp+188h+var_158]                                        ; +0x43, 0x1800a6843\nmovaps  xmm3, xmm7                                                     ; +0x48, 0x1800a6848\nmovaps  xmm2, xmm6                                                     ; +0x4b, 0x1800a684b\nmov     rdx, rsi                                                       ; +0x4e, 0x1800a684e\ncall    sub_1800DC450                                                  ; +0x51, 0x1800a6851\nmov     ebx, eax                                                       ; +0x56, 0x1800a6856\ntest    eax, eax                                                       ; +0x58, 0x1800a6858\njz      short loc_1800A6890                                            ; +0x5a, 0x1800a685a\nmov     rax, cs:off_1801AED20                                          ; +0x5c, 0x1800a685c\ntest    byte ptr [rax+10h], 80h                                        ; +0x63, 0x1800a6863\njz      short loc_1800A688E                                            ; +0x67, 0x1800a6867\nlea     rax, [rsp+188h+var_148]                                        ; +0x69, 0x1800a6869\nmov     [rsp+188h+var_148], 0                                          ; +0x6e, 0x1800a686e\nlea     r9, aReverb3dSet3da; \"Reverb3D::set3DAttributes\"               ; +0x73, 0x1800a6873\nmov     [rsp+188h+var_168], rax                                        ; +0x7a, 0x1800a687a\nmov     r8, rdi                                                        ; +0x7f, 0x1800a687f\nmov     edx, 0Ah                                                       ; +0x82, 0x1800a6882\nmov     ecx, ebx                                                       ; +0x87, 0x1800a6887\ncall    sub_1800B20E0                                                  ; +0x89, 0x1800a6889\nmov     eax, ebx                                                       ; +0x8e, 0x1800a688e\nmov     rcx, [rsp+188h+var_48]                                         ; +0x90, 0x1800a6890\nxor     rcx, rsp; StackCookie                                          ; +0x98, 0x1800a6898\ncall    __security_check_cookie                                        ; +0x9b, 0x1800a689b\nmovaps  xmm6, [rsp+188h+var_28]                                        ; +0xa0, 0x1800a68a0\nmovaps  xmm7, [rsp+188h+var_38]                                        ; +0xa8, 0x1800a68a8\nadd     rsp, 170h                                                      ; +0xb0, 0x1800a68b0\npop     rdi                                                            ; +0xb7, 0x1800a68b7\npop     rsi                                                            ; +0xb8, 0x1800a68b8\npop     rbx                                                            ; +0xb9, 0x1800a68b9\nretn                                                                   ; +0xba, 0x1800a68ba", "xrefs": ["FMOD_Reverb3D_Set3DAttributes @ 0x1800c63c9", "<???> @ 0x180194348", "<???> @ 0x1801fb85c"], "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"}