{"type": "func", "start": 6442800112, "end": 6442800265, "name": "sub_1800553F0", "pseudocode": "// \n// sub_1800553F0 from 0x1800553f0 to 0x180055489 (153 bytes)\n// \n// 4 xrefs:\n// > sub_1800FB080 @ 0x1800fb1ea\n// > sub_1801026E0 @ 0x180102954\n// > sub_1801026E0 @ 0x180102a3d\n// > <???> @ 0x1801f8ce8\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:53:19 +0000\n// \n\n__int64 __fastcall sub_1800553F0(__int64 a1)\n{\n  int v1; // edi\n  __int64 i; // rbx\n  __int64 v4; // rax\n  __int64 v5; // rax\n  char v7; // [rsp+30h] [rbp+8h] BYREF\n  char v8; // [rsp+40h] [rbp+18h] BYREF\n\n  v1 = 0;\n  if ( *(int *)(a1 + 12) <= 0 )\n    return 2;\n  for ( i = 0; ; ++i )\n  {\n    if ( !*(_BYTE *)(i + *(_QWORD *)(a1 + 32)) )\n    {\n      v4 = *(_QWORD *)(a1 + 24);\n      v7 = 0;\n      (*(void (__fastcall **)(_QWORD, char *))(**(_QWORD **)(v4 + 8 * i) + 48LL))(*(_QWORD *)(v4 + 8 * i), &v7);\n      if ( v7 )\n      {\n        v5 = *(_QWORD *)(a1 + 24);\n        v8 = 0;\n        (*(void (__fastcall **)(_QWORD, char *))(**(_QWORD **)(v5 + 8 * i) + 64LL))(*(_QWORD *)(v5 + 8 * i), &v8);\n        if ( v8 )\n          break;\n      }\n    }\n    if ( ++v1 >= *(_DWORD *)(a1 + 12) )\n      return 2;\n  }\n  return 0;\n}", "assembly": "; \n; sub_1800553F0 from 0x1800553f0 to 0x180055489 (153 bytes)\n; \n; 4 xrefs:\n; > sub_1800FB080 @ 0x1800fb1ea\n; > sub_1801026E0 @ 0x180102954\n; > sub_1801026E0 @ 0x180102a3d\n; > <???> @ 0x1801f8ce8\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:53:19 +0000\n; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x1800553f0\nmov     [rsp+arg_18], rsi                                              ; +0x5, 0x1800553f5\npush    rdi                                                            ; +0xa, 0x1800553fa\nsub     rsp, 20h                                                       ; +0xb, 0x1800553fb\nxor     edi, edi                                                       ; +0xf, 0x1800553ff\nmov     rsi, rcx                                                       ; +0x11, 0x180055401\ncmp     [rcx+0Ch], edi                                                 ; +0x14, 0x180055404\njle     short loc_180055462                                            ; +0x17, 0x180055407\nmov     ebx, edi                                                       ; +0x19, 0x180055409\nnop     dword ptr [rax+rax+00h]                                        ; +0x1b, 0x18005540b\nmov     rax, [rsi+20h]                                                 ; +0x20, 0x180055410\ncmp     byte ptr [rbx+rax], 0                                          ; +0x24, 0x180055414\njnz     short loc_180055458                                            ; +0x28, 0x180055418\nmov     rax, [rsi+18h]                                                 ; +0x2a, 0x18005541a\nlea     rdx, [rsp+28h+arg_0]                                           ; +0x2e, 0x18005541e\nmov     [rsp+28h+arg_0], 0                                             ; +0x33, 0x180055423\nmov     rcx, [rax+rbx*8]                                               ; +0x38, 0x180055428\nmov     rax, [rcx]                                                     ; +0x3c, 0x18005542c\ncall    qword ptr [rax+30h]                                            ; +0x3f, 0x18005542f\ncmp     [rsp+28h+arg_0], 0                                             ; +0x42, 0x180055432\njz      short loc_180055458                                            ; +0x47, 0x180055437\nmov     rax, [rsi+18h]                                                 ; +0x49, 0x180055439\nlea     rdx, [rsp+28h+arg_10]                                          ; +0x4d, 0x18005543d\nmov     [rsp+28h+arg_10], 0                                            ; +0x52, 0x180055442\nmov     rcx, [rax+rbx*8]                                               ; +0x57, 0x180055447\nmov     rax, [rcx]                                                     ; +0x5b, 0x18005544b\ncall    qword ptr [rax+40h]                                            ; +0x5e, 0x18005544e\ncmp     [rsp+28h+arg_10], 0                                            ; +0x61, 0x180055451\njnz     short loc_180055477                                            ; +0x66, 0x180055456\ninc     edi                                                            ; +0x68, 0x180055458\ninc     rbx                                                            ; +0x6a, 0x18005545a\ncmp     edi, [rsi+0Ch]                                                 ; +0x6d, 0x18005545d\njl      short loc_180055410                                            ; +0x70, 0x180055460\nmov     eax, 2                                                         ; +0x72, 0x180055462\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x77, 0x180055467\nmov     rsi, [rsp+28h+arg_18]                                          ; +0x7c, 0x18005546c\nadd     rsp, 20h                                                       ; +0x81, 0x180055471\npop     rdi                                                            ; +0x85, 0x180055475\nretn                                                                   ; +0x86, 0x180055476\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x87, 0x180055477\nxor     eax, eax                                                       ; +0x8c, 0x18005547c\nmov     rsi, [rsp+28h+arg_18]                                          ; +0x8e, 0x18005547e\nadd     rsp, 20h                                                       ; +0x93, 0x180055483\npop     rdi                                                            ; +0x97, 0x180055487\nretn                                                                   ; +0x98, 0x180055488", "xrefs": ["sub_1800FB080 @ 0x1800fb1ea", "sub_1801026E0 @ 0x180102954", "sub_1801026E0 @ 0x180102a3d", "<???> @ 0x1801f8ce8"], "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"}