//
// sub_8E4DA8 from 0x8e4da8 to 0x8e4ebc (276 bytes)
//
// 1 xrefs:
// > sub_8E5900 @ 0x8e5980
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:04:10 +0000
//
int __fastcall sub_8E4DA8(int a1)
{
unsigned __int16 *v7; // [sp+8h] [bp-14h]
unsigned __int16 *v8; // [sp+Ch] [bp-10h]
unsigned __int16 *v9; // [sp+10h] [bp-Ch]
int v10; // [sp+14h] [bp-8h]
v7 = *(unsigned __int16 **)(a1 + 36);
v8 = *(unsigned __int16 **)(a1 + 40);
v9 = *(unsigned __int16 **)(a1 + 44);
v10 = 1 << *(_WORD *)(a1 + 24);
while ( v10-- > 0 )
{
if ( *v7++ <= 0xFFu && *v8++ <= 0xFFu && *v9++ <= 0xFFu )
continue;
return 16;
}
return 8;
}