{"type": "func", "start": 6442930240, "end": 6442930375, "name": "sub_180075040", "pseudocode": "// \n// sub_180075040 from 0x180075040 to 0x1800750c7 (135 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801ad4f0\n// > <???> @ 0x1801f9ad4\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_180075040(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 + 141);\n        if ( a4 )\n        {\n          v7 = v5[141];\nLABEL_10:\n          sub_1800B7CA0(a4, 32, \"%.02f\", v7);\n        }\n      }\n    }\n    else\n    {\n      *a3 = *((_DWORD *)v5 + 140);\n      if ( a4 )\n      {\n        v7 = v5[140];\n        goto LABEL_10;\n      }\n    }\n  }\n  else\n  {\n    *a3 = *((_DWORD *)v5 + 139);\n    if ( a4 )\n    {\n      v7 = v5[139];\n      goto LABEL_10;\n    }\n  }\n  return 0;\n}", "assembly": "; \n; sub_180075040 from 0x180075040 to 0x1800750c7 (135 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801ad4f0\n; > <???> @ 0x1801f9ad4\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, 0x180075040\nmov     r10, r9                                                        ; +0x4, 0x180075044\nmov     r9, [rcx]                                                      ; +0x7, 0x180075047\ntest    edx, edx                                                       ; +0xa, 0x18007504a\njz      short loc_18007508C                                            ; +0xc, 0x18007504c\nsub     edx, 1                                                         ; +0xe, 0x18007504e\njz      short loc_180075072                                            ; +0x11, 0x180075051\ncmp     edx, 1                                                         ; +0x13, 0x180075053\njnz     short loc_1800750C0                                            ; +0x16, 0x180075056\nmov     eax, [r9+234h]                                                 ; +0x18, 0x180075058\nmov     [r8], eax                                                      ; +0x1f, 0x18007505f\ntest    r10, r10                                                       ; +0x22, 0x180075062\njz      short loc_1800750C0                                            ; +0x25, 0x180075065\nmovss   xmm3, dword ptr [r9+234h]                                      ; +0x27, 0x180075067\njmp     short loc_1800750A4                                            ; +0x30, 0x180075070\nmov     eax, [r9+230h]                                                 ; +0x32, 0x180075072\nmov     [r8], eax                                                      ; +0x39, 0x180075079\ntest    r10, r10                                                       ; +0x3c, 0x18007507c\njz      short loc_1800750C0                                            ; +0x3f, 0x18007507f\nmovss   xmm3, dword ptr [r9+230h]                                      ; +0x41, 0x180075081\njmp     short loc_1800750A4                                            ; +0x4a, 0x18007508a\nmov     eax, [r9+22Ch]                                                 ; +0x4c, 0x18007508c\nmov     [r8], eax                                                      ; +0x53, 0x180075093\ntest    r10, r10                                                       ; +0x56, 0x180075096\njz      short loc_1800750C0                                            ; +0x59, 0x180075099\nmovss   xmm3, dword ptr [r9+22Ch]                                      ; +0x5b, 0x18007509b\ncvtps2pd xmm3, xmm3                                                    ; +0x64, 0x1800750a4\nlea     r8, a02f; \"%.02f\"                                              ; +0x67, 0x1800750a7\nmov     edx, 20h ; ' '                                                 ; +0x6e, 0x1800750ae\nmov     rcx, r10                                                       ; +0x73, 0x1800750b3\nmovq    r9, xmm3                                                       ; +0x76, 0x1800750b6\ncall    sub_1800B7CA0                                                  ; +0x7b, 0x1800750bb\nxor     eax, eax                                                       ; +0x80, 0x1800750c0\nadd     rsp, 28h                                                       ; +0x82, 0x1800750c2\nretn                                                                   ; +0x86, 0x1800750c6", "xrefs": ["<???> @ 0x1801ad4f0", "<???> @ 0x1801f9ad4"], "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"}