//
// std::get_unexpected from 0xf88d38 to 0xf88d50 (24 bytes)
//
// 5 xrefs:
// > __cxa_throw @ 0xf88410
// > __cxa_rethrow_primary_exception @ 0xf888ec
// > std::unexpected @ 0xf88d70
// > __cxa_call_unexpected @ 0xf89858
// > ??> @ 0xfcf40
//
// 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_unexpected()
{
unsigned __int64 result; // x0
do
result = __ldaxr((unsigned __int64 *)&_cxa_unexpected_handler);
while ( __stlxr(result, (unsigned __int64 *)&_cxa_unexpected_handler) );
return result;
}