//
// std::get_terminate from 0xf88d78 to 0xf88d90 (24 bytes)
//
// 5 xrefs:
// > __cxa_throw @ 0xf88418
// > __cxa_rethrow_primary_exception @ 0xf888f4
// > std::terminate @ 0xf88e0c
// > __cxa_call_unexpected @ 0xf89850
// > ??> @ 0xd0750
//
// 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
//
unsigned __int64 __fastcall std::get_terminate()
{
unsigned __int64 result; // x0
do
result = __ldaxr((unsigned __int64 *)&_cxa_terminate_handler);
while ( __stlxr(result, (unsigned __int64 *)&_cxa_terminate_handler) );
return result;
}