//
// EditGameObjectPopup::create from 0x5d79e0 to 0x5d7a82 (162 bytes)
//
// 1 xrefs:
// > EditorUI::editObjectSpecial @ 0x483b66
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:54:09 +0000
//
SetupTriggerPopup *__fastcall EditGameObjectPopup::create(
EditGameObjectPopup *this,
EffectGameObject *a2,
cocos2d::CCArray *a3,
bool a4)
{
SetupTriggerPopup *v7; // r4
int v8; // r3
SetupTriggerPopup *v9; // r0
v7 = (SetupTriggerPopup *)operator new(0x2C8u);
SetupTriggerPopup::SetupTriggerPopup(v7);
*(_DWORD *)v7 = &off_CB9B50;
*((_DWORD *)v7 + 66) = &off_CB9E48;
*((_DWORD *)v7 + 67) = &off_CB9E80;
*((_DWORD *)v7 + 68) = &off_CB9E8C;
*((_DWORD *)v7 + 69) = &off_CB9E9C;
*((_DWORD *)v7 + 70) = &off_CB9EB0;
*((_DWORD *)v7 + 79) = &off_CB9EC8;
*((_DWORD *)v7 + 83) = &off_CB9F08;
*((_DWORD *)v7 + 110) = &off_CB9F18;
*((_DWORD *)v7 + 130) = &off_CB9F3C;
*((_DWORD *)v7 + 131) = &off_CB9F48;
if ( EditGameObjectPopup::init(v7, this, a2, (int)a3) )
{
cocos2d::CCObject::autorelease(v7);
}
else
{
v8 = *(_DWORD *)v7;
v9 = v7;
v7 = nullptr;
(*(void (__fastcall **)(SetupTriggerPopup *))(v8 + 8))(v9);
}
return v7;
}