//
// sub_CD50C8 from 0xcd50c8 to 0xcd511c (84 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_CD50C8(_QWORD *a1, _QWORD *a2, __int64 a3)
{
__int64 v5; // x0
int v6; // w0
v5 = *(_QWORD *)((char *)a1 + *(_QWORD *)(*a1 - 24LL) + 240);
if ( !v5 )
sub_D13870(0, a2, a3);
v6 = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v5 + 80LL))(v5, 10);
return sub_CD4EDC((__int64)a1, a2, v6);
}