{"type": "func", "start": 6443015248, "end": 6443015369, "name": "sub_180089C50", "pseudocode": "// \n// sub_180089C50 from 0x180089c50 to 0x180089cc9 (121 bytes)\n// \n// 3 xrefs:\n// > sub_180089E00 @ 0x180089ff2\n// > sub_18008A090 @ 0x18008a27d\n// > <???> @ 0x1801fa4b8\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\nchar __fastcall sub_180089C50(__int64 a1, __int64 a2)\n{\n  float v2; // xmm1_4\n  int v4; // xmm0_4\n  __m128i v5; // xmm3\n  char result; // al\n  float v7; // [rsp+40h] [rbp+8h] BYREF\n\n  v2 = *(float *)(a2 + 36);\n  v4 = dword_1801EE690;\n  if ( v2 < *(float *)&dword_1801EE690 || (v4 = xmmword_1801EE694, v2 > *(float *)&xmmword_1801EE694) )\n    *(_DWORD *)(a2 + 36) = v4;\n  v5 = _mm_cvtsi32_si128(*(_DWORD *)(a1 + 2080));\n  *(_DWORD *)(a1 + 2068) = *(_DWORD *)(a2 + 36);\n  result = sub_1800894D0(a1, 0.84139514, *(float *)(a2 + 36), _mm_cvtepi32_ps(v5).m128_f32[0], &v7);\n  *(float *)(a1 + 576) = 1.0 - v7;\n  return result;\n}", "assembly": "; \n; sub_180089C50 from 0x180089c50 to 0x180089cc9 (121 bytes)\n; \n; 3 xrefs:\n; > sub_180089E00 @ 0x180089ff2\n; > sub_18008A090 @ 0x18008a27d\n; > <???> @ 0x1801fa4b8\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\npush    rbx                                                            ; +0x0, 0x180089c50\nsub     rsp, 30h                                                       ; +0x2, 0x180089c52\nmovss   xmm1, dword ptr [rdx+24h]                                      ; +0x6, 0x180089c56\nmov     rbx, rcx                                                       ; +0xb, 0x180089c5b\nmovss   xmm0, cs:dword_1801EE690                                       ; +0xe, 0x180089c5e\ncomiss  xmm1, xmm0                                                     ; +0x16, 0x180089c66\njb      short loc_180089C78                                            ; +0x19, 0x180089c69\nmovss   xmm0, dword ptr cs:xmmword_1801EE694                           ; +0x1b, 0x180089c6b\ncomiss  xmm1, xmm0                                                     ; +0x23, 0x180089c73\njbe     short loc_180089C7D                                            ; +0x26, 0x180089c76\nmovss   dword ptr [rdx+24h], xmm0                                      ; +0x28, 0x180089c78\nmov     eax, [rdx+24h]                                                 ; +0x2d, 0x180089c7d\nmovd    xmm3, dword ptr [rcx+820h]                                     ; +0x30, 0x180089c80\nmovss   xmm1, cs:dword_180169310                                       ; +0x38, 0x180089c88\nmov     [rcx+814h], eax                                                ; +0x40, 0x180089c90\nlea     rax, [rsp+38h+arg_0]                                           ; +0x46, 0x180089c96\nmovss   xmm2, dword ptr [rdx+24h]                                      ; +0x4b, 0x180089c9b\ncvtdq2ps xmm3, xmm3                                                    ; +0x50, 0x180089ca0\nmov     [rsp+38h+var_18], rax                                          ; +0x53, 0x180089ca3\ncall    sub_1800894D0                                                  ; +0x58, 0x180089ca8\nmovss   xmm0, cs:dword_180145744                                       ; +0x5d, 0x180089cad\nsubss   xmm0, [rsp+38h+arg_0]                                          ; +0x65, 0x180089cb5\nmovss   dword ptr [rbx+240h], xmm0                                     ; +0x6b, 0x180089cbb\nadd     rsp, 30h                                                       ; +0x73, 0x180089cc3\npop     rbx                                                            ; +0x77, 0x180089cc7\nretn                                                                   ; +0x78, 0x180089cc8", "xrefs": ["sub_180089E00 @ 0x180089ff2", "sub_18008A090 @ 0x18008a27d", "<???> @ 0x1801fa4b8"], "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"}