{"type": "func", "start": 6443442064, "end": 6443442203, "name": "sub_1800F1F90", "pseudocode": "// \n// sub_1800F1F90 from 0x1800f1f90 to 0x1800f201b (139 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801b0010\n// > <???> @ 0x1802005b4\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:22 +0000\n// \n\n__int64 __fastcall sub_1800F1F90(float **a1, int a2, float *a3, __int64 a4)\n{\n  float *v5; // r9\n  int v6; // edx\n  float v7; // xmm3_4\n\n  v5 = *a1;\n  if ( a2 )\n  {\n    v6 = a2 - 1;\n    if ( v6 )\n    {\n      if ( v6 == 1 )\n      {\n        *a3 = fsqrt(v5[140]);\n        if ( a4 )\n        {\n          v7 = v5[140];\nLABEL_10:\n          sub_1800B7CA0(a4, 32, \"%.02f\", v7);\n        }\n      }\n    }\n    else\n    {\n      *a3 = v5[143];\n      if ( a4 )\n      {\n        v7 = v5[143];\n        goto LABEL_10;\n      }\n    }\n  }\n  else\n  {\n    *a3 = v5[142];\n    if ( a4 )\n    {\n      v7 = v5[142];\n      goto LABEL_10;\n    }\n  }\n  return 0;\n}", "assembly": "; \n; sub_1800F1F90 from 0x1800f1f90 to 0x1800f201b (139 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801b0010\n; > <???> @ 0x1802005b4\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:22 +0000\n; \nsub     rsp, 28h                                                       ; +0x0, 0x1800f1f90\nmov     r10, r9                                                        ; +0x4, 0x1800f1f94\nmov     r9, [rcx]                                                      ; +0x7, 0x1800f1f97\ntest    edx, edx                                                       ; +0xa, 0x1800f1f9a\njz      short loc_1800F1FE0                                            ; +0xc, 0x1800f1f9c\nsub     edx, 1                                                         ; +0xe, 0x1800f1f9e\njz      short loc_1800F1FC6                                            ; +0x11, 0x1800f1fa1\ncmp     edx, 1                                                         ; +0x13, 0x1800f1fa3\njnz     short loc_1800F2014                                            ; +0x16, 0x1800f1fa6\nsqrtss  xmm0, dword ptr [r9+230h]                                      ; +0x18, 0x1800f1fa8\nmovss   dword ptr [r8], xmm0                                           ; +0x21, 0x1800f1fb1\ntest    r10, r10                                                       ; +0x26, 0x1800f1fb6\njz      short loc_1800F2014                                            ; +0x29, 0x1800f1fb9\nmovss   xmm3, dword ptr [r9+230h]                                      ; +0x2b, 0x1800f1fbb\njmp     short loc_1800F1FF8                                            ; +0x34, 0x1800f1fc4\nmov     eax, [r9+23Ch]                                                 ; +0x36, 0x1800f1fc6\nmov     [r8], eax                                                      ; +0x3d, 0x1800f1fcd\ntest    r10, r10                                                       ; +0x40, 0x1800f1fd0\njz      short loc_1800F2014                                            ; +0x43, 0x1800f1fd3\nmovss   xmm3, dword ptr [r9+23Ch]                                      ; +0x45, 0x1800f1fd5\njmp     short loc_1800F1FF8                                            ; +0x4e, 0x1800f1fde\nmov     eax, [r9+238h]                                                 ; +0x50, 0x1800f1fe0\nmov     [r8], eax                                                      ; +0x57, 0x1800f1fe7\ntest    r10, r10                                                       ; +0x5a, 0x1800f1fea\njz      short loc_1800F2014                                            ; +0x5d, 0x1800f1fed\nmovss   xmm3, dword ptr [r9+238h]                                      ; +0x5f, 0x1800f1fef\ncvtps2pd xmm3, xmm3                                                    ; +0x68, 0x1800f1ff8\nlea     r8, a02f; \"%.02f\"                                              ; +0x6b, 0x1800f1ffb\nmov     edx, 20h ; ' '                                                 ; +0x72, 0x1800f2002\nmov     rcx, r10                                                       ; +0x77, 0x1800f2007\nmovq    r9, xmm3                                                       ; +0x7a, 0x1800f200a\ncall    sub_1800B7CA0                                                  ; +0x7f, 0x1800f200f\nxor     eax, eax                                                       ; +0x84, 0x1800f2014\nadd     rsp, 28h                                                       ; +0x86, 0x1800f2016\nretn                                                                   ; +0x8a, 0x1800f201a", "xrefs": ["<???> @ 0x1801b0010", "<???> @ 0x1802005b4"], "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"}