//
// 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 (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 12:14:53 +0000
//
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;
}