//
// sub_10069E030 from 0x10069e030 to 0x10069e0b4 (132 bytes)
//
// 2 xrefs:
// > ??> @ 0x1009b1dc0
// > ??> @ 0x1009b1e40
//
// 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_10069E030(__int64 a1, bool *a2)
{
__int64 v4; // x21
_BYTE *v5; // x22
__int64 result; // x0
v4 = a1 + 1336;
if ( (*(_BYTE *)(*(_QWORD *)(a1 + 800) + 124LL) & 1) != 0 )
{
v5 = (_BYTE *)(a1 + 1452);
if ( !*(_BYTE *)(a1 + 1452) )
{
result = sub_1006AD28C(a1, 0, a1 + 1452);
if ( (_DWORD)result )
return result;
if ( !*v5 )
return 0;
}
}
result = sub_1006A0704(v4, 0);
*a2 = *(_DWORD *)(a1 + 1448) == 0;
return result;
}