{"type": "func", "start": 6443176576, "end": 6443176791, "name": "FMOD::System::setGeometrySettings", "pseudocode": "// \n// FMOD::System::setGeometrySettings from 0x1800b1280 to 0x1800b1357 (215 bytes)\n// \n// 3 xrefs:\n// > FMOD_System_SetGeometrySettings @ 0x1800c6ec9\n// > <???> @ 0x180194348\n// > <???> @ 0x1801fcb58\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::setGeometrySettings(__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 = FMOD::SystemI::validate(a1, &v5, &v4);\n  if ( (v2 || (v2 = sub_1800E7460(v5)) != 0) && *((char *)off_1801AED20 + 16) < 0 )\n  {\n    sub_1800F2F20(v6, 256);\n    sub_1800B20E0(v2, 1, v1, (unsigned int)\"System::setGeometrySettings\", (__int64)v6);\n  }\n  if ( v4 )\n    sub_180102320(v4);\n  return v2;\n}", "assembly": "; \n; FMOD::System::setGeometrySettings from 0x1800b1280 to 0x1800b1357 (215 bytes)\n; \n; 3 xrefs:\n; > FMOD_System_SetGeometrySettings @ 0x1800c6ec9\n; > <???> @ 0x180194348\n; > <???> @ 0x1801fcb58\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, 0x1800b1280\npush    rdi                                                            ; +0x5, 0x1800b1285\nsub     rsp, 160h                                                      ; +0x6, 0x1800b1286\nmovaps  [rsp+168h+var_18], xmm6                                        ; +0xd, 0x1800b128d\nmov     rax, cs:__security_cookie                                      ; +0x15, 0x1800b1295\nxor     rax, rsp                                                       ; +0x1c, 0x1800b129c\nmov     [rsp+168h+var_28], rax                                         ; +0x1f, 0x1800b129f\nlea     r8, [rsp+168h+var_138]                                         ; +0x27, 0x1800b12a7\nmov     [rsp+168h+var_138], 0                                          ; +0x2c, 0x1800b12ac\nlea     rdx, [rsp+168h+var_130]                                        ; +0x35, 0x1800b12b5\nmovaps  xmm6, xmm1                                                     ; +0x3a, 0x1800b12ba\nmov     rdi, rcx                                                       ; +0x3d, 0x1800b12bd\ncall    ?validate@SystemI@FMOD@@SA?AW4FMOD_RESULT@@PEAVSystem@2@PEAPEAV12@PEAVSystemLockScope@2@@Z; FMOD::SystemI::validate(FMOD::System *,FMOD::SystemI * *,FMOD::SystemLockScope *) ; +0x40, 0x1800b12c0\nmov     ebx, eax                                                       ; +0x45, 0x1800b12c5\ntest    eax, eax                                                       ; +0x47, 0x1800b12c7\njnz     short loc_1800B12DE                                            ; +0x49, 0x1800b12c9\nmov     rcx, [rsp+168h+var_130]                                        ; +0x4b, 0x1800b12cb\nmovaps  xmm1, xmm6                                                     ; +0x50, 0x1800b12d0\ncall    sub_1800E7460                                                  ; +0x53, 0x1800b12d3\nmov     ebx, eax                                                       ; +0x58, 0x1800b12d8\ntest    eax, eax                                                       ; +0x5a, 0x1800b12da\njz      short loc_1800B131D                                            ; +0x5c, 0x1800b12dc\nmov     rax, cs:off_1801AED20                                          ; +0x5e, 0x1800b12de\ntest    byte ptr [rax+10h], 80h                                        ; +0x65, 0x1800b12e5\njz      short loc_1800B131D                                            ; +0x69, 0x1800b12e9\nmovaps  xmm2, xmm6                                                     ; +0x6b, 0x1800b12eb\nlea     rcx, [rsp+168h+var_128]                                        ; +0x6e, 0x1800b12ee\nmov     edx, 100h                                                      ; +0x73, 0x1800b12f3\ncall    sub_1800F2F20                                                  ; +0x78, 0x1800b12f8\nlea     rax, [rsp+168h+var_128]                                        ; +0x7d, 0x1800b12fd\nmov     r8, rdi                                                        ; +0x82, 0x1800b1302\nlea     r9, aSystemSetgeome; \"System::setGeometrySettings\"             ; +0x85, 0x1800b1305\nmov     [rsp+168h+var_148], rax                                        ; +0x8c, 0x1800b130c\nmov     edx, 1                                                         ; +0x91, 0x1800b1311\nmov     ecx, ebx                                                       ; +0x96, 0x1800b1316\ncall    sub_1800B20E0                                                  ; +0x98, 0x1800b1318\nmov     rcx, [rsp+168h+var_138]                                        ; +0x9d, 0x1800b131d\ntest    rcx, rcx                                                       ; +0xa2, 0x1800b1322\njz      short loc_1800B132C                                            ; +0xa5, 0x1800b1325\ncall    sub_180102320                                                  ; +0xa7, 0x1800b1327\nmov     eax, ebx                                                       ; +0xac, 0x1800b132c\nmov     rcx, [rsp+168h+var_28]                                         ; +0xae, 0x1800b132e\nxor     rcx, rsp; StackCookie                                          ; +0xb6, 0x1800b1336\ncall    __security_check_cookie                                        ; +0xb9, 0x1800b1339\nmov     rbx, [rsp+168h+arg_10]                                         ; +0xbe, 0x1800b133e\nmovaps  xmm6, [rsp+168h+var_18]                                        ; +0xc6, 0x1800b1346\nadd     rsp, 160h                                                      ; +0xce, 0x1800b134e\npop     rdi                                                            ; +0xd5, 0x1800b1355\nretn                                                                   ; +0xd6, 0x1800b1356", "xrefs": ["FMOD_System_SetGeometrySettings @ 0x1800c6ec9", "<???> @ 0x180194348", "<???> @ 0x1801fcb58"], "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"}