//
// __register_frame_info_bases from 0xe8d00c to 0xe8d0a8 (156 bytes)
//
// 2 xrefs:
// > __register_frame_info @ 0xe8d0b0
// > ??> @ 0xb4708
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__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_1260040);
result = &qword_125FEA0;
a2[5] = qword_1260068;
qword_1260068 = (__int64)a2;
if ( &pthread_create )
return (__int64 *)pthread_mutex_unlock((pthread_mutex_t *)&unk_1260040);
}
return result;
}