//
// sub_D9F4F0 from 0xd9f4f0 to 0xd9f538 (72 bytes)
//
// 10 xrefs:
// > ERR_load_ERR_strings @ 0xd9f838
// > ERR_load_ERR_strings @ 0xd9f840
// > ERR_load_ERR_strings @ 0xd9f858
// > ERR_load_ERR_strings @ 0xd9f860
// > ERR_load_ERR_strings @ 0xd9f878
// > ERR_load_ERR_strings @ 0xd9f880
// > ERR_load_ERR_strings @ 0xd9f898
// > ERR_load_ERR_strings @ 0xd9f8a0
// > ERR_load_strings @ 0xd9f988
// > ERR_load_strings @ 0xd9f990
//
// 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_D9F4F0(_QWORD *a1)
{
unsigned __int64 v1; // x2
v1 = BYTE3(*a1) ^ (*a1 >> 12) & 0xFFFLL ^ *a1;
return (13 * (v1 % 0x13)) ^ v1;
}