{"type": "func", "start": 6442802720, "end": 6442802935, "name": "sub_180055E20", "pseudocode": "// \n// sub_180055E20 from 0x180055e20 to 0x180055ef7 (215 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801ac430\n// > <???> @ 0x1801f8d9c\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:19 +0000\n// \n\n__int64 __fastcall sub_180055E20(float **a1, int a2, _DWORD *a3, __int64 a4)\n{\n  float *v5; // r9\n  int v6; // edx\n  int v7; // edx\n  int v8; // edx\n  float v10; // xmm3_4\n\n  v5 = *a1;\n  if ( a2 )\n  {\n    v6 = a2 - 1;\n    if ( v6 )\n    {\n      v7 = v6 - 1;\n      if ( v7 )\n      {\n        v8 = v7 - 1;\n        if ( v8 )\n        {\n          if ( v8 != 1 )\n            return 31;\n          *a3 = *((_DWORD *)v5 + 221);\n          if ( a4 )\n          {\n            v10 = v5[221];\nLABEL_17:\n            sub_1800B7CA0(a4, 32, \"%.02f\", v10);\n          }\n        }\n        else\n        {\n          *a3 = *((_DWORD *)v5 + 220);\n          if ( a4 )\n          {\n            v10 = v5[220];\n            goto LABEL_17;\n          }\n        }\n      }\n      else\n      {\n        *a3 = *((_DWORD *)v5 + 217);\n        if ( a4 )\n        {\n          v10 = v5[217];\n          goto LABEL_17;\n        }\n      }\n    }\n    else\n    {\n      *a3 = *((_DWORD *)v5 + 219);\n      if ( a4 )\n      {\n        v10 = v5[219];\n        goto LABEL_17;\n      }\n    }\n  }\n  else\n  {\n    *a3 = *((_DWORD *)v5 + 218);\n    if ( a4 )\n    {\n      v10 = v5[218];\n      goto LABEL_17;\n    }\n  }\n  return 0;\n}", "assembly": "; \n; sub_180055E20 from 0x180055e20 to 0x180055ef7 (215 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801ac430\n; > <???> @ 0x1801f8d9c\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:19 +0000\n; \nsub     rsp, 28h                                                       ; +0x0, 0x180055e20\nmov     r10, r9                                                        ; +0x4, 0x180055e24\nmov     r9, [rcx]                                                      ; +0x7, 0x180055e27\ntest    edx, edx                                                       ; +0xa, 0x180055e2a\njz      loc_180055EBC                                                  ; +0xc, 0x180055e2c\nsub     edx, 1                                                         ; +0x12, 0x180055e32\njz      short loc_180055EA2                                            ; +0x15, 0x180055e35\nsub     edx, 1                                                         ; +0x17, 0x180055e37\njz      short loc_180055E88                                            ; +0x1a, 0x180055e3a\nsub     edx, 1                                                         ; +0x1c, 0x180055e3c\njz      short loc_180055E6E                                            ; +0x1f, 0x180055e3f\ncmp     edx, 1                                                         ; +0x21, 0x180055e41\njz      short loc_180055E50                                            ; +0x24, 0x180055e44\nmov     eax, 1Fh                                                       ; +0x26, 0x180055e46\nadd     rsp, 28h                                                       ; +0x2b, 0x180055e4b\nretn                                                                   ; +0x2f, 0x180055e4f\nmov     eax, [r9+374h]                                                 ; +0x30, 0x180055e50\nmov     [r8], eax                                                      ; +0x37, 0x180055e57\ntest    r10, r10                                                       ; +0x3a, 0x180055e5a\njz      loc_180055EF0                                                  ; +0x3d, 0x180055e5d\nmovss   xmm3, dword ptr [r9+374h]                                      ; +0x43, 0x180055e63\njmp     short loc_180055ED4                                            ; +0x4c, 0x180055e6c\nmov     eax, [r9+370h]                                                 ; +0x4e, 0x180055e6e\nmov     [r8], eax                                                      ; +0x55, 0x180055e75\ntest    r10, r10                                                       ; +0x58, 0x180055e78\njz      short loc_180055EF0                                            ; +0x5b, 0x180055e7b\nmovss   xmm3, dword ptr [r9+370h]                                      ; +0x5d, 0x180055e7d\njmp     short loc_180055ED4                                            ; +0x66, 0x180055e86\nmov     eax, [r9+364h]                                                 ; +0x68, 0x180055e88\nmov     [r8], eax                                                      ; +0x6f, 0x180055e8f\ntest    r10, r10                                                       ; +0x72, 0x180055e92\njz      short loc_180055EF0                                            ; +0x75, 0x180055e95\nmovss   xmm3, dword ptr [r9+364h]                                      ; +0x77, 0x180055e97\njmp     short loc_180055ED4                                            ; +0x80, 0x180055ea0\nmov     eax, [r9+36Ch]                                                 ; +0x82, 0x180055ea2\nmov     [r8], eax                                                      ; +0x89, 0x180055ea9\ntest    r10, r10                                                       ; +0x8c, 0x180055eac\njz      short loc_180055EF0                                            ; +0x8f, 0x180055eaf\nmovss   xmm3, dword ptr [r9+36Ch]                                      ; +0x91, 0x180055eb1\njmp     short loc_180055ED4                                            ; +0x9a, 0x180055eba\nmov     eax, [r9+368h]                                                 ; +0x9c, 0x180055ebc\nmov     [r8], eax                                                      ; +0xa3, 0x180055ec3\ntest    r10, r10                                                       ; +0xa6, 0x180055ec6\njz      short loc_180055EF0                                            ; +0xa9, 0x180055ec9\nmovss   xmm3, dword ptr [r9+368h]                                      ; +0xab, 0x180055ecb\ncvtps2pd xmm3, xmm3                                                    ; +0xb4, 0x180055ed4\nlea     r8, a02f; \"%.02f\"                                              ; +0xb7, 0x180055ed7\nmov     edx, 20h ; ' '                                                 ; +0xbe, 0x180055ede\nmov     rcx, r10                                                       ; +0xc3, 0x180055ee3\nmovq    r9, xmm3                                                       ; +0xc6, 0x180055ee6\ncall    sub_1800B7CA0                                                  ; +0xcb, 0x180055eeb\nxor     eax, eax                                                       ; +0xd0, 0x180055ef0\nadd     rsp, 28h                                                       ; +0xd2, 0x180055ef2\nretn                                                                   ; +0xd6, 0x180055ef6", "xrefs": ["<???> @ 0x1801ac430", "<???> @ 0x1801f8d9c"], "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"}