//
// sub_1004C6F58 from 0x1004c6f58 to 0x1004c6f90 (56 bytes)
//
// 3 xrefs:
// > sub_10047A220 @ 0x10047a330
// > sub_10047A4EC @ 0x10047a640
// > sub_10047A738 @ 0x10047a874
//
// 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_1004C6F58(_BYTE *result)
{
char v1; // w8
unsigned __int8 *v2; // x9
int v3; // t1
v1 = *result;
if ( *result )
{
v2 = result + 1;
do
{
if ( (unsigned __int8)(v1 - 97) <= 0x19u )
*(v2 - 1) = v1 - 32;
v3 = *v2++;
v1 = v3;
}
while ( v3 );
}
return result;
}