//
// _CreateFrameInfo from 0x180125708 to 0x180125742 (58 bytes)
//
// 2 xrefs:
// > unknown_libname_19 @ 0x180126942
// > ??> @ 0x180202828
//
// 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
//
_QWORD *__fastcall CreateFrameInfo(_QWORD *a1, __int64 a2)
{
__int64 v3; // rcx
__int64 v4; // rcx
*a1 = a2;
if ( (unsigned __int64)a1 >= *(_QWORD *)(_vcrt_getptd((__int64)a1) + 88) )
v4 = 0;
else
v4 = *(_QWORD *)(_vcrt_getptd(v3) + 88);
a1[1] = v4;
*(_QWORD *)(_vcrt_getptd(v4) + 88) = a1;
return a1;
}