//
// sub_10068FEA4 from 0x10068fea4 to 0x10068ff1c (120 bytes)
//
// 2 xrefs:
// > sub_100692BEC @ 0x100692d94
// > sub_100693A08 @ 0x100693b18
//
// 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:31 +0000
//
void __fastcall sub_10068FEA4(__int64 a1)
{
void (__fastcall *v2)(_QWORD); // x8
__int64 v3; // x0
if ( a1 )
{
v2 = *(void (__fastcall **)(_QWORD))(a1 + 40);
if ( v2 )
{
v2(*(_QWORD *)(a1 + 32));
*(_QWORD *)(a1 + 32) = 0;
*(_QWORD *)(a1 + 40) = 0;
}
v3 = *(_QWORD *)(a1 + 24);
if ( v3 )
{
sub_100691DB4(v3, 0);
*(_QWORD *)(a1 + 24) = 0;
}
off_1009E5FD8(*(void **)(a1 + 8));
*(_QWORD *)(a1 + 8) = 0;
off_1009E5FD8(*(void **)(a1 + 16));
*(_QWORD *)(a1 + 16) = 0;
*(_QWORD *)(a1 + 48) = 0;
*(_DWORD *)a1 = 0;
}
}