//
// std::terminate from 0xf88dd0 to 0xf88e18 (72 bytes)
//
// 14 xrefs:
// > sub_F41C3C @ 0xf41c44
// > std::nested_exception::rethrow_nested @ 0xf42004
// > std::rethrow_exception @ 0xf42044
// > std::__ndk1::thread::~thread @ 0xf86644
// > __cxa_allocate_exception @ 0xf88384
// > __cxa_allocate_dependent_exception @ 0xf883e4
// > __cxa_begin_catch @ 0xf8856c
// > __cxa_rethrow @ 0xf887d8
// > __cxa_rethrow @ 0xf887dc
// > __cxa_rethrow_primary_exception @ 0xf88994
// > __cxa_rethrow_primary_exception @ 0xf88998
// > sub_F897AC @ 0xf897d4
// > sub_F8C1BC @ 0xf8c1d4
// > ??> @ 0x97468
//
// This function is hookable on this platform (idp: arm, 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 13:13:54 +0000
//
void __fastcall __noreturn std::terminate()
{
__int64 *globals_fast; // x0
__int64 v1; // x8
void (*terminate)(void); // x0
globals_fast = (__int64 *)_cxa_get_globals_fast();
if ( globals_fast )
{
v1 = *globals_fast;
if ( *globals_fast )
{
if ( *(_QWORD *)(v1 + 88) >> 8 == 0x434C4E47432B2BLL )
sub_F88D90(*(void (**)(void))(v1 + 32));
}
}
terminate = (void (*)(void))std::get_terminate();
sub_F88D90(terminate);
}