{"type": "func", "start": 6443419504, "end": 6443419601, "name": "sub_1800EC770", "pseudocode": "// \n// sub_1800EC770 from 0x1800ec770 to 0x1800ec7d1 (97 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1801aff28\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:54:19 +0000\n// \n\n__int64 __fastcall sub_1800EC770(__int64 *a1, int a2, _QWORD *a3, int *a4, _BYTE *a5)\n{\n  __int64 v5; // r10\n  int v6; // edx\n  int v8; // eax\n\n  v5 = *a1;\n  v6 = a2 - 1;\n  if ( v6 )\n  {\n    if ( v6 != 1 )\n      return 31;\n    v8 = 292;\n    if ( *(_BYTE *)(v5 + 3561) )\n      *a3 = &xmmword_1801F0500;\n    else\n      *a3 = v5 + 544;\n  }\n  else\n  {\n    *a3 = v5 + 3564;\n    v8 = 128;\n  }\n  *a4 = v8;\n  if ( a5 )\n    *a5 = 0;\n  return 0;\n}", "assembly": "; \n; sub_1800EC770 from 0x1800ec770 to 0x1800ec7d1 (97 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1801aff28\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:54:19 +0000\n; \nmov     r10, [rcx]                                                     ; +0x0, 0x1800ec770\nsub     edx, 1                                                         ; +0x3, 0x1800ec773\njz      short loc_1800EC7AF                                            ; +0x6, 0x1800ec776\ncmp     edx, 1                                                         ; +0x8, 0x1800ec778\njz      short loc_1800EC783                                            ; +0xb, 0x1800ec77b\nmov     eax, 1Fh                                                       ; +0xd, 0x1800ec77d\nretn                                                                   ; +0x12, 0x1800ec782\ncmp     byte ptr [r10+0DE9h], 0                                        ; +0x13, 0x1800ec783\njz      short loc_1800EC79E                                            ; +0x1b, 0x1800ec78b\nlea     r10, xmmword_1801F0500                                         ; +0x1d, 0x1800ec78d\nmov     eax, 124h                                                      ; +0x24, 0x1800ec794\nmov     [r8], r10                                                      ; +0x29, 0x1800ec799\njmp     short loc_1800EC7BE                                            ; +0x2c, 0x1800ec79c\nadd     r10, 220h                                                      ; +0x2e, 0x1800ec79e\nmov     eax, 124h                                                      ; +0x35, 0x1800ec7a5\nmov     [r8], r10                                                      ; +0x3a, 0x1800ec7aa\njmp     short loc_1800EC7BE                                            ; +0x3d, 0x1800ec7ad\nlea     rax, [r10+0DECh]                                               ; +0x3f, 0x1800ec7af\nmov     [r8], rax                                                      ; +0x46, 0x1800ec7b6\nmov     eax, 80h                                                       ; +0x49, 0x1800ec7b9\nmov     [r9], eax                                                      ; +0x4e, 0x1800ec7be\nmov     rax, [rsp+arg_20]                                              ; +0x51, 0x1800ec7c1\ntest    rax, rax                                                       ; +0x56, 0x1800ec7c6\njz      short loc_1800EC7CE                                            ; +0x59, 0x1800ec7c9\nmov     byte ptr [rax], 0                                              ; +0x5b, 0x1800ec7cb\nxor     eax, eax                                                       ; +0x5e, 0x1800ec7ce\nretn                                                                   ; +0x60, 0x1800ec7d0", "xrefs": ["<???> @ 0x1801aff28"], "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"}