//
// sub_10036F368 from 0x10036f368 to 0x10036f3d0 (104 bytes)
//
// 2 xrefs:
// > sub_10036CA60 @ 0x10036ca78
// > sub_10036CC94 @ 0x10036ccc8
//
// 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:03:22 +0000
//
__int64 __fastcall sub_10036F368(__int64 *a1)
{
__int64 v2; // x0
__int64 v3; // x8
__int64 v4; // x20
_QWORD *v5; // x0
v2 = sub_1002E75A0(a1[93], 0);
if ( v2 )
{
v3 = *(_QWORD *)(v2 + 56);
if ( v3 )
{
do
{
v4 = *(_QWORD *)(v3 + 288);
v5 = *(_QWORD **)(v3 + 264);
v5[73] = 0;
(*(void (__fastcall **)(_QWORD *, _QWORD))(*v5 + 1160LL))(v5, 0);
v3 = v4;
}
while ( v4 );
}
}
return (*(__int64 (__fastcall **)(__int64 *, _QWORD))(*a1 + 1072))(a1, 0);
}