//
// sub_D13A40 from 0xd13a40 to 0xd13af4 (180 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
//
void __fastcall __noreturn sub_D13A40(char *a1)
{
_QWORD *exception; // x19
__int64 v3; // [xsp+48h] [xbp+48h] BYREF
exception = _cxa_allocate_exception(0x10u);
sub_D153B8((int)&v3, a1);
sub_CF8F18(exception);
if ( (__int64 *)(v3 - 24) != &qword_124B6B0 )
sub_D137C8((void *)(v3 - 24));
_cxa_throw(exception, (struct type_info *)&`typeinfo for'std::invalid_argument, (void (*)(void *))sub_CF8728);
}