//
// SetupItemCompareTriggerPopup::create from 0x6ba9a0 to 0x6baa44 (164 bytes)
//
// 1 xrefs:
// > EditorUI::editObject @ 0x486da8
//
// 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:45 +0000
//
SetupTriggerPopup *__fastcall SetupItemCompareTriggerPopup::create(
SetupItemCompareTriggerPopup *this,
ItemTriggerGameObject *a2,
cocos2d::CCArray *a3)
{
SetupTriggerPopup *v5; // r4
int v6; // r3
SetupTriggerPopup *v7; // r0
v5 = (SetupTriggerPopup *)operator new(0x2CCu);
SetupTriggerPopup::SetupTriggerPopup(v5);
*(_DWORD *)v5 = &off_CE2358;
*((_DWORD *)v5 + 66) = &off_CE2650;
*((_DWORD *)v5 + 67) = &off_CE2688;
*((_DWORD *)v5 + 68) = &off_CE2694;
*((_DWORD *)v5 + 69) = &off_CE26A4;
*((_DWORD *)v5 + 70) = &off_CE26B8;
*((_DWORD *)v5 + 79) = &off_CE26D0;
*((_DWORD *)v5 + 83) = &off_CE2710;
*((_DWORD *)v5 + 110) = &off_CE2720;
*((_DWORD *)v5 + 130) = &off_CE2744;
*((_DWORD *)v5 + 131) = &off_CE2750;
*((_DWORD *)v5 + 178) = 0;
if ( SetupItemCompareTriggerPopup::init((const cocos2d::CCPoint **)v5, this, a2) )
{
cocos2d::CCObject::autorelease(v5);
}
else
{
v6 = *(_DWORD *)v5;
v7 = v5;
v5 = nullptr;
(*(void (__fastcall **)(SetupTriggerPopup *))(v6 + 8))(v7);
}
return v5;
}