//
// sub_10039A26C from 0x10039a26c to 0x10039a2fc (144 bytes)
//
// 1 xrefs:
// > sub_100399DFC @ 0x100399e64
//
// 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:43 +0000
//
double __fastcall sub_10039A26C(__int64 a1)
{
__int64 v2; // x0
__int64 v3; // x0
__int64 v4; // x0
__int64 v5; // x0
v2 = *(_QWORD *)(a1 + 672);
if ( v2 )
(*(void (__fastcall **)(__int64))(*(_QWORD *)v2 + 736LL))(v2);
v3 = *(_QWORD *)(a1 + 664);
if ( v3 )
(*(void (__fastcall **)(__int64))(*(_QWORD *)v3 + 736LL))(v3);
if ( *(_QWORD *)(a1 + 648) )
sub_1003C231C();
v4 = *(_QWORD *)(a1 + 664);
if ( v4 )
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v4 + 528LL))(v4, 1);
v5 = *(_QWORD *)(a1 + 672);
if ( v5 )
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v5 + 528LL))(v5, 1);
*(_DWORD *)(a1 + 680) = 0;
*(_OWORD *)(a1 + 648) = 0u;
*(_OWORD *)(a1 + 664) = 0u;
return 0.0;
}