//
// sub_10044FFD8 from 0x10044ffd8 to 0x1004500a8 (208 bytes)
//
// 1 xrefs:
// > EditorUI::editObject @ 0x100472280
//
// 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:05:20 +0000
//
_QWORD *__fastcall sub_10044FFD8(__int64 a1, __int64 a2)
{
_QWORD *v4; // x19
double v5; // d0
v4 = operator new(0x440u);
v5 = SetupTriggerPopup::SetupTriggerPopup((__int64)v4);
*v4 = &off_100965E80;
v4[40] = off_100966470;
v4[41] = &off_1009664E0;
v4[42] = off_1009664F8;
v4[43] = off_100966518;
v4[44] = off_100966540;
v4[51] = off_100966570;
v4[54] = off_1009665F0;
v4[68] = off_100966610;
v4[83] = &off_100966658;
v4[84] = off_100966670;
*((_DWORD *)v4 + 258) = 0;
*((_DWORD *)v4 + 264) = 0;
*((_DWORD *)v4 + 270) = 0;
if ( (unsigned int)sub_1004500BC(v4, a1, a2, v5) )
{
cocos2d::CCObject::autorelease((__int64)v4);
}
else
{
(*(void (__fastcall **)(_QWORD *))(*v4 + 16LL))(v4);
return nullptr;
}
return v4;
}