//
// sub_10065EB58 from 0x10065eb58 to 0x10065eb98 (64 bytes)
//
// 3 xrefs:
// > ??> @ 0x1009aed78
// > ??> @ 0x1009aee60
// > ??> @ 0x1009aef48
//
// 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:57 +0000
//
void *__fastcall sub_10065EB58(int a1)
{
void *v1; // x12
void *v2; // x10
v1 = &unk_1009AEE90;
if ( a1 != 0x1FFFF )
v1 = nullptr;
if ( a1 == 65279 )
v2 = &unk_1009AECC0;
else
v2 = v1;
if ( a1 == 65277 )
return &unk_1009AEDA8;
else
return v2;
}