//
// sub_10062384C from 0x10062384c to 0x100623898 (76 bytes)
//
// 2 xrefs:
// > sub_100628604 @ 0x1006286b8
// > sub_100628E44 @ 0x100628e6c
//
// 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:10:21 +0000
//
__int64 __fastcall sub_10062384C(__int64 a1)
{
__int64 v2; // x9
if ( !a1 )
return 0xFFFFFFFFLL;
if ( !*(_QWORD *)a1 )
return 0xFFFFFFFFLL;
v2 = *(_QWORD *)(*(_QWORD *)a1 + 48LL);
if ( !v2 )
return 0xFFFFFFFFLL;
*(_QWORD *)(a1 + 24) = -1;
*(_QWORD *)(a1 + 56) = -1;
*(_QWORD *)(a1 + 64) = -1;
*(_QWORD *)(a1 + 72) = -1;
*(_QWORD *)(a1 + 40) = 0;
*(_QWORD *)(a1 + 48) = 0;
*(_DWORD *)(a1 + 32) = *(int *)(v2 + 4) >> 1;
return 0;
}