//
// sub_CF6100 from 0xcf6100 to 0xcf6150 (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_CF6100(__int64 a1, const char **a2)
{
__int64 v3; // x20
__int64 v4; // x3
__int64 v5; // x1
v3 = a1 + 24;
sub_D1798C(a1 + 96, *a2, *((_QWORD *)*a2 - 3));
v4 = 0;
v5 = *(_QWORD *)(a1 + 96);
if ( (*(_DWORD *)(v3 + 64) & 3) != 0 )
v4 = *(_QWORD *)(v5 - 24);
return sub_CF4060(v3, v5, 0, v4);
}