//
// MultiTriggerPopup::init from 0x6b4998 to 0x6b4afa (354 bytes)
//
// 1 xrefs:
// > MultiTriggerPopup::create @ 0x6b4b92
//
// 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:41 +0000
//
GameManager *__fastcall MultiTriggerPopup::init(MultiTriggerPopup *this, EffectGameObject *a2, cocos2d::CCArray *a3)
{
GameManager *v4; // r8
cocos2d::CCDirector *v5; // r0
float v7[2]; // [sp+14h] [bp-34h] BYREF
_BYTE v8[8]; // [sp+1Ch] [bp-2Ch] BYREF
_BYTE v9[8]; // [sp+24h] [bp-24h] BYREF
int v10[3]; // [sp+2Ch] [bp-1Ch] BYREF
int v11; // [sp+38h] [bp-10h] BYREF
int v12; // [sp+3Ch] [bp-Ch]
int v13; // [sp+40h] [bp-8h]
v4 = SetupTriggerPopup::init(this, a2, a3, 200.0, 120.0, (_BYTE *)&dword_0 + 1, 0.0);
if ( v4 )
{
SetupTriggerPopup::preSetup(this);
v11 = 0;
v12 = 0;
v13 = 0;
std::string::__init(&v11, "Setup", 5u);
SetupTriggerPopup::addTitle((int)this, (unsigned __int8 *)&v11);
std::string::~string((int)&v11);
v11 = 0;
v12 = 0;
v13 = 0;
std::string::__init(&v11, "OK", 2u);
SetupTriggerPopup::addCloseButton((int)this, (int)&v11);
std::string::~string((int)&v11);
memset(v10, 0, sizeof(v10));
std::string::__init(v10, "Help", 4u);
v11 = 0;
v12 = 0;
v13 = 0;
std::string::__init(&v11, "Allow Multi makes it so the object can be activated several times.", 0x4Au);
SetupTriggerPopup::addHelpButton((int)this, (int)v10, (int)&v11, 1065353216);
std::string::~string((int)&v11);
v5 = (cocos2d::CCDirector *)std::string::~string((int)v10);
cocos2d::CCDirector::sharedDirector(v5);
cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)v7);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v8, (float)(v7[0] * 0.5) - 30.0, (float)(v7[1] * 0.5) + 10.0);
v11 = 0;
v12 = 0;
v13 = 0;
std::string::__init(&v11, "Allow Multi", 0xBu);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, (const cocos2d::CCPoint *)v8);
SetupTriggerPopup::createToggleValueControl((int)this, 87, (int)&v11, (const cocos2d::CCPoint *)v9, 0, 0, 0, 1.0);
std::string::~string((int)&v11);
SetupTriggerPopup::postSetup(this);
}
return v4;
}