{"type": "func", "start": 6443373264, "end": 6443373365, "name": "sub_1800E12D0", "pseudocode": "// \n// sub_1800E12D0 from 0x1800e12d0 to 0x1800e1335 (101 bytes)\n// \n// 6 xrefs:\n// > sub_180017410 @ 0x1800175de\n// > sub_18002A220 @ 0x18002a2ba\n// > sub_18003C860 @ 0x18003c8ef\n// > sub_1800DE3F0 @ 0x1800de6e0\n// > sub_1800DE900 @ 0x1800de987\n// > <???> @ 0x1801ff924\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:15 +0000\n// \n\n__int64 __fastcall sub_1800E12D0(__int64 *a1)\n{\n  __int64 v1; // rax\n  int v2; // ebx\n  int v5; // [rsp+30h] [rbp+8h] BYREF\n  __int64 v6; // [rsp+38h] [rbp+10h] BYREF\n\n  v1 = *a1;\n  v2 = 0;\n  v5 = 0;\n  if ( !(*(unsigned int (__fastcall **)(__int64 *, int *))(v1 + 232))(a1, &v5) && v5 > 0 )\n  {\n    do\n    {\n      if ( !(*(unsigned int (__fastcall **)(__int64 *, _QWORD, __int64 *))(*a1 + 240))(a1, (unsigned int)v2, &v6) )\n        *(_WORD *)(v6 + 54) = v2;\n      ++v2;\n    }\n    while ( v2 < v5 );\n  }\n  return 0;\n}", "assembly": "; \n; sub_1800E12D0 from 0x1800e12d0 to 0x1800e1335 (101 bytes)\n; \n; 6 xrefs:\n; > sub_180017410 @ 0x1800175de\n; > sub_18002A220 @ 0x18002a2ba\n; > sub_18003C860 @ 0x18003c8ef\n; > sub_1800DE3F0 @ 0x1800de6e0\n; > sub_1800DE900 @ 0x1800de987\n; > <???> @ 0x1801ff924\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:15 +0000\n; \nmov     [rsp+arg_10], rbx                                              ; +0x0, 0x1800e12d0\npush    rdi                                                            ; +0x5, 0x1800e12d5\nsub     rsp, 20h                                                       ; +0x6, 0x1800e12d6\nmov     rax, [rcx]                                                     ; +0xa, 0x1800e12da\nlea     rdx, [rsp+28h+arg_0]                                           ; +0xd, 0x1800e12dd\nxor     ebx, ebx                                                       ; +0x12, 0x1800e12e2\nmov     rdi, rcx                                                       ; +0x14, 0x1800e12e4\nmov     [rsp+28h+arg_0], ebx                                           ; +0x17, 0x1800e12e7\ncall    qword ptr [rax+0E8h]                                           ; +0x1b, 0x1800e12eb\ntest    eax, eax                                                       ; +0x21, 0x1800e12f1\njnz     short loc_1800E1328                                            ; +0x23, 0x1800e12f3\ncmp     [rsp+28h+arg_0], ebx                                           ; +0x25, 0x1800e12f5\njle     short loc_1800E1328                                            ; +0x29, 0x1800e12f9\nnop     dword ptr [rax+rax+00h]                                        ; +0x2b, 0x1800e12fb\nmov     rax, [rdi]                                                     ; +0x30, 0x1800e1300\nlea     r8, [rsp+28h+arg_8]                                            ; +0x33, 0x1800e1303\nmov     edx, ebx                                                       ; +0x38, 0x1800e1308\nmov     rcx, rdi                                                       ; +0x3a, 0x1800e130a\ncall    qword ptr [rax+0F0h]                                           ; +0x3d, 0x1800e130d\ntest    eax, eax                                                       ; +0x43, 0x1800e1313\njnz     short loc_1800E1320                                            ; +0x45, 0x1800e1315\nmov     rax, [rsp+28h+arg_8]                                           ; +0x47, 0x1800e1317\nmov     [rax+36h], bx                                                  ; +0x4c, 0x1800e131c\ninc     ebx                                                            ; +0x50, 0x1800e1320\ncmp     ebx, [rsp+28h+arg_0]                                           ; +0x52, 0x1800e1322\njl      short loc_1800E1300                                            ; +0x56, 0x1800e1326\nmov     rbx, [rsp+28h+arg_10]                                          ; +0x58, 0x1800e1328\nxor     eax, eax                                                       ; +0x5d, 0x1800e132d\nadd     rsp, 20h                                                       ; +0x5f, 0x1800e132f\npop     rdi                                                            ; +0x63, 0x1800e1333\nretn                                                                   ; +0x64, 0x1800e1334", "xrefs": ["sub_180017410 @ 0x1800175de", "sub_18002A220 @ 0x18002a2ba", "sub_18003C860 @ 0x18003c8ef", "sub_1800DE3F0 @ 0x1800de6e0", "sub_1800DE900 @ 0x1800de987", "<???> @ 0x1801ff924"], "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"}