{"type": "func", "start": 6443361984, "end": 6443362090, "name": "sub_1800DE6C0", "pseudocode": "// \n// sub_1800DE6C0 from 0x1800de6c0 to 0x1800de72a (106 bytes)\n// \n// 2 xrefs:\n// > sub_1800DD870 @ 0x1800ddfd7\n// > <???> @ 0x1801c4fec\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:35 +0000\n// \n\nint __fastcall sub_1800DE6C0(char *Buffer)\n{\n  int result; // eax\n  char Destination[4]; // [rsp+20h] [rbp-38h] BYREF\n  char v4[36]; // [rsp+24h] [rbp-34h] BYREF\n\n  result = strcmp(Buffer + 20, \"504944564944\");\n  if ( !result )\n  {\n    strncpy(Destination, Buffer, 0x20u);\n    return sub_1800095F0(Buffer, \"03000000%.4s0000%.4s000000000000\", Destination, v4);\n  }\n  return result;\n}", "assembly": "; \n; sub_1800DE6C0 from 0x1800de6c0 to 0x1800de72a (106 bytes)\n; \n; 2 xrefs:\n; > sub_1800DD870 @ 0x1800ddfd7\n; > <???> @ 0x1801c4fec\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:35 +0000\n; \npush    rbx                                                            ; +0x0, 0x1800de6c0\nsub     rsp, 50h                                                       ; +0x2, 0x1800de6c2\nmov     rax, cs:__security_cookie                                      ; +0x6, 0x1800de6c6\nxor     rax, rsp                                                       ; +0xd, 0x1800de6cd\nmov     [rsp+58h+var_10], rax                                          ; +0x10, 0x1800de6d0\nmov     rbx, rcx                                                       ; +0x15, 0x1800de6d5\nlea     rdx, a504944564944; \"504944564944\"                             ; +0x18, 0x1800de6d8\nadd     rcx, 14h; Str1                                                 ; +0x1f, 0x1800de6df\ncall    strcmp                                                         ; +0x23, 0x1800de6e3\ntest    eax, eax                                                       ; +0x28, 0x1800de6e8\njnz     short loc_1800DE717                                            ; +0x2a, 0x1800de6ea\nlea     r8d, [rax+20h]; Count                                          ; +0x2c, 0x1800de6ec\nmov     rdx, rbx; Source                                               ; +0x30, 0x1800de6f0\nlea     rcx, [rsp+58h+Destination]; Destination                        ; +0x33, 0x1800de6f3\ncall    cs:strncpy                                                     ; +0x38, 0x1800de6f8\nlea     r9, [rsp+58h+var_34]                                           ; +0x3e, 0x1800de6fe\nmov     rcx, rbx; Buffer                                               ; +0x43, 0x1800de703\nlea     r8, [rsp+58h+Destination]                                      ; +0x46, 0x1800de706\nlea     rdx, a030000004s0000; \"03000000%.4s0000%.4s000000000000\"       ; +0x4b, 0x1800de70b\ncall    sub_1800095F0                                                  ; +0x52, 0x1800de712\nmov     rcx, [rsp+58h+var_10]                                          ; +0x57, 0x1800de717\nxor     rcx, rsp; StackCookie                                          ; +0x5c, 0x1800de71c\ncall    __security_check_cookie                                        ; +0x5f, 0x1800de71f\nadd     rsp, 50h                                                       ; +0x64, 0x1800de724\npop     rbx                                                            ; +0x68, 0x1800de728\nretn                                                                   ; +0x69, 0x1800de729", "xrefs": ["sub_1800DD870 @ 0x1800ddfd7", "<???> @ 0x1801c4fec"], "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"}