//
// SetupKeyframePopup::create from 0x1405ba730 to 0x1405ba869 (313 bytes)
//
// 2 xrefs:
// > EditorUI::editObject @ 0x1401bc61e
// > ??> @ 0x14092dec0
//
// This function is hookable on this platform (idp: pc, 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 11:34:45 +0000
//
// Hidden C++ exception states: #wind=1
_QWORD *__fastcall SetupKeyframePopup::create(__int64 a1, __int64 a2, __int64 a3)
{
_QWORD *v6; // r14
v6 = operator new(0x400u);
SetupTriggerPopup::SetupTriggerPopup((__int64)v6);
*v6 = &SetupKeyframePopup::`vftable';
v6[40] = &SetupKeyframePopup::`vftable';
v6[41] = &SetupKeyframePopup::`vftable';
v6[42] = &SetupKeyframePopup::`vftable';
v6[43] = &SetupKeyframePopup::`vftable';
v6[44] = &SetupKeyframePopup::`vftable';
v6[51] = &SetupKeyframePopup::`vftable';
v6[54] = &SetupKeyframePopup::`vftable';
v6[68] = &SetupKeyframePopup::`vftable';
v6[83] = &SetupKeyframePopup::`vftable';
v6[84] = &SetupKeyframePopup::`vftable';
v6[125] = 0;
v6[126] = 0;
*((_BYTE *)v6 + 1016) = 0;
if ( (unsigned __int8)SetupKeyframePopup::init(v6, a1, a2, a3) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v6);
return v6;
}
else
{
(*(void (__fastcall **)(_QWORD *, __int64))(*v6 + 8LL))(v6, 1);
return nullptr;
}
}