//
// sub_CF56B8 from 0xcf56b8 to 0xcf5708 (80 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_CF56B8(__int64 a1, const char **a2)
{
__int64 v3; // x20
__int64 v4; // x3
__int64 v5; // x1
v3 = a1 + 8;
sub_D1798C(a1 + 80, *a2, *((_QWORD *)*a2 - 3));
v4 = 0;
v5 = *(_QWORD *)(a1 + 80);
if ( (*(_DWORD *)(v3 + 64) & 3) != 0 )
v4 = *(_QWORD *)(v5 - 24);
return sub_CF4060(v3, v5, 0, v4);
}