//
// sub_10062DF24 from 0x10062df24 to 0x10062dfcc (168 bytes)
//
// 2 xrefs:
// > sub_1006253B4 @ 0x1006253dc
// > sub_10062583C @ 0x100625a3c
//
// 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_10062DF24(int8x16_t *a1)
{
unsigned __int8 *v1; // x0
__int64 v2; // x1
int v3; // w8
int v4; // t1
_BYTE *v5; // x19
_OWORD v7[2]; // [xsp+8h] [xbp-38h] BYREF
v7[1] = vqtbl1q_s8(*a1, (int8x16_t)xmmword_1006697B0);
v7[0] = vqtbl1q_s8(a1[1], (int8x16_t)xmmword_1006697B0);
v1 = (unsigned __int8 *)v7;
v2 = 32;
if ( LOBYTE(v7[0]) )
return sub_1005AB1B0(v1, v2, 0);
do
{
v4 = *++v1;
v3 = v4;
--v2;
}
while ( v2 && !v3 );
if ( v2 )
return sub_1005AB1B0(v1, v2, 0);
v5 = sub_1005AAD34();
sub_1005AB128((__int64)v5, 0);
return (__int64)v5;
}