//
// sub_10008EB64 from 0x10008eb64 to 0x10008ec28 (196 bytes)
//
// 1 xrefs:
// > EditorUI::editObject @ 0x1004726a0
//
// 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 10:58:22 +0000
//
_QWORD *__fastcall sub_10008EB64(__int64 a1, __int64 a2)
{
_QWORD *v4; // x19
double v5; // d0
v4 = operator new(0x3F8u);
v5 = SetupTriggerPopup::SetupTriggerPopup((__int64)v4);
*v4 = &off_1008CACA0;
v4[40] = off_1008CB290;
v4[41] = &off_1008CB300;
v4[42] = off_1008CB318;
v4[43] = off_1008CB338;
v4[44] = off_1008CB360;
v4[51] = off_1008CB390;
v4[54] = off_1008CB410;
v4[68] = off_1008CB430;
v4[83] = &off_1008CB478;
v4[84] = off_1008CB490;
if ( (unsigned int)sub_10008EC3C(v4, a1, a2, v5) )
{
cocos2d::CCObject::autorelease((__int64)v4);
}
else
{
(*(void (__fastcall **)(_QWORD *))(*v4 + 16LL))(v4);
return nullptr;
}
return v4;
}