//
// sub_100502604 from 0x100502604 to 0x100502620 (28 bytes)
//
// 0 xrefs:
//
// 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_100502604(__int64 a1, int a2)
{
unsigned __int64 v2; // x8
v2 = (a1 + 95) & 0xFFFFFFFFFFFFFFF0LL;
*(_QWORD *)(a1 + 8) = v2 + ((__int64)a2 << 11);
*(_QWORD *)(a1 + 16) = v2;
return 0;
}