//
// sub_10065318C from 0x10065318c to 0x1006531d0 (68 bytes)
//
// 3 xrefs:
// > sub_10064CF24 @ 0x10064cf6c
// > sub_100650A90 @ 0x100650b98
// > sub_100650A90 @ 0x100650cb8
//
// 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:51 +0000
//
__int64 __fastcall sub_10065318C(__int64 a1)
{
__int64 v2; // x8
v2 = *(_QWORD *)(a1 + 128);
if ( *(_QWORD *)(v2 + 264) )
{
sub_1006531D0(*(_QWORD *)(a1 + 368), 0, *(_QWORD *)(v2 + 272));
*(_QWORD *)(*(_QWORD *)(a1 + 128) + 264LL) = 0;
}
return 1;
}