//
// sub_100364390 from 0x100364390 to 0x1003643fc (108 bytes)
//
// 2 xrefs:
// > sub_100365890 @ 0x100365fdc
// > sub_100366FC4 @ 0x100367174
//
// 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
//
__int64 __fastcall sub_100364390(int a1)
{
unsigned int v1; // w10
int v2; // w8
int v3; // w9
int v4; // w10
v1 = a1 % 20;
if ( (unsigned int)(a1 % 20) > 0x13 )
{
v2 = 255;
v3 = 255;
v4 = 255;
}
else
{
v2 = byte_100645728[v1];
v3 = byte_10064573C[v1];
v4 = byte_100645750[v1];
}
return (v3 << 8) | (v4 << 16) | (unsigned int)v2;
}