//
// __gnu_Unwind_Resume from 0x8e2b1c to 0x8e2b90 (116 bytes)
//
// 2 xrefs:
// > _Unwind_Resume @ 0x8e3630
// > ??> @ 0x6c07c
//
// 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 _gnu_Unwind_Resume(int a1, int a2)
{
int v3; // r6
int v5; // r0
v3 = *(_DWORD *)(a1 + 12);
*(_DWORD *)(a2 + 64) = *(_DWORD *)(a1 + 20);
if ( v3 )
{
sub_8E292C(a1, a2, 1);
goto LABEL_7;
}
v5 = (*(int (__fastcall **)(int, int, int))(a1 + 16))(2, a1, a2);
if ( v5 != 7 )
{
if ( v5 != 8 )
goto LABEL_7;
sub_8E28C8(a1, a2);
}
nullsub_8();
restore_core_regs(a2 + 4);
LABEL_7:
abort();
}