//
// sub_1006E38E8 from 0x1006e38e8 to 0x1006e3948 (96 bytes)
//
// 1 xrefs:
// > sub_1006E9F10 @ 0x1006ea3dc
//
// 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:12:34 +0000
//
__int64 __fastcall sub_1006E38E8(__int64 a1)
{
__int64 v2; // x0
int *v3; // x9
int v4; // w8
int v5; // t1
unsigned int v6; // w9
v2 = sub_1006DDB40(a1);
if ( (unsigned int)sub_1006DDB48(v2) != 407 )
return 0;
v3 = (int *)(a1 + 128);
v4 = -1;
do
{
v5 = *v3++;
++v4;
}
while ( v5 );
if ( v4 == 2 )
v6 = 682;
else
v6 = 0;
if ( v4 == 4 )
return 683;
else
return v6;
}