{"type": "func", "start": 6443344384, "end": 6443344498, "name": "sub_1800DA200", "pseudocode": "// \n// sub_1800DA200 from 0x1800da200 to 0x1800da272 (114 bytes)\n// \n// 4 xrefs:\n// > sub_180113200 @ 0x180113237\n// > sub_180113270 @ 0x1801132c1\n// > sub_180113300 @ 0x18011335d\n// > <???> @ 0x1801ff210\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\nunsigned __int8 (__fastcall ***__fastcall sub_1800DA200(__int64 a1, char a2))(_QWORD)\n{\n  _QWORD *v2; // rbx\n  _QWORD *v3; // rsi\n  unsigned __int8 (__fastcall ***v5)(_QWORD); // rdi\n\n  v2 = *(_QWORD **)(a1 + 40);\n  v3 = (_QWORD *)(a1 + 40);\n  if ( v2 == (_QWORD *)(a1 + 40) )\n    return nullptr;\n  while ( 1 )\n  {\n    v5 = (unsigned __int8 (__fastcall ***)(_QWORD))(v2 - 1);\n    if ( !v2 )\n      v5 = nullptr;\n    if ( (**v5)(v5) == a2 )\n      break;\n    v2 = (_QWORD *)*v2;\n    if ( v2 == v3 )\n      return nullptr;\n  }\n  return v5;\n}", "assembly": "; \n; sub_1800DA200 from 0x1800da200 to 0x1800da272 (114 bytes)\n; \n; 4 xrefs:\n; > sub_180113200 @ 0x180113237\n; > sub_180113270 @ 0x1801132c1\n; > sub_180113300 @ 0x18011335d\n; > <???> @ 0x1801ff210\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1800da200\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x1800da205\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x1800da20a\nmov     [rsp+arg_18], rdi                                              ; +0xf, 0x1800da20f\npush    r14                                                            ; +0x14, 0x1800da214\nsub     rsp, 20h                                                       ; +0x16, 0x1800da216\nmov     rbx, [rcx+28h]                                                 ; +0x1a, 0x1800da21a\nlea     rsi, [rcx+28h]                                                 ; +0x1e, 0x1800da21e\nmovzx   ebp, dl                                                        ; +0x22, 0x1800da222\ncmp     rbx, rsi                                                       ; +0x25, 0x1800da225\njz      short loc_1800DA250                                            ; +0x28, 0x1800da228\nxor     r14d, r14d                                                     ; +0x2a, 0x1800da22a\nnop     dword ptr [rax]                                                ; +0x2d, 0x1800da22d\ntest    rbx, rbx                                                       ; +0x30, 0x1800da230\nlea     rdi, [rbx-8]                                                   ; +0x33, 0x1800da233\ncmovz   rdi, r14                                                       ; +0x37, 0x1800da237\nmov     rcx, rdi                                                       ; +0x3b, 0x1800da23b\nmov     rax, [rdi]                                                     ; +0x3e, 0x1800da23e\ncall    qword ptr [rax]                                                ; +0x41, 0x1800da241\ncmp     al, bpl                                                        ; +0x43, 0x1800da243\njz      short loc_1800DA26D                                            ; +0x46, 0x1800da246\nmov     rbx, [rbx]                                                     ; +0x48, 0x1800da248\ncmp     rbx, rsi                                                       ; +0x4b, 0x1800da24b\njnz     short loc_1800DA230                                            ; +0x4e, 0x1800da24e\nxor     eax, eax                                                       ; +0x50, 0x1800da250\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x52, 0x1800da252\nmov     rbp, [rsp+28h+arg_8]                                           ; +0x57, 0x1800da257\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x5c, 0x1800da25c\nmov     rdi, [rsp+28h+arg_18]                                          ; +0x61, 0x1800da261\nadd     rsp, 20h                                                       ; +0x66, 0x1800da266\npop     r14                                                            ; +0x6a, 0x1800da26a\nretn                                                                   ; +0x6c, 0x1800da26c\nmov     rax, rdi                                                       ; +0x6d, 0x1800da26d\njmp     short loc_1800DA252                                            ; +0x70, 0x1800da270", "xrefs": ["sub_180113200 @ 0x180113237", "sub_180113270 @ 0x1801132c1", "sub_180113300 @ 0x18011335d", "<???> @ 0x1801ff210"], "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"}