//
// sub_1003068A4 from 0x1003068a4 to 0x100306950 (172 bytes)
//
// 1 xrefs:
// > sub_100306950 @ 0x100306984
//
// 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:03:08 +0000
//
__int64 __fastcall sub_1003068A4(__int64 a1, __int64 a2, const char *a3)
{
__int64 v3; // x8
unsigned int *v4; // x9
__int64 v5; // x8
_QWORD *v8; // x22
unsigned __int64 v9; // x23
__int64 v10; // x21
const char *v11; // x0
v3 = *(_QWORD *)(a1 + 56);
if ( !v3 )
return 0;
v4 = *(unsigned int **)(v3 + 56);
v5 = *v4;
if ( (_DWORD)v5 )
{
v8 = *((_QWORD **)v4 + 2);
v9 = (unsigned __int64)&v8[v5 - 1];
do
{
v10 = *v8;
if ( !*v8 )
break;
if ( (*(__int64 (__fastcall **)(_QWORD))(*(_QWORD *)v10 + 80LL))(*v8) == a2 )
{
v11 = (const char *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v10 + 96LL))(v10);
if ( !strcmp(v11, a3) )
return 1;
}
++v8;
}
while ( (unsigned __int64)v8 <= v9 );
}
return 0;
}