//
// __register_frame_info_bases from 0x1109cf0 to 0x1109d8c (156 bytes)
//
// 2 xrefs:
// > __register_frame_info @ 0x1109d94
// > ??> @ 0xebd38
//
// 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_bases(__int64 *result, _QWORD *a2, __int64 a3, __int64 a4)
{
if ( result && *(_DWORD *)result )
{
*a2 = -1;
a2[4] = 0;
a2[3] = result;
a2[1] = a3;
a2[2] = a4;
*((_WORD *)a2 + 16) = 2040;
if ( &pthread_create )
pthread_mutex_lock((pthread_mutex_t *)&unk_1568E40);
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;
}