{"type": "func", "start": 6443419168, "end": 6443419241, "name": "sub_1800EC620", "pseudocode": "// \n// sub_1800EC620 from 0x1800ec620 to 0x1800ec669 (73 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1801afef8\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_1800EC620(__int64 *a1, int a2, int a3)\n{\n  __int64 v3; // rax\n\n  v3 = *a1;\n  if ( a2 )\n    return 31;\n  if ( a3 == -3 )\n  {\n    *(_BYTE *)(v3 + 3561) = 1;\n    return 0;\n  }\n  else if ( a3 == -2 )\n  {\n    *(_BYTE *)(v3 + 3562) = 1;\n    return 0;\n  }\n  else\n  {\n    if ( a3 == -1 )\n      *(_WORD *)(v3 + 3561) = 257;\n    else\n      *(_DWORD *)(v3 + 3692) = a3;\n    return 0;\n  }\n}", "assembly": "; \n; sub_1800EC620 from 0x1800ec620 to 0x1800ec669 (73 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1801afef8\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     rax, [rcx]                                                     ; +0x0, 0x1800ec620\ntest    edx, edx                                                       ; +0x3, 0x1800ec623\njz      short loc_1800EC62D                                            ; +0x5, 0x1800ec625\nmov     eax, 1Fh                                                       ; +0x7, 0x1800ec627\nretn                                                                   ; +0xc, 0x1800ec62c\ncmp     r8d, 0FFFFFFFDh                                                ; +0xd, 0x1800ec62d\njz      short loc_1800EC65F                                            ; +0x11, 0x1800ec631\ncmp     r8d, 0FFFFFFFEh                                                ; +0x13, 0x1800ec633\njz      short loc_1800EC655                                            ; +0x17, 0x1800ec637\ncmp     r8d, 0FFFFFFFFh                                                ; +0x19, 0x1800ec639\njz      short loc_1800EC649                                            ; +0x1d, 0x1800ec63d\nmov     [rax+0E6Ch], r8d                                               ; +0x1f, 0x1800ec63f\nxor     eax, eax                                                       ; +0x26, 0x1800ec646\nretn                                                                   ; +0x28, 0x1800ec648\nmov     word ptr [rax+0DE9h], 101h                                     ; +0x29, 0x1800ec649\nxor     eax, eax                                                       ; +0x32, 0x1800ec652\nretn                                                                   ; +0x34, 0x1800ec654\nmov     byte ptr [rax+0DEAh], 1                                        ; +0x35, 0x1800ec655\nxor     eax, eax                                                       ; +0x3c, 0x1800ec65c\nretn                                                                   ; +0x3e, 0x1800ec65e\nmov     byte ptr [rax+0DE9h], 1                                        ; +0x3f, 0x1800ec65f\nxor     eax, eax                                                       ; +0x46, 0x1800ec666\nretn                                                                   ; +0x48, 0x1800ec668", "xrefs": ["<???> @ 0x1801afef8"], "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"}