//
// __register_frame_info_table_bases from 0x1109dd8 to 0x1109e6c (148 bytes)
//
// 2 xrefs:
// > __register_frame_info_table @ 0x1109e74
// > ??> @ 0xef560
//
// 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:31 +0000
//
__int64 *__fastcall _register_frame_info_table_bases(__int64 a1, _QWORD *a2, __int64 a3, __int64 a4)
{
__int16 v4; // w0
__int64 *result; // x0
_QWORD *v6; // [xsp+28h] [xbp+28h]
a2[4] = 0;
a2[3] = a1;
*((_BYTE *)a2 + 32) = 2;
a2[1] = a3;
v4 = *((_WORD *)a2 + 16);
*a2 = -1;
a2[2] = a4;
*((_WORD *)a2 + 16) = v4 | 0x7F8;
if ( &pthread_create )
{
v6 = a2;
pthread_mutex_lock((pthread_mutex_t *)&unk_1568E40);
a2 = v6;
}
result = &qword_1568CA0;
a2[5] = qword_1568E68;
qword_1568E68 = (__int64)a2;
if ( &pthread_create )
return (__int64 *)pthread_mutex_unlock((pthread_mutex_t *)&unk_1568E40);
return result;
}