//
// sub_CD1368 from 0xcd1368 to 0xcd13fc (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_CD1368(_QWORD *a1, __int64 a2, __int64 a3)
{
char *v5; // x0
_BYTE *v6; // x19
__int64 v7; // x3
v5 = (char *)a1 + *(_QWORD *)(*a1 - 24LL);
v6 = *((_BYTE **)v5 + 30);
if ( !v6 )
sub_D13870(v5, a2, a3);
if ( v6[56] )
return sub_CD7234(a1, a2, a3, (unsigned __int8)v6[67]);
sub_D204B0(v6);
v7 = (*(unsigned __int8 (__fastcall **)(_BYTE *, __int64))(*(_QWORD *)v6 + 48LL))(v6, 10);
return sub_CD7234(a1, a2, a3, v7);
}