//
// sub_10067A940 from 0x10067a940 to 0x10067a9e4 (164 bytes)
//
// 2 xrefs:
// > ??> @ 0x1009b10d8
// > ??> @ 0x1009b1158
//
// 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:14 +0000
//
__int64 __fastcall sub_10067A940(__int64 a1, bool *a2)
{
__int64 result; // x0
*a2 = 0;
*(_BYTE *)(a1 + 737) = 0;
*(_QWORD *)(a1 + 1416) = 1800000;
*(_QWORD *)(a1 + 1432) = sub_10067AEC4;
*(_QWORD *)(a1 + 1440) = sub_10067C414;
*(_QWORD *)(a1 + 1424) = a1;
if ( (*(_BYTE *)(*(_QWORD *)(a1 + 800) + 124LL) & 1) == 0 || (result = sub_1006AD218(a1, 0), !(_DWORD)result) )
{
sub_1006A08C4(a1 + 1336);
*(_DWORD *)(a1 + 1512) = 1;
result = sub_1006A0704(a1 + 1336, 0);
*a2 = *(_DWORD *)(a1 + 1512) == 0;
}
return result;
}