//
// sub_1006FB1E8 from 0x1006fb1e8 to 0x1006fb264 (124 bytes)
//
// 1 xrefs:
// > sub_1006FAA10 @ 0x1006faa84
//
// 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:45 +0000
//
_QWORD *sub_1006FB1E8()
{
_QWORD *v0; // x19
_BYTE *v1; // x0
bool v2; // zf
v0 = (_QWORD *)sub_1006F8CC0();
if ( !v0 )
return nullptr;
v0[1] = sub_1006D1048((__int64)&off_1009BECC0);
v0[2] = sub_1006D1048((__int64)&off_1009BECF0);
v1 = sub_1006D1048((__int64)&off_1009BECD8);
v0[8] = v1;
if ( v1 )
v2 = v0[1] == 0;
else
v2 = 1;
if ( v2 || !v0[2] )
{
sub_1006F8E54((__int64)v0);
return nullptr;
}
return v0;
}