{"type": "func", "start": 6443398240, "end": 6443398434, "name": "sub_1800E7460", "pseudocode": "// \n// sub_1800E7460 from 0x1800e7460 to 0x1800e7522 (194 bytes)\n// \n// 4 xrefs:\n// > FMOD::System::setGeometrySettings @ 0x1800b12d3\n// > <???> @ 0x18018da84\n// > <???> @ 0x18018da94\n// > <???> @ 0x1801ffed0\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 10:54:18 +0000\n// \n\n__int64 __fastcall sub_1800E7460(__int64 a1, float a2)\n{\n  __int64 result; // rax\n  _QWORD *v4; // rdi\n  _QWORD *v5; // rbx\n\n  if ( (LODWORD(a2) & 0x7F800000) == 0x7F800000 )\n    return 29;\n  if ( a2 <= 0.0 )\n    return 31;\n  result = sub_1800D1590(a1 + 73264, a2);\n  if ( !(_DWORD)result )\n  {\n    v4 = *(_QWORD **)(a1 + 73256);\n    if ( v4 )\n    {\n      do\n      {\n        sub_1800D2C70((__int64)v4);\n        v4 = (_QWORD *)*v4;\n        v5 = *(_QWORD **)(a1 + 73256);\n      }\n      while ( v4 != v5 );\n      while ( 1 )\n      {\n        result = sub_1800D4140((__int64)v5);\n        if ( (_DWORD)result )\n          break;\n        v5 = (_QWORD *)*v5;\n        if ( v5 == *(_QWORD **)(a1 + 73256) )\n          return 0;\n      }\n    }\n    else\n    {\n      return 0;\n    }\n  }\n  return result;\n}", "assembly": "; \n; sub_1800E7460 from 0x1800e7460 to 0x1800e7522 (194 bytes)\n; \n; 4 xrefs:\n; > FMOD::System::setGeometrySettings @ 0x1800b12d3\n; > <???> @ 0x18018da84\n; > <???> @ 0x18018da94\n; > <???> @ 0x1801ffed0\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 10:54:18 +0000\n; \npush    rsi                                                            ; +0x0, 0x1800e7460\nsub     rsp, 30h                                                       ; +0x2, 0x1800e7462\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0x6, 0x1800e7466\nmov     rsi, rcx                                                       ; +0xb, 0x1800e746b\nmovaps  xmm6, xmm1                                                     ; +0xe, 0x1800e746e\nmovss   [rsp+38h+arg_8], xmm6                                          ; +0x11, 0x1800e7471\nmov     eax, [rsp+38h+arg_8]                                           ; +0x17, 0x1800e7477\nand     eax, 7F800000h                                                 ; +0x1b, 0x1800e747b\ncmp     eax, 7F800000h                                                 ; +0x20, 0x1800e7480\njnz     short loc_1800E7497                                            ; +0x25, 0x1800e7485\nmov     eax, 1Dh                                                       ; +0x27, 0x1800e7487\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x2c, 0x1800e748c\nadd     rsp, 30h                                                       ; +0x31, 0x1800e7491\npop     rsi                                                            ; +0x35, 0x1800e7495\nretn                                                                   ; +0x36, 0x1800e7496\nxorps   xmm0, xmm0                                                     ; +0x37, 0x1800e7497\ncomiss  xmm6, xmm0                                                     ; +0x3a, 0x1800e749a\nja      short loc_1800E74AF                                            ; +0x3d, 0x1800e749d\nmov     eax, 1Fh                                                       ; +0x3f, 0x1800e749f\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x44, 0x1800e74a4\nadd     rsp, 30h                                                       ; +0x49, 0x1800e74a9\npop     rsi                                                            ; +0x4d, 0x1800e74ad\nretn                                                                   ; +0x4e, 0x1800e74ae\nadd     rcx, 11E30h                                                    ; +0x4f, 0x1800e74af\ncall    sub_1800D1590                                                  ; +0x56, 0x1800e74b6\ntest    eax, eax                                                       ; +0x5b, 0x1800e74bb\njnz     short loc_1800E7517                                            ; +0x5d, 0x1800e74bd\nmov     [rsp+38h+arg_0], rbx                                           ; +0x5f, 0x1800e74bf\nmov     [rsp+38h+arg_10], rdi                                          ; +0x64, 0x1800e74c4\nmov     rdi, [rsi+11E28h]                                              ; +0x69, 0x1800e74c9\ntest    rdi, rdi                                                       ; +0x70, 0x1800e74d0\njz      short loc_1800E750B                                            ; +0x73, 0x1800e74d3\nmov     rcx, rdi                                                       ; +0x75, 0x1800e74d5\ncall    sub_1800D2C70                                                  ; +0x78, 0x1800e74d8\nmov     rdi, [rdi]                                                     ; +0x7d, 0x1800e74dd\nmov     rbx, [rsi+11E28h]                                              ; +0x80, 0x1800e74e0\ncmp     rdi, rbx                                                       ; +0x87, 0x1800e74e7\njnz     short loc_1800E74D5                                            ; +0x8a, 0x1800e74ea\nnop     dword ptr [rax+00h]                                            ; +0x8c, 0x1800e74ec\nmovaps  xmm1, xmm6                                                     ; +0x90, 0x1800e74f0\nmov     rcx, rbx                                                       ; +0x93, 0x1800e74f3\ncall    sub_1800D4140                                                  ; +0x96, 0x1800e74f6\ntest    eax, eax                                                       ; +0x9b, 0x1800e74fb\njnz     short loc_1800E750D                                            ; +0x9d, 0x1800e74fd\nmov     rbx, [rbx]                                                     ; +0x9f, 0x1800e74ff\ncmp     rbx, [rsi+11E28h]                                              ; +0xa2, 0x1800e7502\njnz     short loc_1800E74F0                                            ; +0xa9, 0x1800e7509\nxor     eax, eax                                                       ; +0xab, 0x1800e750b\nmov     rbx, [rsp+38h+arg_0]                                           ; +0xad, 0x1800e750d\nmov     rdi, [rsp+38h+arg_10]                                          ; +0xb2, 0x1800e7512\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0xb7, 0x1800e7517\nadd     rsp, 30h                                                       ; +0xbc, 0x1800e751c\npop     rsi                                                            ; +0xc0, 0x1800e7520\nretn                                                                   ; +0xc1, 0x1800e7521", "xrefs": ["FMOD::System::setGeometrySettings @ 0x1800b12d3", "<???> @ 0x18018da84", "<???> @ 0x18018da94", "<???> @ 0x1801ffed0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}