//
// sub_1006FF6F0 from 0x1006ff6f0 to 0x1006ff7c8 (216 bytes)
//
// 1 xrefs:
// > sub_1006FE600 @ 0x1006fe610
//
// 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:48 +0000
//
int *sub_1006FF6F0()
{
int *result; // x0
int *v1; // x19
__int64 v2; // x0
result = (int *)sub_1006FC57C();
v1 = result;
if ( result )
{
if ( (unsigned int)sub_1006FC870(result, (__int64)"dynamic")
&& (unsigned int)sub_1006FC8B4((__int64)v1, (__int64)"Dynamic engine loading support")
&& (unsigned int)sub_1006FC904((__int64)v1, (__int64)sub_1006FF7C8)
&& (unsigned int)sub_1006FC910((__int64)v1, (__int64)sub_1006FF7D0)
&& (unsigned int)sub_1006FC91C((__int64)v1, (__int64)sub_1006FF7D8)
&& (unsigned int)sub_1006FC928((__int64)v1, 4)
&& (unsigned int)sub_1006FC934((__int64)v1, (__int64)&unk_1009BED50) )
{
sub_1006FCA4C((__int64)v1);
v2 = sub_1006FC6E8(v1);
return (int *)sub_1007072C0(v2);
}
else
{
return (int *)sub_1006FC6E8(v1);
}
}
return result;
}