{"type": "func", "start": 6443014592, "end": 6443014725, "name": "sub_1800899C0", "pseudocode": "// \n// sub_1800899C0 from 0x1800899c0 to 0x180089a45 (133 bytes)\n// \n// 3 xrefs:\n// > sub_180089E00 @ 0x180089f35\n// > sub_18008A090 @ 0x18008a22f\n// > <???> @ 0x1801fa494\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_1800899C0(__int64 a1, __int64 a2)\n{\n  float v2; // xmm1_4\n  int v4; // xmm0_4\n  float v5; // xmm6_4\n  float v6; // xmm0_4\n  float v7; // xmm0_4\n\n  v2 = *(float *)(a2 + 20);\n  v4 = dword_1801EE510;\n  if ( v2 < *(float *)&dword_1801EE510 || (v4 = xmmword_1801EE514, v2 > *(float *)&xmmword_1801EE514) )\n    *(_DWORD *)(a2 + 20) = v4;\n  *(_DWORD *)(a1 + 2052) = *(_DWORD *)(a2 + 20);\n  v5 = *(float *)(a2 + 20) * 0.007853982;\n  *(float *)(a1 + 1208) = tanf(v5);\n  v6 = cosf(v5);\n  v7 = powf(v6, (float)*(int *)(a1 + 2028));\n  *(float *)(a1 + 1268) = v7;\n  return 0;\n}", "assembly": "; \n; sub_1800899C0 from 0x1800899c0 to 0x180089a45 (133 bytes)\n; \n; 3 xrefs:\n; > sub_180089E00 @ 0x180089f35\n; > sub_18008A090 @ 0x18008a22f\n; > <???> @ 0x1801fa494\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, 0x1800899c0\nsub     rsp, 30h                                                       ; +0x2, 0x1800899c2\nmovss   xmm1, dword ptr [rdx+14h]                                      ; +0x6, 0x1800899c6\nmov     rbx, rcx                                                       ; +0xb, 0x1800899cb\nmovss   xmm0, cs:dword_1801EE510                                       ; +0xe, 0x1800899ce\ncomiss  xmm1, xmm0                                                     ; +0x16, 0x1800899d6\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0x19, 0x1800899d9\njb      short loc_1800899ED                                            ; +0x1e, 0x1800899de\nmovss   xmm0, dword ptr cs:xmmword_1801EE514                           ; +0x20, 0x1800899e0\ncomiss  xmm1, xmm0                                                     ; +0x28, 0x1800899e8\njbe     short loc_1800899F2                                            ; +0x2b, 0x1800899eb\nmovss   dword ptr [rdx+14h], xmm0                                      ; +0x2d, 0x1800899ed\nmov     eax, [rdx+14h]                                                 ; +0x32, 0x1800899f2\nmov     [rcx+804h], eax                                                ; +0x35, 0x1800899f5\nmovss   xmm6, dword ptr [rdx+14h]                                      ; +0x3b, 0x1800899fb\nmulss   xmm6, cs:dword_1801692FC                                       ; +0x40, 0x180089a00\nmovaps  xmm0, xmm6; X                                                  ; +0x48, 0x180089a08\ncall    tanf                                                           ; +0x4b, 0x180089a0b\nmovss   dword ptr [rbx+4B8h], xmm0                                     ; +0x50, 0x180089a10\nmovaps  xmm0, xmm6; X                                                  ; +0x58, 0x180089a18\ncall    cosf                                                           ; +0x5b, 0x180089a1b\nmovd    xmm1, dword ptr [rbx+7ECh]                                     ; +0x60, 0x180089a20\ncvtdq2ps xmm1, xmm1; Y                                                 ; +0x68, 0x180089a28\ncall    powf                                                           ; +0x6b, 0x180089a2b\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x70, 0x180089a30\nxor     al, al                                                         ; +0x75, 0x180089a35\nmovss   dword ptr [rbx+4F4h], xmm0                                     ; +0x77, 0x180089a37\nadd     rsp, 30h                                                       ; +0x7f, 0x180089a3f\npop     rbx                                                            ; +0x83, 0x180089a43\nretn                                                                   ; +0x84, 0x180089a44", "xrefs": ["sub_180089E00 @ 0x180089f35", "sub_18008A090 @ 0x18008a22f", "<???> @ 0x1801fa494"], "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"}