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