//
// sub_1005ED0C0 from 0x1005ed0c0 to 0x1005ed0f8 (56 bytes)
//
// 3 xrefs:
// > sub_1005A0388 @ 0x1005a0498
// > sub_1005A0654 @ 0x1005a07a8
// > sub_1005A08A0 @ 0x1005a09dc
//
// This function is hookable on this platform (idp: arm, 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:09:46 +0000
//
_BYTE *__fastcall sub_1005ED0C0(_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;
}