{"type": "func", "start": 6443542304, "end": 6443542444, "name": "sub_18010A720", "pseudocode": "// \n// sub_18010A720 from 0x18010a720 to 0x18010a7ac (140 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1801b0920\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_18010A720(__int64 *a1, int a2, float *a3, _BYTE *a4)\n{\n  __int64 v4; // rax\n  float v5; // xmm0_4\n\n  v4 = *a1;\n  if ( !a3 )\n    return 31;\n  if ( a2 != 1 )\n  {\n    switch ( a2 )\n    {\n      case 2:\n        v5 = *(float *)(v4 + 568);\n        goto LABEL_16;\n      case 3:\n        v5 = *(float *)(v4 + 572);\n        goto LABEL_16;\n      case 4:\n        v5 = (float)*(int *)(v4 + 688);\n        goto LABEL_16;\n      case 5:\n        v5 = *(float *)(v4 + 692);\n        goto LABEL_16;\n      case 6:\n        v5 = *(float *)(v4 + 696);\n        goto LABEL_16;\n      case 8:\n        v5 = *(float *)(v4 + 712);\n        goto LABEL_16;\n    }\n    return 31;\n  }\n  v5 = (float)*(int *)(v4 + 676);\nLABEL_16:\n  *a3 = v5;\n  if ( a4 )\n    *a4 = 0;\n  return 0;\n}", "assembly": "; \n; sub_18010A720 from 0x18010a720 to 0x18010a7ac (140 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1801b0920\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\nmov     rax, [rcx]                                                     ; +0x0, 0x18010a720\ntest    r8, r8                                                         ; +0x3, 0x18010a723\njz      short loc_18010A7A6                                            ; +0x6, 0x18010a726\ncmp     edx, 1                                                         ; +0x8, 0x18010a728\njnz     short loc_18010A73A                                            ; +0xb, 0x18010a72b\nmovd    xmm0, dword ptr [rax+2A4h]                                     ; +0xd, 0x18010a72d\ncvtdq2ps xmm0, xmm0                                                    ; +0x15, 0x18010a735\njmp     short loc_18010A795                                            ; +0x18, 0x18010a738\ncmp     edx, 2                                                         ; +0x1a, 0x18010a73a\njnz     short loc_18010A749                                            ; +0x1d, 0x18010a73d\nmovss   xmm0, dword ptr [rax+238h]                                     ; +0x1f, 0x18010a73f\njmp     short loc_18010A795                                            ; +0x27, 0x18010a747\ncmp     edx, 3                                                         ; +0x29, 0x18010a749\njnz     short loc_18010A758                                            ; +0x2c, 0x18010a74c\nmovss   xmm0, dword ptr [rax+23Ch]                                     ; +0x2e, 0x18010a74e\njmp     short loc_18010A795                                            ; +0x36, 0x18010a756\ncmp     edx, 4                                                         ; +0x38, 0x18010a758\njnz     short loc_18010A76A                                            ; +0x3b, 0x18010a75b\nmovd    xmm0, dword ptr [rax+2B0h]                                     ; +0x3d, 0x18010a75d\ncvtdq2ps xmm0, xmm0                                                    ; +0x45, 0x18010a765\njmp     short loc_18010A795                                            ; +0x48, 0x18010a768\ncmp     edx, 5                                                         ; +0x4a, 0x18010a76a\njnz     short loc_18010A779                                            ; +0x4d, 0x18010a76d\nmovss   xmm0, dword ptr [rax+2B4h]                                     ; +0x4f, 0x18010a76f\njmp     short loc_18010A795                                            ; +0x57, 0x18010a777\ncmp     edx, 6                                                         ; +0x59, 0x18010a779\njnz     short loc_18010A788                                            ; +0x5c, 0x18010a77c\nmovss   xmm0, dword ptr [rax+2B8h]                                     ; +0x5e, 0x18010a77e\njmp     short loc_18010A795                                            ; +0x66, 0x18010a786\ncmp     edx, 8                                                         ; +0x68, 0x18010a788\njnz     short loc_18010A7A6                                            ; +0x6b, 0x18010a78b\nmovss   xmm0, dword ptr [rax+2C8h]                                     ; +0x6d, 0x18010a78d\nmovss   dword ptr [r8], xmm0                                           ; +0x75, 0x18010a795\ntest    r9, r9                                                         ; +0x7a, 0x18010a79a\njz      short loc_18010A7A3                                            ; +0x7d, 0x18010a79d\nmov     byte ptr [r9], 0                                               ; +0x7f, 0x18010a79f\nxor     eax, eax                                                       ; +0x83, 0x18010a7a3\nretn                                                                   ; +0x85, 0x18010a7a5\nmov     eax, 1Fh                                                       ; +0x86, 0x18010a7a6\nretn                                                                   ; +0x8b, 0x18010a7ab", "xrefs": ["<???> @ 0x1801b0920"], "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"}