{"type": "func", "start": 6442935568, "end": 6442935703, "name": "sub_180076510", "pseudocode": "// \n// sub_180076510 from 0x180076510 to 0x180076597 (135 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801ad710\n// > <???> @ 0x1801f9bc4\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:32 +0000\n// \n\n__int64 __fastcall sub_180076510(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 + 276);\n        if ( a4 )\n        {\n          v7 = v5[276];\nLABEL_10:\n          sub_1800B7CA0(a4, 32, \"%.02f\", v7);\n        }\n      }\n    }\n    else\n    {\n      *a3 = *((_DWORD *)v5 + 275);\n      if ( a4 )\n      {\n        v7 = v5[275];\n        goto LABEL_10;\n      }\n    }\n  }\n  else\n  {\n    *a3 = *((_DWORD *)v5 + 274);\n    if ( a4 )\n    {\n      v7 = v5[274];\n      goto LABEL_10;\n    }\n  }\n  return 0;\n}", "assembly": "; \n; sub_180076510 from 0x180076510 to 0x180076597 (135 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801ad710\n; > <???> @ 0x1801f9bc4\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:32 +0000\n; \nsub     rsp, 28h                                                       ; +0x0, 0x180076510\nmov     r10, r9                                                        ; +0x4, 0x180076514\nmov     r9, [rcx]                                                      ; +0x7, 0x180076517\ntest    edx, edx                                                       ; +0xa, 0x18007651a\njz      short loc_18007655C                                            ; +0xc, 0x18007651c\nsub     edx, 1                                                         ; +0xe, 0x18007651e\njz      short loc_180076542                                            ; +0x11, 0x180076521\ncmp     edx, 1                                                         ; +0x13, 0x180076523\njnz     short loc_180076590                                            ; +0x16, 0x180076526\nmov     eax, [r9+450h]                                                 ; +0x18, 0x180076528\nmov     [r8], eax                                                      ; +0x1f, 0x18007652f\ntest    r10, r10                                                       ; +0x22, 0x180076532\njz      short loc_180076590                                            ; +0x25, 0x180076535\nmovss   xmm3, dword ptr [r9+450h]                                      ; +0x27, 0x180076537\njmp     short loc_180076574                                            ; +0x30, 0x180076540\nmov     eax, [r9+44Ch]                                                 ; +0x32, 0x180076542\nmov     [r8], eax                                                      ; +0x39, 0x180076549\ntest    r10, r10                                                       ; +0x3c, 0x18007654c\njz      short loc_180076590                                            ; +0x3f, 0x18007654f\nmovss   xmm3, dword ptr [r9+44Ch]                                      ; +0x41, 0x180076551\njmp     short loc_180076574                                            ; +0x4a, 0x18007655a\nmov     eax, [r9+448h]                                                 ; +0x4c, 0x18007655c\nmov     [r8], eax                                                      ; +0x53, 0x180076563\ntest    r10, r10                                                       ; +0x56, 0x180076566\njz      short loc_180076590                                            ; +0x59, 0x180076569\nmovss   xmm3, dword ptr [r9+448h]                                      ; +0x5b, 0x18007656b\ncvtps2pd xmm3, xmm3                                                    ; +0x64, 0x180076574\nlea     r8, a02f; \"%.02f\"                                              ; +0x67, 0x180076577\nmov     edx, 20h ; ' '                                                 ; +0x6e, 0x18007657e\nmov     rcx, r10                                                       ; +0x73, 0x180076583\nmovq    r9, xmm3                                                       ; +0x76, 0x180076586\ncall    sub_1800B7CA0                                                  ; +0x7b, 0x18007658b\nxor     eax, eax                                                       ; +0x80, 0x180076590\nadd     rsp, 28h                                                       ; +0x82, 0x180076592\nretn                                                                   ; +0x86, 0x180076596", "xrefs": ["<???> @ 0x1801ad710", "<???> @ 0x1801f9bc4"], "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"}