//
// SFXInfoObject::getLowerCaseName from 0x10015c430 to 0x10015c4d4 (164 bytes)
//
// 1 xrefs:
// > SFXSearchResult::updateObjects @ 0x10015d408
//
// 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
//
void *__usercall SFXInfoObject::getLowerCaseName@(void *result@, __int64 *a2@)
{
__int64 v3; // x8
__int64 v4; // x20
__int64 v5; // x21
__int64 *v6; // x8
__int64 *v7; // x8
if ( *((char *)result + 103) < 0 )
{
result = sub_1000097D0(a2, *((void **)result + 10), *((_QWORD *)result + 11));
}
else
{
*(_OWORD *)a2 = *((_OWORD *)result + 5);
a2[2] = *((_QWORD *)result + 12);
}
LODWORD(v3) = *((unsigned __int8 *)a2 + 23);
if ( (v3 & 0x80u) != 0LL )
v3 = a2[1];
v4 = (unsigned int)v3;
if ( (_DWORD)v3 )
{
v5 = 0;
do
{
if ( *((char *)a2 + 23) >= 0 )
v6 = a2;
else
v6 = (__int64 *)*a2;
result = (void *)__tolower(*((char *)v6 + v5));
if ( *((char *)a2 + 23) >= 0 )
v7 = a2;
else
v7 = (__int64 *)*a2;
*((_BYTE *)v7 + v5++) = (_BYTE)result;
}
while ( v4 != v5 );
}
return result;
}