//
// sub_1006A78BC from 0x1006a78bc to 0x1006a7954 (152 bytes)
//
// 2 xrefs:
// > sub_1006773BC @ 0x100677c84
// > sub_100682ECC @ 0x100684ad8
//
// 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:11:42 +0000
//
__int64 __fastcall sub_1006A78BC(size_t a1, __int64 a2)
{
__int64 v4; // x0
__int64 *v5; // x0
__int64 v6; // x21
unsigned __int8 **v7; // x22
int v8; // w8
v4 = *(_QWORD *)(a1 + 96);
if ( !v4 )
return 0;
v5 = (__int64 *)sub_100695680(v4);
if ( !v5 )
return 0;
v6 = *v5;
if ( !*v5 )
return 0;
while ( 1 )
{
v7 = *(unsigned __int8 ***)v6;
if ( sub_10069A120(**(unsigned __int8 ***)v6, *(_BYTE **)(a2 + 192)) )
{
v8 = *((unsigned __int16 *)v7 + 4);
if ( v8 == *(_DWORD *)(a2 + 248) )
break;
}
v6 = *(_QWORD *)(v6 + 16);
if ( !v6 )
return 0;
}
sub_10067860C(a1, "Site %s:%d is pipeline blacklisted\n", *(const char **)(a2 + 192), v8);
return 1;
}