//
// SetupArtSwitchPopup::create from 0x6b7e04 to 0x6b7eb8 (180 bytes)
//
// 1 xrefs:
// > EditorUI::editObject @ 0x486952
//
// 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:56:43 +0000
//
SetupTriggerPopup *__fastcall SetupArtSwitchPopup::create(
SetupArtSwitchPopup *this,
ArtTriggerGameObject *a2,
cocos2d::CCArray *a3,
int a4)
{
SetupTriggerPopup *v7; // r4
int v8; // r3
SetupTriggerPopup *v9; // r0
v7 = (SetupTriggerPopup *)operator new(0x2D4u);
SetupTriggerPopup::SetupTriggerPopup(v7);
*(_DWORD *)v7 = &off_CE3388;
*((_DWORD *)v7 + 66) = &off_CE3684;
*((_DWORD *)v7 + 67) = &off_CE36BC;
*((_DWORD *)v7 + 68) = &off_CE36C8;
*((_DWORD *)v7 + 69) = &off_CE36D8;
*((_DWORD *)v7 + 70) = &off_CE36EC;
*((_DWORD *)v7 + 79) = &off_CE3704;
*((_DWORD *)v7 + 83) = &off_CE3744;
*((_DWORD *)v7 + 110) = &off_CE3754;
*((_DWORD *)v7 + 130) = &off_CE3778;
*((_DWORD *)v7 + 131) = &off_CE3784;
*((_DWORD *)v7 + 178) = &off_CE3794;
*((_DWORD *)v7 + 179) = 0;
*((_DWORD *)v7 + 180) = 0;
if ( SetupArtSwitchPopup::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;
}