//
// sub_1005E24E4 from 0x1005e24e4 to 0x1005e2528 (68 bytes)
//
// 1 xrefs:
// > sub_1005E1C9C @ 0x1005e1cf4
//
// 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
//
unsigned __int64 __fastcall sub_1005E24E4(_QWORD *a1)
{
unsigned __int64 v1; // x8
v1 = BYTE3(*a1) ^ *a1 ^ (*a1 >> 12) & 0xFFFLL;
return v1 ^ (13 * (v1 % 0x13));
}