{"type": "func", "start": 6442564688, "end": 6442564822, "name": "sub_18001BC50", "pseudocode": "// \n// sub_18001BC50 from 0x18001bc50 to 0x18001bcd6 (134 bytes)\n// \n// 5 xrefs:\n// > sub_1800183A0 @ 0x1800183b6\n// > sub_180018DF0 @ 0x18001bba1\n// > sub_18001CAB0 @ 0x18001cad0\n// > sub_18001CAB0 @ 0x18001cb58\n// > <???> @ 0x1801f7314\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n__int64 __fastcall sub_18001BC50(__int64 a1)\n{\n  int v2; // r8d\n  int v3; // eax\n  __int64 v4; // rcx\n\n  sub_1800D5500();\n  v2 = *(_DWORD *)(a1 + 2292);\n  v3 = *(_DWORD *)(a1 + 3068);\n  do\n  {\n    v4 = *(unsigned __int8 *)(v3 + a1 + 656);\n    if ( (int)v4 < v2 )\n      goto LABEL_6;\n    *(_DWORD *)(a1 + 3068) = ++v3;\n    if ( v3 >= *(_DWORD *)(a1 + 2284) )\n      goto LABEL_7;\n  }\n  while ( v3 < 255 );\n  if ( (int)v4 < v2 )\n  {\nLABEL_6:\n    *(_QWORD *)(a1 + 17440) = *(_QWORD *)(*(_QWORD *)(a1 + 632) + 16 * v4 + 8);\n    sub_18001CBE0(a1);\n    return 0;\n  }\nLABEL_7:\n  *(_WORD *)(a1 + 3048) = 256;\n  return 19;\n}", "assembly": "; \n; sub_18001BC50 from 0x18001bc50 to 0x18001bcd6 (134 bytes)\n; \n; 5 xrefs:\n; > sub_1800183A0 @ 0x1800183b6\n; > sub_180018DF0 @ 0x18001bba1\n; > sub_18001CAB0 @ 0x18001cad0\n; > sub_18001CAB0 @ 0x18001cb58\n; > <???> @ 0x1801f7314\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbx                                                            ; +0x0, 0x18001bc50\nsub     rsp, 20h                                                       ; +0x2, 0x18001bc52\nmov     rbx, rcx                                                       ; +0x6, 0x18001bc56\ncall    sub_1800D5500                                                  ; +0x9, 0x18001bc59\nmov     r8d, [rbx+8F4h]                                                ; +0xe, 0x18001bc5e\nmov     eax, [rbx+0BFCh]                                               ; +0x15, 0x18001bc65\nnop     dword ptr [rax+rax+00h]                                        ; +0x1b, 0x18001bc6b\nmovsxd  rdx, eax                                                       ; +0x20, 0x18001bc70\nmovzx   ecx, byte ptr [rdx+rbx+290h]                                   ; +0x23, 0x18001bc73\ncmp     ecx, r8d                                                       ; +0x2b, 0x18001bc7b\njl      short loc_18001BC9C                                            ; +0x2e, 0x18001bc7e\ninc     eax                                                            ; +0x30, 0x18001bc80\nmov     [rbx+0BFCh], eax                                               ; +0x32, 0x18001bc82\ncmp     eax, [rbx+8ECh]                                                ; +0x38, 0x18001bc88\njge     short loc_18001BCC2                                            ; +0x3e, 0x18001bc8e\ncmp     eax, 0FFh                                                      ; +0x40, 0x18001bc90\njl      short loc_18001BC70                                            ; +0x45, 0x18001bc95\ncmp     ecx, r8d                                                       ; +0x47, 0x18001bc97\njge     short loc_18001BCC2                                            ; +0x4a, 0x18001bc9a\nmov     rax, [rbx+278h]                                                ; +0x4c, 0x18001bc9c\nadd     rcx, rcx                                                       ; +0x53, 0x18001bca3\nmov     rcx, [rax+rcx*8+8]                                             ; +0x56, 0x18001bca6\nmov     [rbx+4420h], rcx                                               ; +0x5b, 0x18001bcab\nmov     rcx, rbx                                                       ; +0x62, 0x18001bcb2\ncall    sub_18001CBE0                                                  ; +0x65, 0x18001bcb5\nxor     eax, eax                                                       ; +0x6a, 0x18001bcba\nadd     rsp, 20h                                                       ; +0x6c, 0x18001bcbc\npop     rbx                                                            ; +0x70, 0x18001bcc0\nretn                                                                   ; +0x71, 0x18001bcc1\nmov     word ptr [rbx+0BE8h], 100h                                     ; +0x72, 0x18001bcc2\nmov     eax, 13h                                                       ; +0x7b, 0x18001bccb\nadd     rsp, 20h                                                       ; +0x80, 0x18001bcd0\npop     rbx                                                            ; +0x84, 0x18001bcd4\nretn                                                                   ; +0x85, 0x18001bcd5", "xrefs": ["sub_1800183A0 @ 0x1800183b6", "sub_180018DF0 @ 0x18001bba1", "sub_18001CAB0 @ 0x18001cad0", "sub_18001CAB0 @ 0x18001cb58", "<???> @ 0x1801f7314"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}