{"type": "func", "start": 6442891808, "end": 6442891861, "name": "sub_18006BA20", "pseudocode": "// \n// sub_18006BA20 from 0x18006ba20 to 0x18006ba55 (53 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1801acd10\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_18006BA20(float **a1, int a2, float a3)\n{\n  float *v3; // r8\n  int v4; // edx\n  __int64 result; // rax\n\n  v3 = *a1;\n  if ( a2 )\n  {\n    v4 = a2 - 1;\n    if ( v4 )\n    {\n      result = 0;\n      if ( v4 == 1 )\n        v3[8349] = a3;\n    }\n    else\n    {\n      v3[8347] = a3;\n      return 0;\n    }\n  }\n  else\n  {\n    v3[8348] = a3;\n    return 0;\n  }\n  return result;\n}", "assembly": "; \n; sub_18006BA20 from 0x18006ba20 to 0x18006ba55 (53 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1801acd10\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     r8, [rcx]                                                      ; +0x0, 0x18006ba20\ntest    edx, edx                                                       ; +0x3, 0x18006ba23\njz      short loc_18006BA49                                            ; +0x5, 0x18006ba25\nsub     edx, 1                                                         ; +0x7, 0x18006ba27\njz      short loc_18006BA3D                                            ; +0xa, 0x18006ba2a\nxor     eax, eax                                                       ; +0xc, 0x18006ba2c\ncmp     edx, 1                                                         ; +0xe, 0x18006ba2e\njnz     short locret_18006BA54                                         ; +0x11, 0x18006ba31\nmovss   dword ptr [r8+8274h], xmm2                                     ; +0x13, 0x18006ba33\nretn                                                                   ; +0x1c, 0x18006ba3c\nmovss   dword ptr [r8+826Ch], xmm2                                     ; +0x1d, 0x18006ba3d\nxor     eax, eax                                                       ; +0x26, 0x18006ba46\nretn                                                                   ; +0x28, 0x18006ba48\nmovss   dword ptr [r8+8270h], xmm2                                     ; +0x29, 0x18006ba49\nxor     eax, eax                                                       ; +0x32, 0x18006ba52\nretn                                                                   ; +0x34, 0x18006ba54", "xrefs": ["<???> @ 0x1801acd10"], "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"}