//
// sub_1800DC050 from 0x1800dc050 to 0x1800dc0ba (106 bytes)
//
// 2 xrefs:
// > sub_1800D5B40 @ 0x1800d62a7
// > ??> @ 0x1801bad88
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
int __fastcall sub_1800DC050(char *Buffer)
{
int result; // eax
char Destination[4]; // [rsp+20h] [rbp-38h] BYREF
char v4[36]; // [rsp+24h] [rbp-34h] BYREF
result = strcmp(Buffer + 20, "504944564944");
if ( !result )
{
strncpy(Destination, Buffer, 0x20u);
return sub_180009530(Buffer, "03000000%.4s0000%.4s000000000000", Destination, v4);
}
return result;
}