{"type": "func", "start": 6442462736, "end": 6442462889, "name": "sub_180002E10", "pseudocode": "// \n// sub_180002E10 from 0x180002e10 to 0x180002ea9 (153 bytes)\n// \n// 5 xrefs:\n// > sub_180020500 @ 0x180020507\n// > <???> @ 0x18002f7e0\n// > <???> @ 0x18002f7f0\n// > <???> @ 0x18002f82b\n// > <???> @ 0x18004b180\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 12:15:35 +0000\n// \n\nvoid __fastcall sub_180002E10(_QWORD *a1)\n{\n  __int64 v2; // rbx\n  __int64 i; // rdi\n  _QWORD *v4; // rcx\n\n  if ( a1[1] )\n  {\n    v2 = a1[3];\n    for ( i = a1[4]; v2 != i; v2 += 32 )\n      sub_180003700(v2);\n    v4 = (_QWORD *)a1[1];\n    if ( (unsigned __int64)(32LL * a1[2]) >= 0x1000 )\n    {\n      if ( (unsigned __int64)v4 - *(v4 - 1) - 8 > 0x1F )\n        invoke_watson(nullptr, nullptr, nullptr, 0, 0);\n      v4 = (_QWORD *)*(v4 - 1);\n    }\n    j_j_free(v4);\n  }\n}", "assembly": "; \n; sub_180002E10 from 0x180002e10 to 0x180002ea9 (153 bytes)\n; \n; 5 xrefs:\n; > sub_180020500 @ 0x180020507\n; > <???> @ 0x18002f7e0\n; > <???> @ 0x18002f7f0\n; > <???> @ 0x18002f82b\n; > <???> @ 0x18004b180\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 12:15:35 +0000\n; \npush    rsi                                                            ; +0x0, 0x180002e10\nsub     rsp, 30h                                                       ; +0x2, 0x180002e12\ncmp     qword ptr [rcx+8], 0                                           ; +0x6, 0x180002e16\nmov     rsi, rcx                                                       ; +0xb, 0x180002e1b\njz      short loc_180002E89                                            ; +0xe, 0x180002e1e\nmov     [rsp+38h+arg_0], rbx                                           ; +0x10, 0x180002e20\nmov     rbx, [rcx+18h]                                                 ; +0x15, 0x180002e25\nmov     [rsp+38h+arg_8], rdi                                           ; +0x19, 0x180002e29\nmov     rdi, [rcx+20h]                                                 ; +0x1e, 0x180002e2e\ncmp     rbx, rdi                                                       ; +0x22, 0x180002e32\njz      short loc_180002E48                                            ; +0x25, 0x180002e35\nmov     rcx, rbx                                                       ; +0x27, 0x180002e37\ncall    sub_180003700                                                  ; +0x2a, 0x180002e3a\nadd     rbx, 20h ; ' '                                                 ; +0x2f, 0x180002e3f\ncmp     rbx, rdi                                                       ; +0x33, 0x180002e43\njnz     short loc_180002E37                                            ; +0x36, 0x180002e46\nmov     rdx, [rsi+10h]                                                 ; +0x38, 0x180002e48\nmov     rcx, [rsi+8]                                                   ; +0x3c, 0x180002e4c\nmov     rdi, [rsp+38h+arg_8]                                           ; +0x40, 0x180002e50\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x45, 0x180002e55\nshl     rdx, 5                                                         ; +0x4a, 0x180002e5a\ncmp     rdx, 1000h                                                     ; +0x4e, 0x180002e5e\njb      short loc_180002E7F                                            ; +0x55, 0x180002e65\nmov     rax, [rcx-8]                                                   ; +0x57, 0x180002e67\nadd     rdx, 27h ; '''                                                 ; +0x5b, 0x180002e6b\nsub     rcx, rax                                                       ; +0x5f, 0x180002e6f\nsub     rcx, 8                                                         ; +0x62, 0x180002e72\ncmp     rcx, 1Fh                                                       ; +0x66, 0x180002e76\nja      short loc_180002E8F                                            ; +0x6a, 0x180002e7a\nmov     rcx, rax; Block                                                ; +0x6c, 0x180002e7c\nadd     rsp, 30h                                                       ; +0x6f, 0x180002e7f\npop     rsi                                                            ; +0x73, 0x180002e83\njmp     j_j_free                                                       ; +0x74, 0x180002e84\nadd     rsp, 30h                                                       ; +0x79, 0x180002e89\npop     rsi                                                            ; +0x7d, 0x180002e8d\nretn                                                                   ; +0x7e, 0x180002e8e\nxor     r9d, r9d; LineNo                                               ; +0x7f, 0x180002e8f\nmov     [rsp+38h+Reserved], 0; Reserved                                ; +0x82, 0x180002e92\nxor     r8d, r8d; FileName                                             ; +0x8b, 0x180002e9b\nxor     edx, edx; FunctionName                                         ; +0x8e, 0x180002e9e\nxor     ecx, ecx; Expression                                           ; +0x90, 0x180002ea0\ncall    cs:_invoke_watson                                              ; +0x92, 0x180002ea2\ndb 0CCh                                                                ; +0x98, 0x180002ea8", "xrefs": ["sub_180020500 @ 0x180020507", "<???> @ 0x18002f7e0", "<???> @ 0x18002f7f0", "<???> @ 0x18002f82b", "<???> @ 0x18004b180"], "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"}