{"type": "func", "start": 6443377440, "end": 6443377640, "name": "sub_1800E2320", "pseudocode": "// \n// sub_1800E2320 from 0x1800e2320 to 0x1800e23e8 (200 bytes)\n// \n// 11 xrefs:\n// > sub_1800933C0 @ 0x180093491\n// > sub_1800BCAD0 @ 0x1800bcc66\n// > sub_1800FE610 @ 0x1800fef62\n// > sub_1800FE610 @ 0x1800ff714\n// > sub_1800FE610 @ 0x1800ffcb4\n// > sub_1800FE610 @ 0x1800fff1f\n// > sub_180102260 @ 0x1801022c2\n// > sub_180102340 @ 0x180102383\n// > <???> @ 0x18018d314\n// > <???> @ 0x18018d328\n// > <???> @ 0x1801ff9cc\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:16 +0000\n// \n\n__int64 __fastcall sub_1800E2320(__int64 a1, unsigned int a2, __int64 a3, __int64 a4)\n{\n  char v7; // r14\n  int v9; // edi\n  _QWORD *v10; // rbx\n  __int64 (__fastcall *v11)(__int64, _QWORD, __int64, __int64, _QWORD); // r10\n  unsigned int v12; // esi\n\n  v7 = 0;\n  if ( a1 )\n  {\n    sub_1801021C0(a1, 21);\n    v7 = 1;\n  }\n  v9 = 0;\n  v10 = (_QWORD *)(a1 + 69600);\n  while ( 1 )\n  {\n    v11 = (__int64 (__fastcall *)(__int64, _QWORD, __int64, __int64, _QWORD))*(v10 - 1);\n    if ( v11 )\n    {\n      v12 = v11(a1, a2, a3, a4, *v10);\n      if ( v12 )\n        break;\n    }\n    ++v9;\n    ++v10;\n    if ( v9 >= 1 )\n    {\n      v12 = 0;\n      break;\n    }\n  }\n  if ( v7 && a1 )\n    sub_180102300(a1, 21);\n  return v12;\n}", "assembly": "; \n; sub_1800E2320 from 0x1800e2320 to 0x1800e23e8 (200 bytes)\n; \n; 11 xrefs:\n; > sub_1800933C0 @ 0x180093491\n; > sub_1800BCAD0 @ 0x1800bcc66\n; > sub_1800FE610 @ 0x1800fef62\n; > sub_1800FE610 @ 0x1800ff714\n; > sub_1800FE610 @ 0x1800ffcb4\n; > sub_1800FE610 @ 0x1800fff1f\n; > sub_180102260 @ 0x1801022c2\n; > sub_180102340 @ 0x180102383\n; > <???> @ 0x18018d314\n; > <???> @ 0x18018d328\n; > <???> @ 0x1801ff9cc\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:16 +0000\n; \npush    rbp                                                            ; +0x0, 0x1800e2320\nsub     rsp, 50h                                                       ; +0x2, 0x1800e2322\nmov     [rsp+58h+arg_0], rbx                                           ; +0x6, 0x1800e2326\nmov     rbp, rcx                                                       ; +0xb, 0x1800e232b\nmov     [rsp+58h+arg_10], rdi                                          ; +0xe, 0x1800e232e\nmov     [rsp+58h+var_10], r12                                          ; +0x13, 0x1800e2333\nmov     r12, r8                                                        ; +0x18, 0x1800e2338\nmov     [rsp+58h+var_18], r13                                          ; +0x1b, 0x1800e233b\nmov     r13d, edx                                                      ; +0x20, 0x1800e2340\nmov     [rsp+58h+var_20], r14                                          ; +0x23, 0x1800e2343\nxor     r14b, r14b                                                     ; +0x28, 0x1800e2348\nmov     [rsp+58h+var_28], r15                                          ; +0x2b, 0x1800e234b\nmov     r15, r9                                                        ; +0x30, 0x1800e2350\ntest    rcx, rcx                                                       ; +0x33, 0x1800e2353\njz      short loc_1800E2365                                            ; +0x36, 0x1800e2356\nmov     edx, 15h                                                       ; +0x38, 0x1800e2358\ncall    sub_1801021C0                                                  ; +0x3d, 0x1800e235d\nmov     r14b, 1                                                        ; +0x42, 0x1800e2362\nxor     edi, edi                                                       ; +0x45, 0x1800e2365\nmov     [rsp+58h+arg_8], rsi                                           ; +0x47, 0x1800e2367\nlea     rbx, [rbp+10FE0h]                                              ; +0x4c, 0x1800e236c\nmov     r10, [rbx-8]                                                   ; +0x53, 0x1800e2373\ntest    r10, r10                                                       ; +0x57, 0x1800e2377\njz      short loc_1800E2399                                            ; +0x5a, 0x1800e237a\nmov     rax, [rbx]                                                     ; +0x5c, 0x1800e237c\nmov     r9, r15                                                        ; +0x5f, 0x1800e237f\nmov     r8, r12                                                        ; +0x62, 0x1800e2382\nmov     [rsp+58h+var_38], rax                                          ; +0x65, 0x1800e2385\nmov     edx, r13d                                                      ; +0x6a, 0x1800e238a\nmov     rcx, rbp                                                       ; +0x6d, 0x1800e238d\ncall    r10                                                            ; +0x70, 0x1800e2390\nmov     esi, eax                                                       ; +0x73, 0x1800e2393\ntest    eax, eax                                                       ; +0x75, 0x1800e2395\njnz     short loc_1800E23A6                                            ; +0x77, 0x1800e2397\ninc     edi                                                            ; +0x79, 0x1800e2399\nadd     rbx, 8                                                         ; +0x7b, 0x1800e239b\ncmp     edi, 1                                                         ; +0x7f, 0x1800e239f\njl      short loc_1800E2373                                            ; +0x82, 0x1800e23a2\nxor     esi, esi                                                       ; +0x84, 0x1800e23a4\nmov     r15, [rsp+58h+var_28]                                          ; +0x86, 0x1800e23a6\ntest    r14b, r14b                                                     ; +0x8b, 0x1800e23ab\nmov     r14, [rsp+58h+var_20]                                          ; +0x8e, 0x1800e23ae\nmov     r13, [rsp+58h+var_18]                                          ; +0x93, 0x1800e23b3\nmov     r12, [rsp+58h+var_10]                                          ; +0x98, 0x1800e23b8\nmov     rdi, [rsp+58h+arg_10]                                          ; +0x9d, 0x1800e23bd\nmov     rbx, [rsp+58h+arg_0]                                           ; +0xa2, 0x1800e23c2\njz      short loc_1800E23DB                                            ; +0xa7, 0x1800e23c7\ntest    rbp, rbp                                                       ; +0xa9, 0x1800e23c9\njz      short loc_1800E23DB                                            ; +0xac, 0x1800e23cc\nmov     edx, 15h                                                       ; +0xae, 0x1800e23ce\nmov     rcx, rbp                                                       ; +0xb3, 0x1800e23d3\ncall    sub_180102300                                                  ; +0xb6, 0x1800e23d6\nmov     eax, esi                                                       ; +0xbb, 0x1800e23db\nmov     rsi, [rsp+58h+arg_8]                                           ; +0xbd, 0x1800e23dd\nadd     rsp, 50h                                                       ; +0xc2, 0x1800e23e2\npop     rbp                                                            ; +0xc6, 0x1800e23e6\nretn                                                                   ; +0xc7, 0x1800e23e7", "xrefs": ["sub_1800933C0 @ 0x180093491", "sub_1800BCAD0 @ 0x1800bcc66", "sub_1800FE610 @ 0x1800fef62", "sub_1800FE610 @ 0x1800ff714", "sub_1800FE610 @ 0x1800ffcb4", "sub_1800FE610 @ 0x1800fff1f", "sub_180102260 @ 0x1801022c2", "sub_180102340 @ 0x180102383", "<???> @ 0x18018d314", "<???> @ 0x18018d328", "<???> @ 0x1801ff9cc"], "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"}