//
// sub_D67D4 from 0xd67d4 to 0xd6834 (96 bytes)
//
// 4 xrefs:
// > sub_D5F10 @ 0xd5f64
// > sub_D6280 @ 0xd6434
// > sub_D6864 @ 0xd68fc
// > sub_D71B0 @ 0xd723c
//
// 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_D67D4(unsigned __int64 *a1, int a2)
{
__int64 v3; // x0
v3 = sub_E2908(a1[2] + 67784, (unsigned int)(4 * a2 + 16), &unk_2DC93, 0, 0, 0, 1);
*a1 = (v3 + 15) & 0xFFFFFFFFFFFFFFF0LL;
a1[1] = v3;
return (v3 + 15) & 0xFFFFFFFFFFFFFFF0LL;
}