//
// sub_10066F62C from 0x10066f62c to 0x10066f6a8 (124 bytes)
//
// 1 xrefs:
// > sub_1006927C0 @ 0x10069289c
//
// 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:06 +0000
//
void *sub_10066F62C()
{
int v0; // w0
if ( (byte_100A0C5A0 & 1) != 0 )
{
v0 = 0;
}
else
{
v0 = sub_100691F50(&unk_100A0C5A8, 7, sub_100692568, sub_100692598, sub_10066F6A8);
if ( !v0 )
{
v0 = 0;
byte_100A0C5A0 = 1;
}
}
if ( v0 )
return nullptr;
else
return &unk_100A0C5A8;
}