//
// sub_D14080 from 0xd14080 to 0xd1410c (140 bytes)
//
// 24 xrefs:
// > sub_CCE830 @ 0xcce868
// > sub_CCE86C @ 0xcce8ac
// > sub_CCE920 @ 0xcce95c
// > sub_CCEA98 @ 0xccead4
// > sub_CCEF54 @ 0xccf1a8
// > sub_CCF1DC @ 0xccf214
// > sub_CCF218 @ 0xccf258
// > sub_CCF2CC @ 0xccf308
// > sub_CCF444 @ 0xccf480
// > sub_CCF834 @ 0xccfa54
// > sub_CCFB6C @ 0xccfca0
// > sub_CCFB6C @ 0xccfcf0
// > sub_D0C508 @ 0xd0c5d8
// > sub_D0C508 @ 0xd0c898
// > sub_D0C508 @ 0xd0c934
// > sub_D0C508 @ 0xd0c978
// > sub_D0C980 @ 0xd0ca50
// > sub_D0C980 @ 0xd0cd1c
// > sub_D0C980 @ 0xd0cdb8
// > sub_D0C980 @ 0xd0cdfc
// > sub_D0CE04 @ 0xd0d080
// > sub_D0D088 @ 0xd0d318
// > sub_D0D5B8 @ 0xd0d734
// > sub_D107F4 @ 0xd10970
//
// 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_D14080(char *a1)
{
void *exception; // x19
__int64 v3; // [xsp+48h] [xbp+48h] BYREF
exception = _cxa_allocate_exception(0x10u);
sub_D153B8((int)&v3, a1);
sub_D21954(exception, &v3);
if ( (__int64 *)(v3 - 24) != &qword_124B6B0 )
sub_D137C8((void *)(v3 - 24));
_cxa_throw(exception, (struct type_info *)&`typeinfo for'std::ios_base::failure, (void (*)(void *))sub_D21834);
}