//
// sub_10030D840 from 0x10030d840 to 0x10030d8ba (122 bytes)
//
// 0 xrefs:
//
// 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
//
char *__fastcall sub_10030D840(char *__dst, char *__s, __int64 a3)
{
int v5; // eax
const char *v6; // rsi
char *result; // rax
*((_QWORD *)__dst + 32) = 0;
v5 = strlen(__s);
v6 = &__s[v5 - 1 - 255];
if ( v5 < 257 )
v6 = __s;
result = strcpy(__dst, v6);
*((_QWORD *)__dst + 33) = a3;
*((_OWORD *)__dst + 17) = 0;
*((_OWORD *)__dst + 18) = 0;
*((_OWORD *)__dst + 19) = 0;
*((_QWORD *)__dst + 40) = 0;
return result;
}