{"type": "func", "start": 6442794384, "end": 6442794519, "name": "sub_180053D90", "pseudocode": "// \n// sub_180053D90 from 0x180053d90 to 0x180053e17 (135 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801ac1f0\n// > <???> @ 0x1801f8bd4\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:53:18 +0000\n// \n\n__int64 __fastcall sub_180053D90(float **a1, int a2, _DWORD *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 = *((_DWORD *)v5 + 8352);\n        if ( a4 )\n        {\n          v7 = v5[8352];\nLABEL_10:\n          sub_1800B7CA0(a4, 32, \"%.02f\", v7);\n        }\n      }\n    }\n    else\n    {\n      *a3 = *((_DWORD *)v5 + 8354);\n      if ( a4 )\n      {\n        v7 = v5[8354];\n        goto LABEL_10;\n      }\n    }\n  }\n  else\n  {\n    *a3 = *((_DWORD *)v5 + 8353);\n    if ( a4 )\n    {\n      v7 = v5[8353];\n      goto LABEL_10;\n    }\n  }\n  return 0;\n}", "assembly": "; \n; sub_180053D90 from 0x180053d90 to 0x180053e17 (135 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801ac1f0\n; > <???> @ 0x1801f8bd4\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:53:18 +0000\n; \nsub     rsp, 28h                                                       ; +0x0, 0x180053d90\nmov     r10, r9                                                        ; +0x4, 0x180053d94\nmov     r9, [rcx]                                                      ; +0x7, 0x180053d97\ntest    edx, edx                                                       ; +0xa, 0x180053d9a\njz      short loc_180053DDC                                            ; +0xc, 0x180053d9c\nsub     edx, 1                                                         ; +0xe, 0x180053d9e\njz      short loc_180053DC2                                            ; +0x11, 0x180053da1\ncmp     edx, 1                                                         ; +0x13, 0x180053da3\njnz     short loc_180053E10                                            ; +0x16, 0x180053da6\nmov     eax, [r9+8280h]                                                ; +0x18, 0x180053da8\nmov     [r8], eax                                                      ; +0x1f, 0x180053daf\ntest    r10, r10                                                       ; +0x22, 0x180053db2\njz      short loc_180053E10                                            ; +0x25, 0x180053db5\nmovss   xmm3, dword ptr [r9+8280h]                                     ; +0x27, 0x180053db7\njmp     short loc_180053DF4                                            ; +0x30, 0x180053dc0\nmov     eax, [r9+8288h]                                                ; +0x32, 0x180053dc2\nmov     [r8], eax                                                      ; +0x39, 0x180053dc9\ntest    r10, r10                                                       ; +0x3c, 0x180053dcc\njz      short loc_180053E10                                            ; +0x3f, 0x180053dcf\nmovss   xmm3, dword ptr [r9+8288h]                                     ; +0x41, 0x180053dd1\njmp     short loc_180053DF4                                            ; +0x4a, 0x180053dda\nmov     eax, [r9+8284h]                                                ; +0x4c, 0x180053ddc\nmov     [r8], eax                                                      ; +0x53, 0x180053de3\ntest    r10, r10                                                       ; +0x56, 0x180053de6\njz      short loc_180053E10                                            ; +0x59, 0x180053de9\nmovss   xmm3, dword ptr [r9+8284h]                                     ; +0x5b, 0x180053deb\ncvtps2pd xmm3, xmm3                                                    ; +0x64, 0x180053df4\nlea     r8, a02f; \"%.02f\"                                              ; +0x67, 0x180053df7\nmov     edx, 20h ; ' '                                                 ; +0x6e, 0x180053dfe\nmov     rcx, r10                                                       ; +0x73, 0x180053e03\nmovq    r9, xmm3                                                       ; +0x76, 0x180053e06\ncall    sub_1800B7CA0                                                  ; +0x7b, 0x180053e0b\nxor     eax, eax                                                       ; +0x80, 0x180053e10\nadd     rsp, 28h                                                       ; +0x82, 0x180053e12\nretn                                                                   ; +0x86, 0x180053e16", "xrefs": ["<???> @ 0x1801ac1f0", "<???> @ 0x1801f8bd4"], "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"}