//
// sub_101D850 from 0x101d850 to 0x101d898 (72 bytes)
//
// 10 xrefs:
// > ERR_load_ERR_strings @ 0x101db98
// > ERR_load_ERR_strings @ 0x101dba0
// > ERR_load_ERR_strings @ 0x101dbb8
// > ERR_load_ERR_strings @ 0x101dbc0
// > ERR_load_ERR_strings @ 0x101dbd8
// > ERR_load_ERR_strings @ 0x101dbe0
// > ERR_load_ERR_strings @ 0x101dbf8
// > ERR_load_ERR_strings @ 0x101dc00
// > ERR_load_strings @ 0x101dce8
// > ERR_load_strings @ 0x101dcf0
//
// 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 13:16:09 +0000
//
unsigned __int64 __fastcall sub_101D850(_QWORD *a1)
{
unsigned __int64 v1; // x2
v1 = BYTE3(*a1) ^ (*a1 >> 12) & 0xFFFLL ^ *a1;
return (13 * (v1 % 0x13)) ^ v1;
}