//
// SetupSequenceTriggerPopup::create from 0x1004d87d0 to 0x1004d88df (271 bytes)
//
// 1 xrefs:
// > EditorUI::editObject @ 0x100009f5f
//
// 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 12:31:14 +0000
//
_QWORD *__fastcall SetupSequenceTriggerPopup::create(__int64 a1)
{
_QWORD *v1; // rbx
v1 = operator new(0x418u);
SetupTriggerPopup::SetupTriggerPopup((__int64)v1);
*v1 = off_100B60908;
v1[40] = off_100B60EF8;
v1[41] = &off_100B60F68;
v1[42] = off_100B60F80;
v1[43] = off_100B60FA0;
v1[44] = off_100B60FC8;
v1[51] = off_100B60FF8;
v1[54] = off_100B61078;
v1[68] = off_100B61098;
v1[83] = &off_100B610E0;
v1[84] = off_100B610F8;
v1[127] = 0;
*((_BYTE *)v1 + 1025) = 0;
v1[129] = 0;
*((_DWORD *)v1 + 260) = 0;
*((_BYTE *)v1 + 1044) = 0;
if ( (unsigned __int8)SetupSequenceTriggerPopup::init(v1, a1) )
{
cocos2d::CCObject::autorelease((__int64)v1);
}
else
{
(*(void (__fastcall **)(_QWORD *))(*v1 + 16LL))(v1);
return nullptr;
}
return v1;
}