//
// sub_100050EFC from 0x100050efc to 0x100050f50 (84 bytes)
//
// 1 xrefs:
// > UILayer::resolveLevelControls @ 0x100050e90
//
// 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 10:57:43 +0000
//
_QWORD *__usercall sub_100050EFC@(_QWORD *result@, __int64 a2@)
{
unsigned __int64 v2; // x2
if ( *((_DWORD *)result + 460) == 1 )
{
if ( *((char *)result + 1839) < 0 )
{
v2 = result[228];
if ( v2 )
return sub_1000097D0((_BYTE *)a2, (void *)result[227], v2);
}
else if ( *((_BYTE *)result + 1839) )
{
*(_QWORD *)(a2 + 16) = result[229];
*(_OWORD *)a2 = *(_OWORD *)(result + 227);
return result;
}
}
return sub_100009900((_QWORD *)a2, "");
}