//
// _Unwind_GetGR from 0xe89fa4 to 0xe89ffc (88 bytes)
//
// 8 xrefs:
// > sub_E89FFC @ 0xe8a0e4
// > sub_E8AB68 @ 0xe8ad54
// > sub_E8AB68 @ 0xe8ae2c
// > sub_E8AB68 @ 0xe8ae54
// > sub_E8B11C @ 0xe8b1d8
// > sub_E8B11C @ 0xe8b250
// > sub_E8B404 @ 0xe8b43c
// > ??> @ 0xbad80
//
// 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
//
__int64 __fastcall Unwind_GetGR(__int64 a1, int a2)
{
__int64 v2; // x2
__int64 v3; // x1
if ( a2 > 97 )
LABEL_2:
abort();
v2 = a2;
v3 = *(_QWORD *)(a1 + 8LL * a2);
if ( (*(_QWORD *)(a1 + 832) & 0x4000000000000000LL) != 0 && *(_BYTE *)(a1 + v2 + 856) )
return v3;
if ( byte_125FE30[v2] != 8 )
goto LABEL_2;
return *(_QWORD *)v3;
}