//
// sub_10049171C from 0x10049171c to 0x1004917f8 (220 bytes)
//
// 1 xrefs:
// > EditorUI::editObject @ 0x100472240
//
// 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:53 +0000
//
_QWORD *__fastcall sub_10049171C(__int64 a1, __int64 a2, __int64 a3)
{
_QWORD *v6; // x19
double v7; // d0
v6 = operator new(0x410u);
v7 = SetupTriggerPopup::SetupTriggerPopup((__int64)v6);
*v6 = &off_100975B98;
v6[40] = off_100976190;
v6[41] = &off_100976200;
v6[42] = off_100976218;
v6[43] = off_100976238;
v6[44] = off_100976260;
v6[51] = off_100976290;
v6[54] = off_100976310;
v6[68] = off_100976330;
v6[83] = &off_100976378;
v6[84] = off_100976390;
v6[127] = &off_1009763B0;
*((_DWORD *)v6 + 256) = 0;
v6[129] = 0;
if ( (unsigned int)sub_10049180C(v6, a1, a2, a3, v7) )
{
cocos2d::CCObject::autorelease((__int64)v6);
}
else
{
(*(void (__fastcall **)(_QWORD *))(*v6 + 16LL))(v6);
return nullptr;
}
return v6;
}