//
// sub_1004D892C from 0x1004d892c to 0x1004d8960 (52 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
//
__int64 __fastcall sub_1004D892C(_BYTE *a1)
{
int v1; // w9
unsigned __int8 *i; // x8
__int64 result; // x0
int v4; // t1
v1 = (unsigned __int8)*a1;
if ( !*a1 )
return 1;
for ( i = a1 + 1; ; ++i )
{
result = 0;
if ( v1 == 61 || (unsigned int)(v1 - 126) <= 0xFFFFFFA1 )
break;
v4 = *i;
v1 = v4;
if ( !v4 )
return 1;
}
return result;
}