//
// sub_10069DD90 from 0x10069dd90 to 0x10069de0c (124 bytes)
//
// 2 xrefs:
// > ??> @ 0x1009b1da8
// > ??> @ 0x1009b1e28
//
// 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_10069DD90(_BYTE *a1, __int64 a2)
{
__int64 v2; // x19
__int64 v3; // x20
v2 = a2;
v3 = *(_QWORD *)(*(_QWORD *)a1 + 536LL);
if ( !v3 )
return 0;
if ( (_DWORD)a2 )
a1[737] = 1;
else
v2 = 0;
off_1009E5FD8(*(void **)(v3 + 8));
*(_QWORD *)(v3 + 8) = 0;
off_1009E5FD8(*(void **)(v3 + 16));
*(_QWORD *)(v3 + 16) = 0;
*(_DWORD *)v3 = 0;
return v2;
}