//
// _Unwind_Resume_or_Rethrow from 0xe8ba5c to 0xe8bb54 (248 bytes)
//
// 2 xrefs:
// > __cxa_rethrow @ 0xcccf0c
// > ??> @ 0xb2650
//
// 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 Unwind_Resume_or_Rethrow(
_QWORD *a1,
__int64 a2,
__int64 a3,
__int64 a4,
__int64 a5,
__int64 a6,
__int64 a7,
__int64 a8,
char a9)
{
__int64 v9; // x30
char v11; // [xsp+0h] [xbp+0h]
_QWORD v12[120]; // [xsp+D0h] [xbp+D0h] BYREF
__int64 v13[98]; // [xsp+490h] [xbp+490h] BYREF
if ( a1[2] )
{
sub_E8B328(v12, (__int64)&a9, v9);
memcpy(v13, v12, 0x3C0u);
if ( (unsigned int)sub_E8B510(a1, v13) != 7 )
abort();
sub_E89FFC((__int64)v12, (__int64)v13);
nullsub_30();
}
else
{
Unwind_RaiseException(a1, 0, v9, a4, a5, a6, a7, a8, v11);
}
}