//
// sub_100574104 from 0x100574104 to 0x10057413c (56 bytes)
//
// 2 xrefs:
// > sub_10055CD64 @ 0x10055dcd4
// > sub_10057DB80 @ 0x10057dbd4
//
// 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_100574104(_BYTE *result, _BYTE *a2, __int64 a3)
{
int v3; // w8
for ( ; a3; --a3 )
{
v3 = (unsigned __int8)*a2;
if ( (unsigned int)(v3 - 97) <= 0x19 )
LOBYTE(v3) = v3 - 32;
*result = v3;
if ( !*a2 )
break;
++a2;
++result;
}
return result;
}