//
// sub_457158 from 0x457158 to 0x457198 (64 bytes)
//
// 8 xrefs:
// > songNameCompare @ 0x4571c4
// > songNameCompare @ 0x4571ce
// > sfxNameCompare @ 0x457238
// > sfxNameCompare @ 0x457242
// > sfxNameCompareDesc @ 0x4572ac
// > sfxNameCompareDesc @ 0x4572b6
// > optionsStrCompare @ 0x45730e
// > optionsStrCompare @ 0x457318
//
// 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
//
int __fastcall sub_457158(int a1)
{
unsigned __int8 *v2; // r5
int v3; // r7
int v4; // r6
int v5; // t1
sub_775C20(a1);
v2 = (unsigned __int8 *)sub_7756C4(a1);
v3 = sub_7756FC(a1);
v4 = sub_7756C4(a1) - 1;
while ( v2 != (unsigned __int8 *)v3 )
{
v5 = *v2++;
*(_BYTE *)++v4 = tolower(v5);
}
return a1;
}