//
// sub_D0A8AC from 0xd0a8ac to 0xd0a918 (108 bytes)
//
// 1 xrefs:
// > ??> @ 0x111eb60
//
// 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
//
_QWORD *__fastcall sub_D0A8AC(
__int64 a1,
_QWORD *a2,
__int64 a3,
_QWORD *a4,
__int64 a5,
__int64 a6,
_DWORD *a7,
_QWORD *a8)
{
int v8; // w21
_QWORD *result; // x0
__int64 v12; // [xsp+48h] [xbp+48h] BYREF
v8 = *(_DWORD *)(a6 + 24);
*(_DWORD *)(a6 + 24) = v8 & 0xFFFFFFB5 | 8;
result = sub_D09F90(a1, a2, a3, a4, a5, a6, a7, &v12);
*(_DWORD *)(a6 + 24) = v8;
*a8 = v12;
return result;
}