//
// sub_10075408C from 0x10075408c to 0x100754134 (168 bytes)
//
// 2 xrefs:
// > sub_10074B51C @ 0x10074b544
// > sub_10074B9A4 @ 0x10074bba4
//
// 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 11:13:31 +0000
//
__int64 __fastcall sub_10075408C(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_1007927B0);
v7[0] = vqtbl1q_s8(a1[1], (int8x16_t)xmmword_1007927B0);
v1 = (unsigned __int8 *)v7;
v2 = 32;
if ( LOBYTE(v7[0]) )
return sub_1006D1318(v1, v2, 0);
do
{
v4 = *++v1;
v3 = v4;
--v2;
}
while ( v2 && !v3 );
if ( v2 )
return sub_1006D1318(v1, v2, 0);
v5 = sub_1006D0E9C();
sub_1006D1290((__int64)v5, 0);
return (__int64)v5;
}