//
// sub_1004C790C from 0x1004c790c to 0x1004c7938 (44 bytes)
//
// 1 xrefs:
// > sub_10043FA1C @ 0x100440450
//
// 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
//
_BYTE *__fastcall sub_1004C790C(_BYTE *result)
{
char v1; // w8
_BYTE *v2; // x9
unsigned __int8 *v3; // x10
int v4; // t1
if ( result )
{
v1 = *result;
v2 = result;
if ( *result )
{
v3 = result + 2;
v2 = result;
do
{
*v2++ = v1;
v4 = *v3;
v3 += 2;
v1 = v4;
}
while ( v4 );
}
*v2 = 0;
}
return result;
}