//
// sub_10064ED80 from 0x10064ed80 to 0x10064edb0 (48 bytes)
//
// 23 xrefs:
// > sub_100651210 @ 0x10065197c
// > sub_100660A0C @ 0x100660e68
// > ??> @ 0x1009add18
// > ??> @ 0x1009ade00
// > ??> @ 0x1009adee8
// > ??> @ 0x1009ae1c0
// > ??> @ 0x1009ae2a8
// > ??> @ 0x1009ae390
// > ??> @ 0x1009ae4a0
// > ??> @ 0x1009ae588
// > ??> @ 0x1009ae670
// > ??> @ 0x1009ae780
// > ??> @ 0x1009ae868
// > ??> @ 0x1009ae950
// > ??> @ 0x1009aea58
// > ??> @ 0x1009aeb40
// > ??> @ 0x1009aec28
// > ??> @ 0x1009aed10
// > ??> @ 0x1009aedf8
// > ??> @ 0x1009aeee0
// > ??> @ 0x1009aefc8
// > ??> @ 0x1009af0b0
// > ??> @ 0x1009af198
//
// 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:48 +0000
//
__int64 __fastcall sub_10064ED80(__int64 a1)
{
__int64 v1; // x8
if ( !*(_QWORD *)(a1 + 48) )
return 1;
v1 = *(_QWORD *)(a1 + 128);
if ( (*(_BYTE *)v1 & 1) != 0 )
return 0;
*(_DWORD *)(v1 + 476) = 1;
return 1;
}