{"type": "func", "start": 6442873344, "end": 6442873539, "name": "sub_180067200", "pseudocode": "// \n// sub_180067200 from 0x180067200 to 0x1800672c3 (195 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801ac910\n// > <???> @ 0x1801f93c0\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\n__int64 __fastcall sub_180067200(float **a1, int a2, _DWORD *a3, __int64 a4)\n{\n  float *v5; // r9\n  int v6; // edx\n  int v7; // edx\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        if ( v7 == 1 )\n        {\n          *a3 = *((_DWORD *)v5 + 164);\n          if ( a4 )\n            sub_1800B7CA0(a4, 32, \"%.1f\", v5[164]);\n        }\n      }\n      else\n      {\n        *a3 = *((_DWORD *)v5 + 163);\n        if ( a4 )\n          sub_1800B7CA0(a4, 32, \"%.1f\", v5[163]);\n      }\n    }\n    else\n    {\n      *a3 = *((_DWORD *)v5 + 161);\n      if ( a4 )\n        sub_1800B7CA0(a4, 32, \"%.1f\", v5[161]);\n    }\n  }\n  else\n  {\n    *a3 = *((_DWORD *)v5 + 160);\n    if ( a4 )\n      sub_1800B7CA0(a4, 32, \"%.02f\", v5[160]);\n  }\n  return 0;\n}", "assembly": "; \n; sub_180067200 from 0x180067200 to 0x1800672c3 (195 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801ac910\n; > <???> @ 0x1801f93c0\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\nsub     rsp, 28h                                                       ; +0x0, 0x180067200\nmov     r10, r9                                                        ; +0x4, 0x180067204\nmov     r9, [rcx]                                                      ; +0x7, 0x180067207\ntest    edx, edx                                                       ; +0xa, 0x18006720a\njz      short loc_180067288                                            ; +0xc, 0x18006720c\nsub     edx, 1                                                         ; +0xe, 0x18006720e\njz      short loc_180067267                                            ; +0x11, 0x180067211\nsub     edx, 1                                                         ; +0x13, 0x180067213\njz      short loc_180067246                                            ; +0x16, 0x180067216\ncmp     edx, 1                                                         ; +0x18, 0x180067218\njnz     loc_1800672BC                                                  ; +0x1b, 0x18006721b\nmov     eax, [r9+290h]                                                 ; +0x21, 0x180067221\nmov     [r8], eax                                                      ; +0x28, 0x180067228\ntest    r10, r10                                                       ; +0x2b, 0x18006722b\njz      loc_1800672BC                                                  ; +0x2e, 0x18006722e\nmovss   xmm3, dword ptr [r9+290h]                                      ; +0x34, 0x180067234\nlea     r8, a1f; \"%.1f\"                                                ; +0x3d, 0x18006723d\njmp     short loc_1800672A7                                            ; +0x44, 0x180067244\nmov     eax, [r9+28Ch]                                                 ; +0x46, 0x180067246\nmov     [r8], eax                                                      ; +0x4d, 0x18006724d\ntest    r10, r10                                                       ; +0x50, 0x180067250\njz      short loc_1800672BC                                            ; +0x53, 0x180067253\nmovss   xmm3, dword ptr [r9+28Ch]                                      ; +0x55, 0x180067255\nlea     r8, a1f; \"%.1f\"                                                ; +0x5e, 0x18006725e\njmp     short loc_1800672A7                                            ; +0x65, 0x180067265\nmov     eax, [r9+284h]                                                 ; +0x67, 0x180067267\nmov     [r8], eax                                                      ; +0x6e, 0x18006726e\ntest    r10, r10                                                       ; +0x71, 0x180067271\njz      short loc_1800672BC                                            ; +0x74, 0x180067274\nmovss   xmm3, dword ptr [r9+284h]                                      ; +0x76, 0x180067276\nlea     r8, a1f; \"%.1f\"                                                ; +0x7f, 0x18006727f\njmp     short loc_1800672A7                                            ; +0x86, 0x180067286\nmov     eax, [r9+280h]                                                 ; +0x88, 0x180067288\nmov     [r8], eax                                                      ; +0x8f, 0x18006728f\ntest    r10, r10                                                       ; +0x92, 0x180067292\njz      short loc_1800672BC                                            ; +0x95, 0x180067295\nmovss   xmm3, dword ptr [r9+280h]                                      ; +0x97, 0x180067297\nlea     r8, a02f; \"%.02f\"                                              ; +0xa0, 0x1800672a0\ncvtps2pd xmm3, xmm3                                                    ; +0xa7, 0x1800672a7\nmov     edx, 20h ; ' '                                                 ; +0xaa, 0x1800672aa\nmov     rcx, r10                                                       ; +0xaf, 0x1800672af\nmovq    r9, xmm3                                                       ; +0xb2, 0x1800672b2\ncall    sub_1800B7CA0                                                  ; +0xb7, 0x1800672b7\nxor     eax, eax                                                       ; +0xbc, 0x1800672bc\nadd     rsp, 28h                                                       ; +0xbe, 0x1800672be\nretn                                                                   ; +0xc2, 0x1800672c2", "xrefs": ["<???> @ 0x1801ac910", "<???> @ 0x1801f93c0"], "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"}