//
// sub_10069EF14 from 0x10069ef14 to 0x10069efb8 (164 bytes)
//
// 2 xrefs:
// > ??> @ 0x1009b1fc8
// > ??> @ 0x1009b2048
//
// 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:38 +0000
//
__int64 __fastcall sub_10069EF14(__int64 *a1)
{
__int64 v1; // x19
void *v2; // x0
char **v4; // x8
v1 = *a1;
*((_BYTE *)a1 + 736) = 0;
if ( *((_BYTE *)a1 + 740) && !*(_BYTE *)(v1 + 1298) )
{
if ( (char **)a1[100] == &off_1009B1FC0 )
v4 = &off_1009B20F0;
else
v4 = &off_1009B2170;
a1[100] = (__int64)v4;
return ((__int64 (*)(void))v4[1])();
}
else
{
v2 = off_1009E5FF0(0x28u, 1u);
*(_QWORD *)(v1 + 536) = v2;
if ( v2 )
{
++*(_QWORD *)(v1 + 35584);
return 0;
}
else
{
return 27;
}
}
}