//
// sub_D0F170 from 0xd0f170 to 0xd0f244 (212 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
//
bool __fastcall sub_D0F170(__int64 *a1, __int64 *a2)
{
__int64 v4; // x21
__int64 v5; // x0
_QWORD *v6; // x0
__int64 v7; // x1
v4 = (__int64)(a1 + 1);
v5 = a2[1];
*a1 = v5;
v6 = (__int64 *)((char *)a1 + *(_QWORD *)(v5 - 24));
*v6 = a2[2];
sub_CCED04((__int64)v6, 0);
v7 = *a2;
*a1 = *a2;
*(__int64 *)((char *)a1 + *(_QWORD *)(v7 - 24)) = a2[3];
sub_D0D394(v4);
return sub_CCED04((__int64)a1 + *(_QWORD *)(*a1 - 24), v4);
}