{"type": "func", "start": 6443333936, "end": 6443334048, "name": "sub_1800D7930", "pseudocode": "// \n// sub_1800D7930 from 0x1800d7930 to 0x1800d79a0 (112 bytes)\n// \n// 9 xrefs:\n// > sub_1800E0080 @ 0x1800e00c2\n// > sub_1800E0750 @ 0x1800e0b42\n// > sub_1800E0750 @ 0x1800e0b79\n// > sub_1800E0750 @ 0x1800e0bb0\n// > sub_1800E0750 @ 0x1800e0be7\n// > sub_1800E0750 @ 0x1800e0c1e\n// > sub_1800E0750 @ 0x1800e0c55\n// > sub_1800E1110 @ 0x1800e1136\n// > <???> @ 0x1801c4914\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 11:22:33 +0000\n// \n\n__int64 __fastcall sub_1800D7930(char *SubStr, char *Str)\n{\n  char *v2; // rdi\n  char *v4; // rax\n  __int64 v5; // rcx\n  const char *v6; // rcx\n\n  v2 = Str;\n  v4 = strstr(Str, SubStr);\n  if ( !v4 )\n    return 0;\n  while ( 1 )\n  {\n    v5 = -1;\n    do\n      ++v5;\n    while ( SubStr[v5] );\n    v6 = &v4[v5];\n    if ( (v4 == v2 || *(v4 - 1) == 32) && (*v6 & 0xDF) == 0 )\n      break;\n    v2 = (char *)v6;\n    v4 = strstr(v6, SubStr);\n    if ( !v4 )\n      return 0;\n  }\n  return 1;\n}", "assembly": "; \n; sub_1800D7930 from 0x1800d7930 to 0x1800d79a0 (112 bytes)\n; \n; 9 xrefs:\n; > sub_1800E0080 @ 0x1800e00c2\n; > sub_1800E0750 @ 0x1800e0b42\n; > sub_1800E0750 @ 0x1800e0b79\n; > sub_1800E0750 @ 0x1800e0bb0\n; > sub_1800E0750 @ 0x1800e0be7\n; > sub_1800E0750 @ 0x1800e0c1e\n; > sub_1800E0750 @ 0x1800e0c55\n; > sub_1800E1110 @ 0x1800e1136\n; > <???> @ 0x1801c4914\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 11:22:33 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1800d7930\npush    rdi                                                            ; +0x5, 0x1800d7935\nsub     rsp, 20h                                                       ; +0x6, 0x1800d7936\nmov     rdi, rdx                                                       ; +0xa, 0x1800d793a\nmov     rbx, rcx                                                       ; +0xd, 0x1800d793d\nmov     rdx, rcx; SubStr                                               ; +0x10, 0x1800d7940\nmov     rcx, rdi; Str                                                  ; +0x13, 0x1800d7943\ncall    strstr                                                         ; +0x16, 0x1800d7946\ntest    rax, rax                                                       ; +0x1b, 0x1800d794b\njz      short loc_1800D7983                                            ; +0x1e, 0x1800d794e\nmov     rcx, 0FFFFFFFFFFFFFFFFh                                        ; +0x20, 0x1800d7950\ninc     rcx                                                            ; +0x27, 0x1800d7957\ncmp     byte ptr [rbx+rcx], 0                                          ; +0x2a, 0x1800d795a\njnz     short loc_1800D7957                                            ; +0x2e, 0x1800d795e\nadd     rcx, rax; Str                                                  ; +0x30, 0x1800d7960\ncmp     rax, rdi                                                       ; +0x33, 0x1800d7963\njz      short loc_1800D796E                                            ; +0x36, 0x1800d7966\ncmp     byte ptr [rax-1], 20h ; ' '                                    ; +0x38, 0x1800d7968\njnz     short loc_1800D7973                                            ; +0x3c, 0x1800d796c\ntest    byte ptr [rcx], 0DFh                                           ; +0x3e, 0x1800d796e\njz      short loc_1800D7990                                            ; +0x41, 0x1800d7971\nmov     rdx, rbx; SubStr                                               ; +0x43, 0x1800d7973\nmov     rdi, rcx                                                       ; +0x46, 0x1800d7976\ncall    strstr                                                         ; +0x49, 0x1800d7979\ntest    rax, rax                                                       ; +0x4e, 0x1800d797e\njnz     short loc_1800D7950                                            ; +0x51, 0x1800d7981\nxor     eax, eax                                                       ; +0x53, 0x1800d7983\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x55, 0x1800d7985\nadd     rsp, 20h                                                       ; +0x5a, 0x1800d798a\npop     rdi                                                            ; +0x5e, 0x1800d798e\nretn                                                                   ; +0x5f, 0x1800d798f\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x60, 0x1800d7990\nmov     eax, 1                                                         ; +0x65, 0x1800d7995\nadd     rsp, 20h                                                       ; +0x6a, 0x1800d799a\npop     rdi                                                            ; +0x6e, 0x1800d799e\nretn                                                                   ; +0x6f, 0x1800d799f", "xrefs": ["sub_1800E0080 @ 0x1800e00c2", "sub_1800E0750 @ 0x1800e0b42", "sub_1800E0750 @ 0x1800e0b79", "sub_1800E0750 @ 0x1800e0bb0", "sub_1800E0750 @ 0x1800e0be7", "sub_1800E0750 @ 0x1800e0c1e", "sub_1800E0750 @ 0x1800e0c55", "sub_1800E1110 @ 0x1800e1136", "<???> @ 0x1801c4914"], "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"}