//
// sub_1005389F0 from 0x1005389f0 to 0x100538a30 (64 bytes)
//
// 3 xrefs:
// > ??> @ 0x10082b708
// > ??> @ 0x10082b7f0
// > ??> @ 0x10082b8d8
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void *__fastcall sub_1005389F0(int a1)
{
void *v1; // x12
void *v2; // x10
v1 = &unk_10082B820;
if ( a1 != 0x1FFFF )
v1 = nullptr;
if ( a1 == 65279 )
v2 = &unk_10082B650;
else
v2 = v1;
if ( a1 == 65277 )
return &unk_10082B738;
else
return v2;
}