{"type": "func", "start": 6443133504, "end": 6443133683, "name": "FMOD::Reverb3D::setUserData", "pseudocode": "// \n// FMOD::Reverb3D::setUserData from 0x1800a6a40 to 0x1800a6af3 (179 bytes)\n// \n// 3 xrefs:\n// > FMOD_Reverb3D_SetUserData @ 0x1800c6409\n// > <???> @ 0x180194348\n// > <???> @ 0x1801fb880\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::setUserData(__int64 a1, __int64 a2)\n{\n  int v3; // esi\n  unsigned int v4; // ebx\n  __int64 result; // rax\n  __int64 v6; // [rsp+30h] [rbp-128h] BYREF\n  _BYTE v7[256]; // [rsp+40h] [rbp-118h] BYREF\n\n  v3 = a1;\n  v4 = sub_1800DC8D0(a1, &v6);\n  if ( v4 || (result = sub_1800DC750(v6, a2), (v4 = result) != 0) )\n  {\n    if ( *((char *)off_1801AED20 + 16) < 0 )\n    {\n      sub_1800F3230(v7, 256, a2);\n      sub_1800B20E0(v4, 10, v3, (unsigned int)\"Reverb3D::setUserData\", (__int64)v7);\n    }\n    return v4;\n  }\n  return result;\n}", "assembly": "; \n; FMOD::Reverb3D::setUserData from 0x1800a6a40 to 0x1800a6af3 (179 bytes)\n; \n; 3 xrefs:\n; > FMOD_Reverb3D_SetUserData @ 0x1800c6409\n; > <???> @ 0x180194348\n; > <???> @ 0x1801fb880\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, 0x1800a6a40\nmov     [rsp+arg_18], rsi                                              ; +0x5, 0x1800a6a45\npush    rdi                                                            ; +0xa, 0x1800a6a4a\nsub     rsp, 150h                                                      ; +0xb, 0x1800a6a4b\nmov     rax, cs:__security_cookie                                      ; +0x12, 0x1800a6a52\nxor     rax, rsp                                                       ; +0x19, 0x1800a6a59\nmov     [rsp+158h+var_18], rax                                         ; +0x1c, 0x1800a6a5c\nmov     rdi, rdx                                                       ; +0x24, 0x1800a6a64\nmov     rsi, rcx                                                       ; +0x27, 0x1800a6a67\nlea     rdx, [rsp+158h+var_128]                                        ; +0x2a, 0x1800a6a6a\ncall    sub_1800DC8D0                                                  ; +0x2f, 0x1800a6a6f\nmov     ebx, eax                                                       ; +0x34, 0x1800a6a74\ntest    eax, eax                                                       ; +0x36, 0x1800a6a76\njnz     short loc_1800A6A8D                                            ; +0x38, 0x1800a6a78\nmov     rcx, [rsp+158h+var_128]                                        ; +0x3a, 0x1800a6a7a\nmov     rdx, rdi                                                       ; +0x3f, 0x1800a6a7f\ncall    sub_1800DC750                                                  ; +0x42, 0x1800a6a82\nmov     ebx, eax                                                       ; +0x47, 0x1800a6a87\ntest    eax, eax                                                       ; +0x49, 0x1800a6a89\njz      short loc_1800A6ACE                                            ; +0x4b, 0x1800a6a8b\nmov     rax, cs:off_1801AED20                                          ; +0x4d, 0x1800a6a8d\ntest    byte ptr [rax+10h], 80h                                        ; +0x54, 0x1800a6a94\njz      short loc_1800A6ACC                                            ; +0x58, 0x1800a6a98\nmov     r8, rdi                                                        ; +0x5a, 0x1800a6a9a\nlea     rcx, [rsp+158h+var_118]                                        ; +0x5d, 0x1800a6a9d\nmov     edx, 100h                                                      ; +0x62, 0x1800a6aa2\ncall    sub_1800F3230                                                  ; +0x67, 0x1800a6aa7\nlea     rax, [rsp+158h+var_118]                                        ; +0x6c, 0x1800a6aac\nmov     r8, rsi                                                        ; +0x71, 0x1800a6ab1\nlea     r9, aReverb3dSetuse; \"Reverb3D::setUserData\"                   ; +0x74, 0x1800a6ab4\nmov     [rsp+158h+var_138], rax                                        ; +0x7b, 0x1800a6abb\nmov     edx, 0Ah                                                       ; +0x80, 0x1800a6ac0\nmov     ecx, ebx                                                       ; +0x85, 0x1800a6ac5\ncall    sub_1800B20E0                                                  ; +0x87, 0x1800a6ac7\nmov     eax, ebx                                                       ; +0x8c, 0x1800a6acc\nmov     rcx, [rsp+158h+var_18]                                         ; +0x8e, 0x1800a6ace\nxor     rcx, rsp; StackCookie                                          ; +0x96, 0x1800a6ad6\ncall    __security_check_cookie                                        ; +0x99, 0x1800a6ad9\nlea     r11, [rsp+158h+var_8]                                          ; +0x9e, 0x1800a6ade\nmov     rbx, [r11+20h]                                                 ; +0xa6, 0x1800a6ae6\nmov     rsi, [r11+28h]                                                 ; +0xaa, 0x1800a6aea\nmov     rsp, r11                                                       ; +0xae, 0x1800a6aee\npop     rdi                                                            ; +0xb1, 0x1800a6af1\nretn                                                                   ; +0xb2, 0x1800a6af2", "xrefs": ["FMOD_Reverb3D_SetUserData @ 0x1800c6409", "<???> @ 0x180194348", "<???> @ 0x1801fb880"], "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"}