//
// sub_CDAF40 from 0xcdaf40 to 0xcdafd4 (148 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_CDAF40(__int64 a1, _QWORD *a2)
{
__int64 result; // x0
*a2 = *(_QWORD *)(*(_QWORD *)(a1 + 16) + 200LL);
a2[1] = *(_QWORD *)(*(_QWORD *)(a1 + 16) + 208LL);
a2[2] = *(_QWORD *)(*(_QWORD *)(a1 + 16) + 216LL);
a2[3] = *(_QWORD *)(*(_QWORD *)(a1 + 16) + 224LL);
a2[4] = *(_QWORD *)(*(_QWORD *)(a1 + 16) + 232LL);
a2[5] = *(_QWORD *)(*(_QWORD *)(a1 + 16) + 240LL);
a2[6] = *(_QWORD *)(*(_QWORD *)(a1 + 16) + 248LL);
a2[7] = *(_QWORD *)(*(_QWORD *)(a1 + 16) + 256LL);
a2[8] = *(_QWORD *)(*(_QWORD *)(a1 + 16) + 264LL);
a2[9] = *(_QWORD *)(*(_QWORD *)(a1 + 16) + 272LL);
a2[10] = *(_QWORD *)(*(_QWORD *)(a1 + 16) + 280LL);
result = *(_QWORD *)(*(_QWORD *)(a1 + 16) + 288LL);
a2[11] = result;
return result;
}