//
// sub_1006FCC0C from 0x1006fcc0c to 0x1006fcd48 (316 bytes)
//
// 1 xrefs:
// > sub_1006FCFF8 @ 0x1006fd00c
//
// 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:46 +0000
//
__int64 __fastcall sub_1006FCC0C(__int64 a1)
{
__int64 *v2; // x11
__int64 v3; // x9
bool v4; // w10
__int64 v5; // x9
__int64 v6; // x10
__int64 v7; // x19
if ( a1 )
{
sub_1006AE2F8(9, 30, (__int64)"eng_list.c", 282);
v2 = &qword_100A0C868;
do
{
v3 = *v2;
v4 = *v2 != 0;
if ( *v2 == a1 )
break;
v2 = (__int64 *)(v3 + 208);
}
while ( v4 );
if ( v3 )
{
v5 = *(_QWORD *)(a1 + 208);
if ( v5 )
*(_QWORD *)(v5 + 200) = *(_QWORD *)(a1 + 200);
v6 = *(_QWORD *)(a1 + 200);
if ( v6 )
*(_QWORD *)(v6 + 208) = v5;
if ( qword_100A0C868 == a1 )
qword_100A0C868 = *(_QWORD *)(a1 + 208);
if ( qword_100A0C870 == a1 )
qword_100A0C870 = *(_QWORD *)(a1 + 200);
sub_1006FC62C((int *)a1, 0);
v7 = 1;
}
else
{
sub_100706FB0(38, 121, 105, "eng_list.c", 166);
sub_100706FB0(38, 123, 110, "eng_list.c", 284);
v7 = 0;
}
sub_1006AE2F8(10, 30, (__int64)"eng_list.c", 287);
}
else
{
sub_100706FB0(38, 123, 67, "eng_list.c", 279);
return 0;
}
return v7;
}