//
// sub_8389C from 0x8389c to 0x838f0 (84 bytes)
//
// 1 xrefs:
// > sub_639EC @ 0x63a3c
//
// 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 12:14:08 +0000
//
__int64 __fastcall sub_8389C(__int64 a1, unsigned __int8 *a2)
{
__int64 i; // x10
int v3; // w11
if ( !*(_BYTE *)(a1 + 720) )
{
for ( i = 0; i != 512; i += 16 )
{
if ( *(unsigned __int8 *)(a1 + i + 724) == *a2 )
{
v3 = *(unsigned __int8 *)(a1 + i + 725);
if ( v3 == 255 || v3 == a2[1] )
return 1;
}
}
}
return 0;
}