//
// sub_1800DE6C0 from 0x1800de6c0 to 0x1800de72a (106 bytes)
//
// 2 xrefs:
// > sub_1800DD870 @ 0x1800ddfd7
// > ??> @ 0x1801c4fec
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:22:35 +0000
//
int __fastcall sub_1800DE6C0(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_1800095F0(Buffer, "03000000%.4s0000%.4s000000000000", Destination, v4);
}
return result;
}