//
// sub_D13DB0 from 0xd13db0 to 0xd13e64 (180 bytes)
//
// 4 xrefs:
// > sub_CEA228 @ 0xcea250
// > sub_CEAD18 @ 0xceada0
// > sub_CEADA4 @ 0xceae64
// > sub_D1F870 @ 0xd1f8a0
//
// 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
//
void __fastcall __noreturn sub_D13DB0(char *a1)
{
_QWORD *exception; // x19
__int64 v3; // [xsp+48h] [xbp+48h] BYREF
exception = _cxa_allocate_exception(0x10u);
sub_D153B8((int)&v3, a1);
sub_CF8FFC(exception);
if ( (__int64 *)(v3 - 24) != &qword_124B6B0 )
sub_D137C8((void *)(v3 - 24));
_cxa_throw(exception, (struct type_info *)&`typeinfo for'std::runtime_error, (void (*)(void *))sub_CF84F8);
}