{"type": "func", "start": 6443174592, "end": 6443174800, "name": "FMOD::System::set3DRolloffCallback", "pseudocode": "// \n// FMOD::System::set3DRolloffCallback from 0x1800b0ac0 to 0x1800b0b90 (208 bytes)\n// \n// 3 xrefs:\n// > FMOD_System_Set3DRolloffCallback @ 0x1800c6e59\n// > <???> @ 0x180194348\n// > <???> @ 0x1801fca74\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::System::set3DRolloffCallback(__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 = FMOD::SystemI::validate(a1, &v7, &v6);\n  if ( (v4 || (v4 = sub_1800E7040(v7, a2)) != 0) && *((char *)off_1801AED20 + 16) < 0 )\n  {\n    sub_1800F3230(v8, 256, a2);\n    sub_1800B20E0(v4, 1, v3, (unsigned int)\"System::set3DRolloffCallback\", (__int64)v8);\n  }\n  if ( v6 )\n    sub_180102320(v6);\n  return v4;\n}", "assembly": "; \n; FMOD::System::set3DRolloffCallback from 0x1800b0ac0 to 0x1800b0b90 (208 bytes)\n; \n; 3 xrefs:\n; > FMOD_System_Set3DRolloffCallback @ 0x1800c6e59\n; > <???> @ 0x180194348\n; > <???> @ 0x1801fca74\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, 0x1800b0ac0\nmov     [rsp+arg_18], rsi                                              ; +0x5, 0x1800b0ac5\npush    rdi                                                            ; +0xa, 0x1800b0aca\nsub     rsp, 150h                                                      ; +0xb, 0x1800b0acb\nmov     rax, cs:__security_cookie                                      ; +0x12, 0x1800b0ad2\nxor     rax, rsp                                                       ; +0x19, 0x1800b0ad9\nmov     [rsp+158h+var_18], rax                                         ; +0x1c, 0x1800b0adc\nmov     rdi, rdx                                                       ; +0x24, 0x1800b0ae4\nmov     [rsp+158h+var_128], 0                                          ; +0x27, 0x1800b0ae7\nlea     rdx, [rsp+158h+var_120]                                        ; +0x30, 0x1800b0af0\nmov     rsi, rcx                                                       ; +0x35, 0x1800b0af5\nlea     r8, [rsp+158h+var_128]                                         ; +0x38, 0x1800b0af8\ncall    ?validate@SystemI@FMOD@@SA?AW4FMOD_RESULT@@PEAVSystem@2@PEAPEAV12@PEAVSystemLockScope@2@@Z; FMOD::SystemI::validate(FMOD::System *,FMOD::SystemI * *,FMOD::SystemLockScope *) ; +0x3d, 0x1800b0afd\nmov     ebx, eax                                                       ; +0x42, 0x1800b0b02\ntest    eax, eax                                                       ; +0x44, 0x1800b0b04\njnz     short loc_1800B0B1B                                            ; +0x46, 0x1800b0b06\nmov     rcx, [rsp+158h+var_120]                                        ; +0x48, 0x1800b0b08\nmov     rdx, rdi                                                       ; +0x4d, 0x1800b0b0d\ncall    sub_1800E7040                                                  ; +0x50, 0x1800b0b10\nmov     ebx, eax                                                       ; +0x55, 0x1800b0b15\ntest    eax, eax                                                       ; +0x57, 0x1800b0b17\njz      short loc_1800B0B5A                                            ; +0x59, 0x1800b0b19\nmov     rax, cs:off_1801AED20                                          ; +0x5b, 0x1800b0b1b\ntest    byte ptr [rax+10h], 80h                                        ; +0x62, 0x1800b0b22\njz      short loc_1800B0B5A                                            ; +0x66, 0x1800b0b26\nmov     r8, rdi                                                        ; +0x68, 0x1800b0b28\nlea     rcx, [rsp+158h+var_118]                                        ; +0x6b, 0x1800b0b2b\nmov     edx, 100h                                                      ; +0x70, 0x1800b0b30\ncall    sub_1800F3230                                                  ; +0x75, 0x1800b0b35\nlea     rax, [rsp+158h+var_118]                                        ; +0x7a, 0x1800b0b3a\nmov     r8, rsi                                                        ; +0x7f, 0x1800b0b3f\nlea     r9, aSystemSet3drol; \"System::set3DRolloffCallback\"            ; +0x82, 0x1800b0b42\nmov     [rsp+158h+var_138], rax                                        ; +0x89, 0x1800b0b49\nmov     edx, 1                                                         ; +0x8e, 0x1800b0b4e\nmov     ecx, ebx                                                       ; +0x93, 0x1800b0b53\ncall    sub_1800B20E0                                                  ; +0x95, 0x1800b0b55\nmov     rcx, [rsp+158h+var_128]                                        ; +0x9a, 0x1800b0b5a\ntest    rcx, rcx                                                       ; +0x9f, 0x1800b0b5f\njz      short loc_1800B0B69                                            ; +0xa2, 0x1800b0b62\ncall    sub_180102320                                                  ; +0xa4, 0x1800b0b64\nmov     eax, ebx                                                       ; +0xa9, 0x1800b0b69\nmov     rcx, [rsp+158h+var_18]                                         ; +0xab, 0x1800b0b6b\nxor     rcx, rsp; StackCookie                                          ; +0xb3, 0x1800b0b73\ncall    __security_check_cookie                                        ; +0xb6, 0x1800b0b76\nlea     r11, [rsp+158h+var_8]                                          ; +0xbb, 0x1800b0b7b\nmov     rbx, [r11+20h]                                                 ; +0xc3, 0x1800b0b83\nmov     rsi, [r11+28h]                                                 ; +0xc7, 0x1800b0b87\nmov     rsp, r11                                                       ; +0xcb, 0x1800b0b8b\npop     rdi                                                            ; +0xce, 0x1800b0b8e\nretn                                                                   ; +0xcf, 0x1800b0b8f", "xrefs": ["FMOD_System_Set3DRolloffCallback @ 0x1800c6e59", "<???> @ 0x180194348", "<???> @ 0x1801fca74"], "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"}