//
// sub_11080E8 from 0x11080e8 to 0x1108134 (76 bytes)
//
// 4 xrefs:
// > sub_1108134 @ 0x11081d0
// > sub_11081F4 @ 0x1108284
// > _Unwind_RaiseException @ 0x1108470
// > _Unwind_Backtrace @ 0x11088e8
//
// 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 sub_11080E8(__int64 *a1, __int64 *a2)
{
__int64 v4; // x1
__int64 result; // x0
sub_1107E00(a1, a2);
v4 = a2[205];
result = LODWORD(a2[2 * v4 + 1]);
if ( (_DWORD)result == 6 )
{
a1[99] = 0;
}
else
{
result = Unwind_GetGR((__int64)a1, v4);
a1[99] = result;
}
return result;
}