{"type": "func", "start": 6443352144, "end": 6443352250, "name": "sub_1800DC050", "pseudocode": "// \n// sub_1800DC050 from 0x1800dc050 to 0x1800dc0ba (106 bytes)\n// \n// 2 xrefs:\n// > sub_1800D5B40 @ 0x1800d62a7\n// > <???> @ 0x1801bad88\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\nint __fastcall sub_1800DC050(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_180009530(Buffer, \"03000000%.4s0000%.4s000000000000\", Destination, v4);\n  }\n  return result;\n}", "assembly": "; \n; sub_1800DC050 from 0x1800dc050 to 0x1800dc0ba (106 bytes)\n; \n; 2 xrefs:\n; > sub_1800D5B40 @ 0x1800d62a7\n; > <???> @ 0x1801bad88\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, 0x1800dc050\nsub     rsp, 50h                                                       ; +0x2, 0x1800dc052\nmov     rax, cs:__security_cookie                                      ; +0x6, 0x1800dc056\nxor     rax, rsp                                                       ; +0xd, 0x1800dc05d\nmov     [rsp+58h+var_10], rax                                          ; +0x10, 0x1800dc060\nmov     rbx, rcx                                                       ; +0x15, 0x1800dc065\nlea     rdx, a504944564944; \"504944564944\"                             ; +0x18, 0x1800dc068\nadd     rcx, 14h; Str1                                                 ; +0x1f, 0x1800dc06f\ncall    strcmp                                                         ; +0x23, 0x1800dc073\ntest    eax, eax                                                       ; +0x28, 0x1800dc078\njnz     short loc_1800DC0A7                                            ; +0x2a, 0x1800dc07a\nlea     r8d, [rax+20h]; Count                                          ; +0x2c, 0x1800dc07c\nmov     rdx, rbx; Source                                               ; +0x30, 0x1800dc080\nlea     rcx, [rsp+58h+Destination]; Destination                        ; +0x33, 0x1800dc083\ncall    cs:strncpy                                                     ; +0x38, 0x1800dc088\nlea     r9, [rsp+58h+var_34]                                           ; +0x3e, 0x1800dc08e\nmov     rcx, rbx; Buffer                                               ; +0x43, 0x1800dc093\nlea     r8, [rsp+58h+Destination]                                      ; +0x46, 0x1800dc096\nlea     rdx, a030000004s0000; \"03000000%.4s0000%.4s000000000000\"       ; +0x4b, 0x1800dc09b\ncall    sub_180009530                                                  ; +0x52, 0x1800dc0a2\nmov     rcx, [rsp+58h+var_10]                                          ; +0x57, 0x1800dc0a7\nxor     rcx, rsp; StackCookie                                          ; +0x5c, 0x1800dc0ac\ncall    __security_check_cookie                                        ; +0x5f, 0x1800dc0af\nadd     rsp, 50h                                                       ; +0x64, 0x1800dc0b4\npop     rbx                                                            ; +0x68, 0x1800dc0b8\nretn                                                                   ; +0x69, 0x1800dc0b9", "xrefs": ["sub_1800D5B40 @ 0x1800d62a7", "<???> @ 0x1801bad88"], "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"}