//
// _Unwind_GetGR from 0x1106c88 to 0x1106ce0 (88 bytes)
//
// 8 xrefs:
// > sub_1106CE0 @ 0x1106dc8
// > sub_110784C @ 0x1107a38
// > sub_110784C @ 0x1107b10
// > sub_110784C @ 0x1107b38
// > sub_1107E00 @ 0x1107ebc
// > sub_1107E00 @ 0x1107f34
// > sub_11080E8 @ 0x1108120
// > ??> @ 0xf3b80
//
// 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:18:29 +0000
//
__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_1568C30[v2] != 8 )
goto LABEL_2;
return *(_QWORD *)v3;
}