//
// sub_100214114 from 0x100214114 to 0x1002141e4 (208 bytes)
//
// 1 xrefs:
// > EditorUI::editObject @ 0x100472560
//
// 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 11:01:03 +0000
//
_QWORD *__fastcall sub_100214114(__int64 a1, __int64 a2, __int64 a3)
{
_QWORD *v6; // x19
double v7; // d0
v6 = operator new(0x400u);
v7 = SetupTriggerPopup::SetupTriggerPopup((__int64)v6);
v6[127] = 0;
*v6 = &off_1008FA958;
v6[40] = off_1008FAF48;
v6[41] = &off_1008FAFB8;
v6[42] = off_1008FAFD0;
v6[43] = off_1008FAFF0;
v6[44] = off_1008FB018;
v6[51] = off_1008FB048;
v6[54] = off_1008FB0C8;
v6[68] = off_1008FB0E8;
v6[83] = &off_1008FB130;
v6[84] = off_1008FB148;
if ( (unsigned int)sub_1002141F8(v6, a1, a2, a3, v7) )
{
cocos2d::CCObject::autorelease((__int64)v6);
}
else
{
(*(void (__fastcall **)(_QWORD *))(*v6 + 16LL))(v6);
return nullptr;
}
return v6;
}