//
// SetupEndPopup::create from 0x636f9c to 0x63704c (176 bytes)
//
// 1 xrefs:
// > EditorUI::editObject @ 0x486de8
//
// 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:55:20 +0000
//
SetupTriggerPopup *__fastcall SetupEndPopup::create(SetupEndPopup *this, EffectGameObject *a2, cocos2d::CCArray *a3)
{
SetupTriggerPopup *v5; // r4
int v6; // r3
int *v7; // r0
v5 = (SetupTriggerPopup *)operator new(0x2D8u);
SetupTriggerPopup::SetupTriggerPopup(v5);
*(_DWORD *)v5 = &off_CCD858;
*((_DWORD *)v5 + 66) = &off_CCDB50;
*((_DWORD *)v5 + 67) = &off_CCDB88;
*((_DWORD *)v5 + 68) = &off_CCDB94;
*((_DWORD *)v5 + 69) = &off_CCDBA4;
*((_DWORD *)v5 + 70) = &off_CCDBB8;
*((_DWORD *)v5 + 79) = &off_CCDBD0;
*((_DWORD *)v5 + 83) = &off_CCDC10;
*((_DWORD *)v5 + 110) = &off_CCDC20;
*((_DWORD *)v5 + 130) = &off_CCDC44;
*((_DWORD *)v5 + 131) = &off_CCDC50;
*((_BYTE *)v5 + 716) = 0;
*((_BYTE *)v5 + 717) = 0;
*((_DWORD *)v5 + 180) = 0;
*((_BYTE *)v5 + 724) = 0;
if ( SetupEndPopup::init(v5, this, a2) )
{
cocos2d::CCObject::autorelease(v5);
}
else
{
v6 = *(_DWORD *)v5;
v7 = (int *)v5;
v5 = nullptr;
(*(void (__fastcall **)(int *))(v6 + 8))(v7);
}
return v5;
}