//
// sub_100162200 from 0x100162200 to 0x100162231 (49 bytes)
//
// 4 xrefs:
// > sub_100161760 @ 0x10016188f
// > sub_1001619A0 @ 0x100161c73
// > sub_100161C80 @ 0x100161f69
// > sub_100161FC0 @ 0x10016219a
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:25:08 +0000
//
void __noreturn sub_100162200()
{
std::bad_cast *exception; // rbx
exception = (std::bad_cast *)__cxa_allocate_exception(8u);
std::bad_cast::bad_cast(exception);
__cxa_throw(
exception,
(struct type_info *)&`typeinfo for'std::bad_cast,
(void (__fastcall *)(void *))&std::bad_cast::~bad_cast);
}