//
// _Unwind_SetGR from 0x1106df4 to 0x1106e4c (88 bytes)
//
// 5 xrefs:
// > __gxx_personality_v0 @ 0xf890f8
// > __gxx_personality_v0 @ 0xf89108
// > __gxx_personality_v0 @ 0xf89190
// > __gxx_personality_v0 @ 0xf891a0
// > ??> @ 0xe7be0
//
// 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
//
_QWORD *__fastcall Unwind_SetGR(_QWORD *result, int a2, __int64 a3)
{
if ( a2 > 97 )
LABEL_2:
abort();
if ( (result[104] & 0x4000000000000000LL) != 0 && *((_BYTE *)result + a2 + 856) )
{
result[a2] = a3;
}
else
{
result = (_QWORD *)result[a2];
if ( byte_1568C30[a2] != 8 )
goto LABEL_2;
*result = a3;
}
return result;
}