{"type": "func", "start": 6443419344, "end": 6443419504, "name": "sub_1800EC6D0", "pseudocode": "// \n// sub_1800EC6D0 from 0x1800ec6d0 to 0x1800ec770 (160 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1801aff08\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_1800EC6D0(__int64 *a1, int a2, _OWORD *a3, int a4)\n{\n  int v4; // edx\n  __int64 v6; // rax\n\n  v4 = a2 - 1;\n  if ( v4 )\n  {\n    if ( v4 == 1 )\n      return a3 != nullptr ? 0x1F : 0;\n    return 31;\n  }\n  if ( a3 )\n  {\n    if ( a4 != 128 )\n      return 31;\n    v6 = *a1;\n    *(_OWORD *)(v6 + 3564) = *a3;\n    *(_OWORD *)(v6 + 3580) = a3[1];\n    *(_OWORD *)(v6 + 3596) = a3[2];\n    *(_OWORD *)(v6 + 3612) = a3[3];\n    *(_OWORD *)(v6 + 3628) = a3[4];\n    *(_OWORD *)(v6 + 3644) = a3[5];\n    *(_OWORD *)(v6 + 3660) = a3[6];\n    *(_OWORD *)(v6 + 3676) = a3[7];\n    *(_WORD *)(v6 + 3560) = 257;\n    *(_BYTE *)(v6 + 3562) = 1;\n  }\n  return 0;\n}", "assembly": "; \n; sub_1800EC6D0 from 0x1800ec6d0 to 0x1800ec770 (160 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1801aff08\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     edx, 1                                                         ; +0x0, 0x1800ec6d0\njz      short loc_1800EC6E3                                            ; +0x3, 0x1800ec6d3\ncmp     edx, 1                                                         ; +0x5, 0x1800ec6d5\njnz     short loc_1800EC6F5                                            ; +0x8, 0x1800ec6d8\nneg     r8                                                             ; +0xa, 0x1800ec6da\nsbb     eax, eax                                                       ; +0xd, 0x1800ec6dd\nand     eax, 1Fh                                                       ; +0xf, 0x1800ec6df\nretn                                                                   ; +0x12, 0x1800ec6e2\ntest    r8, r8                                                         ; +0x13, 0x1800ec6e3\njz      loc_1800EC76D                                                  ; +0x16, 0x1800ec6e6\ncmp     r9d, 80h                                                       ; +0x1c, 0x1800ec6ec\njz      short loc_1800EC6FB                                            ; +0x23, 0x1800ec6f3\nmov     eax, 1Fh                                                       ; +0x25, 0x1800ec6f5\nretn                                                                   ; +0x2a, 0x1800ec6fa\nmovups  xmm0, xmmword ptr [r8]                                         ; +0x2b, 0x1800ec6fb\nmov     rax, [rcx]                                                     ; +0x2f, 0x1800ec6ff\nmovups  xmmword ptr [rax+0DECh], xmm0                                  ; +0x32, 0x1800ec702\nmovups  xmm1, xmmword ptr [r8+10h]                                     ; +0x39, 0x1800ec709\nmovups  xmmword ptr [rax+0DFCh], xmm1                                  ; +0x3e, 0x1800ec70e\nmovups  xmm0, xmmword ptr [r8+20h]                                     ; +0x45, 0x1800ec715\nmovups  xmmword ptr [rax+0E0Ch], xmm0                                  ; +0x4a, 0x1800ec71a\nmovups  xmm1, xmmword ptr [r8+30h]                                     ; +0x51, 0x1800ec721\nmovups  xmmword ptr [rax+0E1Ch], xmm1                                  ; +0x56, 0x1800ec726\nmovups  xmm0, xmmword ptr [r8+40h]                                     ; +0x5d, 0x1800ec72d\nmovups  xmmword ptr [rax+0E2Ch], xmm0                                  ; +0x62, 0x1800ec732\nmovups  xmm1, xmmword ptr [r8+50h]                                     ; +0x69, 0x1800ec739\nmovups  xmmword ptr [rax+0E3Ch], xmm1                                  ; +0x6e, 0x1800ec73e\nmovups  xmm0, xmmword ptr [r8+60h]                                     ; +0x75, 0x1800ec745\nmovups  xmmword ptr [rax+0E4Ch], xmm0                                  ; +0x7a, 0x1800ec74a\nmovups  xmm1, xmmword ptr [r8+70h]                                     ; +0x81, 0x1800ec751\nmovups  xmmword ptr [rax+0E5Ch], xmm1                                  ; +0x86, 0x1800ec756\nmov     word ptr [rax+0DE8h], 101h                                     ; +0x8d, 0x1800ec75d\nmov     byte ptr [rax+0DEAh], 1                                        ; +0x96, 0x1800ec766\nxor     eax, eax                                                       ; +0x9d, 0x1800ec76d\nretn                                                                   ; +0x9f, 0x1800ec76f", "xrefs": ["<???> @ 0x1801aff08"], "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"}