//
// sub_1004C788C from 0x1004c788c to 0x1004c78bc (48 bytes)
//
// 0 xrefs:
//
// 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
//
unsigned __int16 *__fastcall sub_1004C788C(unsigned __int16 *result)
{
unsigned int v1; // w10
bool v2; // cc
__int64 v3; // x10
while ( 1 )
{
v1 = *result;
v2 = v1 > 0x20;
v3 = (1LL << v1) & 0x100000600LL;
if ( v2 || v3 == 0 )
break;
++result;
}
return result;
}