//
// SetupEnterEffectPopup::init from 0x693d14 to 0x695188 (5236 bytes)
//
// 1 xrefs:
// > SetupEnterEffectPopup::create @ 0x6953a2
//
// 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:14 +0000
//
GameManager *__fastcall SetupEnterEffectPopup::init(
cocos2d::CCDictionary **this,
EnterEffectObject *a2,
cocos2d::CCArray *a3,
cocos2d::CCDictionary *a4)
{
cocos2d::CCDirector *MultiTriggerItemsDefaultHorizontal; // r0
const char *v6; // r1
int v7; // r0
int v8; // r0
int v9; // r9
const cocos2d::CCPoint *v10; // r11
void (__fastcall *v11)(int, unsigned int (__fastcall **)(SetupEnterEffectPopup *, cocos2d::CCObject *)); // r10
int *v12; // r0
const char *v13; // r1
int v14; // r6
int v15; // r10
const cocos2d::CCPoint *v16; // r11
_BOOL4 v17; // r7
const cocos2d::CCPoint *v18; // r2
int v19; // r9
const cocos2d::CCPoint *v20; // r7
_BOOL4 v21; // r8
int v22; // r6
int v23; // r0
cocos2d::CCDictionary *v24; // r3
void (__fastcall *v25)(cocos2d::CCDictionary **, int, _DWORD); // r3
float v26; // r2
void (__fastcall *v27)(cocos2d::CCDictionary **, int, bool); // r6
float v28; // r0
void (__fastcall *v29)(cocos2d::CCDictionary **, int, bool); // r4
float v30; // r0
GameManager *v33; // [sp+38h] [bp-84h]
void (__fastcall *v34)(int, unsigned int (__fastcall **)(SetupEnterEffectPopup *, cocos2d::CCObject *)); // [sp+3Ch] [bp-80h]
const cocos2d::CCPoint *v35; // [sp+3Ch] [bp-80h]
float v36; // [sp+4Ch] [bp-70h] BYREF
float v37; // [sp+50h] [bp-6Ch]
_BYTE v38[8]; // [sp+54h] [bp-68h] BYREF
_BYTE v39[8]; // [sp+5Ch] [bp-60h] BYREF
_BYTE v40[8]; // [sp+64h] [bp-58h] BYREF
_BYTE v41[8]; // [sp+6Ch] [bp-50h] BYREF
_BYTE v42[8]; // [sp+74h] [bp-48h] BYREF
_DWORD (*v43)(SetupEnterEffectPopup *__hidden, cocos2d::CCObject *); // [sp+7Ch] [bp-40h]
int v44; // [sp+80h] [bp-3Ch]
_DWORD v45[2]; // [sp+84h] [bp-38h] BYREF
unsigned int (__fastcall *v46)(SetupEnterEffectPopup *, cocos2d::CCObject *); // [sp+8Ch] [bp-30h] BYREF
int v47; // [sp+90h] [bp-2Ch]
unsigned int (__fastcall *v48)(SetupEnterEffectPopup *, cocos2d::CCObject *); // [sp+94h] [bp-28h] BYREF
int v49; // [sp+98h] [bp-24h]
int v50; // [sp+9Ch] [bp-20h] BYREF
int v51; // [sp+A0h] [bp-1Ch]
int v52; // [sp+A4h] [bp-18h]
int v53; // [sp+A8h] [bp-14h] BYREF
int v54; // [sp+ACh] [bp-10h]
int v55; // [sp+B0h] [bp-Ch]
v33 = SetupTriggerPopup::init((SetupTriggerPopup *)this, a2, a3, 420.0, 280.0, (_BYTE *)&dword_0 + 1, 0.0);
if ( v33 )
{
*(this + 179) = a4;
(*((void (__fastcall **)(cocos2d::CCDictionary **))*this + 170))(this);
v53 = 0;
v54 = 0;
v55 = 0;
std::string::__init(&v53, "OK", 2u);
SetupTriggerPopup::addCloseButton((int)this, (int)&v53);
std::string::~string((int)&v53);
MultiTriggerItemsDefaultHorizontal = (cocos2d::CCDirector *)SetupTriggerPopup::createMultiTriggerItemsDefaultHorizontal((SetupTriggerPopup *)this);
cocos2d::CCDirector::sharedDirector(MultiTriggerItemsDefaultHorizontal);
cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)&v36);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v38, v36 * 0.5, (float)(v37 * 0.5) + 95.0);
v53 = 0;
v54 = 0;
v55 = 0;
if ( a4 == (cocos2d::CCDictionary *)((char *)&stru_BCC.st_name + 3) )
{
std::string::__init(&v53, "Stop Enter Effect", 0x11u);
SetupTriggerPopup::addTitle((int)this, (unsigned __int8 *)&v53);
std::string::~string((int)&v53);
v50 = 0;
v51 = 0;
v52 = 0;
std::string::__init(&v50, "Help", 4u);
v53 = 0;
v54 = 0;
v55 = 0;
std::string::__init(
&v53,
"Stops an enter effect using its Enter Channel or Effect ID.",
0x53u);
SetupTriggerPopup::addHelpButton((int)this, (int)&v50, (int)&v53, 1065353216);
std::string::~string((int)&v53);
v12 = &v50;
}
else
{
std::string::__init(&v53, "Length", 6u);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v46, -75.0, 0.0);
cocos2d::CCPoint::operator+(&v48, v38, &v46);
SetupTriggerPopup::createValueControlAdvanced(
this,
222,
(unsigned __int8 *)&v53,
(int)&v48,
1059481190,
0,
2,
6,
0,
0,
1120403456,
0,
0,
1,
2,
0);
std::string::~string((int)&v53);
v53 = 0;
v54 = 0;
v55 = 0;
std::string::__init(&v53, "+-", 2u);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v46, 75.0, 0.0);
cocos2d::CCPoint::operator+(&v48, v38, &v46);
SetupTriggerPopup::createValueControlAdvanced(
this,
223,
(unsigned __int8 *)&v53,
(int)&v48,
1059481190,
0,
2,
6,
0,
0,
1120403456,
0,
0,
1,
2,
0);
std::string::~string((int)&v53);
v53 = 0;
v54 = 0;
v55 = 0;
std::string::__init(&v53, "Offset", 6u);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v46, -75.0, -25.0);
cocos2d::CCPoint::operator+(&v48, v38, &v46);
SetupTriggerPopup::createValueControlAdvanced(
this,
220,
(unsigned __int8 *)&v53,
(int)&v48,
1059481190,
0,
2,
6,
0,
-1027080192,
1120403456,
0,
0,
1,
2,
0);
std::string::~string((int)&v53);
v53 = 0;
v54 = 0;
v55 = 0;
std::string::__init(&v53, "+-", 2u);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v46, 75.0, -25.0);
cocos2d::CCPoint::operator+(&v48, v38, &v46);
SetupTriggerPopup::createValueControlAdvanced(
this,
221,
(unsigned __int8 *)&v53,
(int)&v48,
1059481190,
0,
2,
6,
0,
-1027080192,
1120403456,
0,
0,
1,
2,
0);
std::string::~string((int)&v53);
switch ( (unsigned int)a4 )
{
case 0xBC9u:
v53 = 0;
v54 = 0;
v55 = 0;
std::string::__init(&v53, "Move Enter Effect", 0x11u);
SetupTriggerPopup::addTitle((int)this, (unsigned __int8 *)&v53);
std::string::~string((int)&v53);
v50 = 0;
v51 = 0;
v52 = 0;
std::string::__init(&v50, "Help", 4u);
v53 = 0;
v54 = 0;
v55 = 0;
std::string::__init(
&v53,
"Creates a custom move enter effect.\n"
"Length is how far from the border it is applied.\n"
"Enter Channel lets you specify specific objects.\n"
"Effect ID lets you reference this effect later.\n"
"MoveDist is the distance the objects move.\n"
"MoveAngle is the angle objects move with.\n"
"XY Mode lets you set X and Y values separately.",
0x172u);
SetupTriggerPopup::addHelpButton((int)this, (int)&v50, (int)&v53, 1065353216);
std::string::~string((int)&v53);
std::string::~string((int)&v50);
v53 = 0;
v54 = 0;
v55 = 0;
std::string::__init(&v53, "MoveDist", 8u);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v46, -75.0, -50.0);
cocos2d::CCPoint::operator+(&v48, v38, &v46);
SetupTriggerPopup::createValueControlAdvanced(
this,
218,
(unsigned __int8 *)&v53,
(int)&v48,
1059481190,
0,
2,
6,
0,
0,
1120403456,
0,
1,
1,
2,
0);
std::string::~string((int)&v53);
v53 = 0;
v54 = 0;
v55 = 0;
std::string::__init(&v53, "+-", 2u);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v46, 75.0, -50.0);
cocos2d::CCPoint::operator+(&v48, v38, &v46);
SetupTriggerPopup::createValueControlAdvanced(
this,
219,
(unsigned __int8 *)&v53,
(int)&v48,
1059481190,
0,
2,
6,
0,
0,
1120403456,
0,
1,
1,
2,
0);
std::string::~string((int)&v53);
v53 = 0;
v54 = 0;
v55 = 0;
std::string::__init(&v53, "MoveAngle", 9u);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v46, -75.0, -75.0);
cocos2d::CCPoint::operator+(&v48, v38, &v46);
SetupTriggerPopup::createValueControlAdvanced(
this,
231,
(unsigned __int8 *)&v53,
(int)&v48,
1059481190,
0,
2,
6,
0,
0,
1128792064,
0,
1,
1,
2,
0);
std::string::~string((int)&v53);
v53 = 0;
v54 = 0;
v55 = 0;
std::string::__init(&v53, "+-", 2u);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v46, 75.0, -75.0);
cocos2d::CCPoint::operator+(&v48, v38, &v46);
SetupTriggerPopup::createValueControlAdvanced(
this,
232,
(unsigned __int8 *)&v53,
(int)&v48,
1059481190,
0,
2,
6,
0,
0,
1128792064,
0,
1,
1,
2,
0);
std::string::~string((int)&v53);
v53 = 0;
v54 = 0;
v55 = 0;
std::string::__init(&v53, "XY\nMode", 7u);
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)&v48,
(float)((float)(*((float *)this + 139) * 0.5) + (float)(v36 * 0.5)) - 58.0,
(float)((float)(*((float *)this + 140) * 0.5) + (float)(v37 * 0.5)) - 20.0);
SetupTriggerPopup::createToggleValueControl(
(int)this,
241,
(int)&v53,
(const cocos2d::CCPoint *)&v48,
0,
0,
0,
1.0);
std::string::~string((int)&v53);
v53 = 0;
v54 = 0;
v55 = 0;
std::string::__init(&v53, "MoveX", 5u);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v46, -75.0, -50.0);
cocos2d::CCPoint::operator+(&v48, v38, &v46);
SetupTriggerPopup::createValueControlAdvanced(
this,
237,
(unsigned __int8 *)&v53,
(int)&v48,
1059481190,
0,
2,
6,
0,
0,
1120403456,
0,
2,
1,
2,
0);
std::string::~string((int)&v53);
v53 = 0;
v54 = 0;
v55 = 0;
std::string::__init(&v53, "+-", 2u);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v46, 75.0, -50.0);
cocos2d::CCPoint::operator+(&v48, v38, &v46);
SetupTriggerPopup::createValueControlAdvanced(
this,
238,
(unsigned __int8 *)&v53,
(int)&v48,
1059481190,
0,
2,
6,
0,
0,
1120403456,
0,
2,
1,
2,
0);
std::string::~string((int)&v53);
v53 = 0;
v54 = 0;
v55 = 0;
std::string::__init(&v53, "MoveY", 5u);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v46, -75.0, -75.0);
cocos2d::CCPoint::operator+(&v48, v38, &v46);
SetupTriggerPopup::createValueControlAdvanced(
this,
239,
(unsigned __int8 *)&v53,
(int)&v48,
1059481190,
0,
2,
6,
0,
0,
1128792064,
0,
2,
1,
2,
0);
std::string::~string((int)&v53);
v53 = 0;
v54 = 0;
v55 = 0;
std::string::__init(&v53, "+-", 2u);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v46, 75.0, -75.0);
cocos2d::CCPoint::operator+(&v48, v38, &v46);
SetupTriggerPopup::createValueControlAdvanced(
this,
240,
(unsigned __int8 *)&v53,
(int)&v48,
1059481190,
0,
2,
6,
0,
0,
1128792064,
0,
2,
1,
2,
0);
goto LABEL_8;
case 0xBCAu:
v53 = 0;
v54 = 0;
v55 = 0;
std::string::__init(&v53, "Rotate Enter Effect", 0x13u);
SetupTriggerPopup::addTitle((int)this, (unsigned __int8 *)&v53);
std::string::~string((int)&v53);
v50 = 0;
v51 = 0;
v52 = 0;
std::string::__init(&v50, "Help", 4u);
v53 = 0;
v54 = 0;
v55 = 0;
std::string::__init(
&v53,
"Creates a custom rotate enter effect.\n"
"Length is how far from the border it is applied.\n"
"Enter Channel lets you specify specific objects.\n"
"Effect ID lets you reference this effect later.\n"
"Rotation sets how many degrees to rotate. Positive values are clockwise, while negative are counterclockwise.",
0x14Du);
SetupTriggerPopup::addHelpButton((int)this, (int)&v50, (int)&v53, 1065353216);
std::string::~string((int)&v53);
std::string::~string((int)&v50);
v53 = 0;
v54 = 0;
v55 = 0;
std::string::__init(&v53, "Rotation", 8u);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v46, -75.0, -50.0);
cocos2d::CCPoint::operator+(&v48, v38, &v46);
SetupTriggerPopup::createValueControlAdvanced(
this,
270,
(unsigned __int8 *)&v53,
(int)&v48,
1059481190,
0,
2,
6,
0,
-1011613696,
1135869952,
0,
0,
1,
2,
0);
std::string::~string((int)&v53);
v53 = 0;
v54 = 0;
v55 = 0;
std::string::__init(&v53, "+-", 2u);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v46, 75.0, -50.0);
cocos2d::CCPoint::operator+(&v48, v38, &v46);
SetupTriggerPopup::createValueControlAdvanced(
this,
271,
(unsigned __int8 *)&v53,
(int)&v48,
1059481190,
0,
2,
6,
0,
0,
1127481344,
0,
0,
1,
2,
0);
goto LABEL_8;
case 0xBCBu:
v53 = 0;
v54 = 0;
v55 = 0;
std::string::__init(&v53, "Scale Enter Effect", 0x12u);
SetupTriggerPopup::addTitle((int)this, (unsigned __int8 *)&v53);
std::string::~string((int)&v53);
v50 = 0;
v51 = 0;
v52 = 0;
std::string::__init(&v50, "Help", 4u);
v53 = 0;
v54 = 0;
v55 = 0;
std::string::__init(
&v53,
"Creates a custom scale enter effect.\n"
"Length is how far from the border it is applied.\n"
"Enter Channel lets you specify specific objects.\n"
"Effect ID lets you reference this effect later.\n"
"ScaleX and ScaleY is the size to scale to for each axis.",
0x117u);
SetupTriggerPopup::addHelpButton((int)this, (int)&v50, (int)&v53, 1065353216);
std::string::~string((int)&v53);
std::string::~string((int)&v50);
v53 = 0;
v54 = 0;
v55 = 0;
std::string::__init(&v53, "ScaleX", 6u);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v46, -75.0, -50.0);
cocos2d::CCPoint::operator+(&v48, v38, &v46);
SetupTriggerPopup::createValueControlAdvanced(
this,
233,
(unsigned __int8 *)&v53,
(int)&v48,
1059481190,
0,
1,
6,
0,
0,
1120403456,
0,
0,
1,
2,
0);
std::string::~string((int)&v53);
v53 = 0;
v54 = 0;
v55 = 0;
std::string::__init(&v53, "+-", 2u);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v46, 75.0, -50.0);
cocos2d::CCPoint::operator+(&v48, v38, &v46);
SetupTriggerPopup::createValueControlAdvanced(
this,
234,
(unsigned __int8 *)&v53,
(int)&v48,
1059481190,
0,
1,
6,
0,
0,
1120403456,
0,
0,
1,
2,
0);
std::string::~string((int)&v53);
v53 = 0;
v54 = 0;
v55 = 0;
std::string::__init(&v53, "ScaleY", 6u);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v46, -75.0, -75.0);
cocos2d::CCPoint::operator+(&v48, v38, &v46);
SetupTriggerPopup::createValueControlAdvanced(
this,
235,
(unsigned __int8 *)&v53,
(int)&v48,
1059481190,
0,
1,
6,
0,
0,
1128792064,
0,
0,
1,
2,
0);
std::string::~string((int)&v53);
v53 = 0;
v54 = 0;
v55 = 0;
std::string::__init(&v53, "+-", 2u);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v46, 75.0, -75.0);
cocos2d::CCPoint::operator+(&v48, v38, &v46);
SetupTriggerPopup::createValueControlAdvanced(
this,
236,
(unsigned __int8 *)&v53,
(int)&v48,
1059481190,
0,
1,
6,
0,
0,
1128792064,
0,
0,
1,
2,
0);
goto LABEL_8;
case 0xBCCu:
v53 = 0;
v54 = 0;
v55 = 0;
std::string::__init(&v53, "Fade Enter Effect", 0x11u);
SetupTriggerPopup::addTitle((int)this, (unsigned __int8 *)&v53);
std::string::~string((int)&v53);
v50 = 0;
v51 = 0;
v52 = 0;
std::string::__init(&v50, "Help", 4u);
v53 = 0;
v54 = 0;
v55 = 0;
std::string::__init(
&v53,
"Creates a custom fade enter effect.\n"
"Length is how far from the border it is applied.\n"
"Enter Channel lets you specify specific objects.\n"
"Effect ID lets you reference this effect later.\n"
"Opacity is how much the objects fade near the edges of the screen.",
0x120u);
SetupTriggerPopup::addHelpButton((int)this, (int)&v50, (int)&v53, 1065353216);
std::string::~string((int)&v53);
std::string::~string((int)&v50);
v53 = 0;
v54 = 0;
v55 = 0;
std::string::__init(&v53, "Opacity", 7u);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v46, -75.0, -50.0);
cocos2d::CCPoint::operator+(&v48, v38, &v46);
SetupTriggerPopup::createValueControlAdvanced(
this,
275,
(unsigned __int8 *)&v53,
(int)&v48,
1059481190,
0,
1,
6,
0,
0,
1065353216,
0,
0,
1,
2,
0);
LABEL_8:
std::string::~string((int)&v53);
break;
case 0xBCDu:
v53 = 0;
v54 = 0;
v55 = 0;
std::string::__init(&v53, "Tint Enter Effect", 0x11u);
SetupTriggerPopup::addTitle((int)this, (unsigned __int8 *)&v53);
std::string::~string((int)&v53);
v50 = 0;
v51 = 0;
v52 = 0;
std::string::__init(&v50, "Help", 4u);
v53 = 0;
v54 = 0;
v55 = 0;
std::string::__init(
&v53,
"Creates a custom tint enter effect.\n"
"Length is how far from the border it is applied.\n"
"Enter Channel lets you specify specific objects.\n"
"Effect ID lets you reference this effect later.\n"
"Color Channel is the reference to tint objects with.\n"
"% is how strong the tint is.\n"
"Main and Secondary Only does tinting only for base or detail colors respectively.\n"
"HSV lets you tint the original color channel. ",
0x1C8u);
SetupTriggerPopup::addHelpButton((int)this, (int)&v50, (int)&v53, 1065353216);
std::string::~string((int)&v53);
std::string::~string((int)&v50);
v53 = 0;
v54 = 0;
v55 = 0;
std::string::__init(&v53, "Color Channel:", 0xEu);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v46, -100.0, -75.0);
cocos2d::CCPoint::operator+(&v48, v38, &v46);
SetupTriggerPopup::createValueControlAdvanced(
this,
260,
(unsigned __int8 *)&v53,
(int)&v48,
1059481190,
1,
3,
6,
1,
0,
1120403456,
0,
1,
0,
2,
0);
std::string::~string((int)&v53);
v53 = 0;
v54 = 0;
v55 = 0;
std::string::__init(&v53, "Tint", 4u);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v46, 75.0, -75.0);
cocos2d::CCPoint::operator+(&v48, v38, &v46);
SetupTriggerPopup::createValueControlAdvanced(
this,
265,
(unsigned __int8 *)&v53,
(int)&v48,
1059481190,
0,
1,
6,
0,
0,
1065353216,
0,
1,
1,
2,
0);
std::string::~string((int)&v53);
v53 = 0;
v54 = 0;
v55 = 0;
std::string::__init(&v53, "Main\nOnly", 9u);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v46, 150.0, -107.5);
cocos2d::CCPoint::operator+(&v48, v38, &v46);
SetupTriggerPopup::createToggleValueControl(
(int)this,
65,
(int)&v53,
(const cocos2d::CCPoint *)&v48,
0,
0,
0,
1.0);
std::string::~string((int)&v53);
v53 = 0;
v54 = 0;
v55 = 0;
std::string::__init(&v53, "Sec\nOnly", 8u);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v46, 150.0, -137.5);
cocos2d::CCPoint::operator+(&v48, v38, &v46);
SetupTriggerPopup::createToggleValueControl(
(int)this,
66,
(int)&v53,
(const cocos2d::CCPoint *)&v48,
0,
0,
0,
1.0);
std::string::~string((int)&v53);
v53 = 0;
v54 = 0;
v55 = 0;
std::string::__init(&v53, "HSV", 3u);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v46, 150.0, -167.5);
cocos2d::CCPoint::operator+(&v48, v38, &v46);
SetupTriggerPopup::createToggleValueControl(
(int)this,
278,
(int)&v53,
(const cocos2d::CCPoint *)&v48,
0,
0,
0,
1.0);
std::string::~string((int)&v53);
v7 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_hsvBtn_001.png", v6);
v43 = SetupEnterEffectPopup::onHSV;
v44 = 0;
v8 = CCMenuItemSpriteExtra::create(v7, 0, (int)this, (int)SetupEnterEffectPopup::onHSV, 0);
*(this + 183) = (cocos2d::CCDictionary *)v8;
(*(void (__fastcall **)(_DWORD, int))(*(_DWORD *)*(this + 111) + 228))(*(this + 111), v8);
v9 = (int)*(this + 183);
v10 = *(this + 111);
v11 = *(void (__fastcall **)(int, unsigned int (__fastcall **)(SetupEnterEffectPopup *, cocos2d::CCObject *)))(*(_DWORD *)v9 + 92);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v45, 0.0, -75.0);
cocos2d::CCPoint::operator+(&v46, v38, v45);
cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)&v48, v10);
v11(v9, &v48);
SetupTriggerPopup::addObjectToGroup(this, *(this + 183), 2u);
SetupTriggerPopup::addObjectToPage(this, *(this + 183), 0);
SetupEnterEffectPopup::updateHSVButton((SetupEnterEffectPopup *)this);
break;
default:
break;
}
v53 = 0;
v54 = 0;
v55 = 0;
std::string::__init(&v53, "Easing", 6u);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v46, -95.0, -154.0);
cocos2d::CCPoint::operator+(&v48, v38, &v46);
SetupTriggerPopup::createCustomEasingControls(
(int)this,
(int)&v53,
(int)&v48,
(cocos2d::CCFloat *)0x3F333333,
(cocos2d::CCInteger *)((char *)&dword_F0 + 2),
(cocos2d::CCInteger *)((char *)&dword_F0 + 3),
0,
0);
v12 = &v53;
}
std::string::~string((int)v12);
v53 = 0;
v54 = 0;
v55 = 0;
std::string::__init(&v53, "Enter Channel:", 0xEu);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v46, -100.0, -125.0);
cocos2d::CCPoint::operator+(&v48, v38, &v46);
IDNameInput::create((int)this, (int)(this + 110), 8, 344, (int)&v53, (int)&v48, 0.7, 6, 0, 0, 0);
std::string::~string((int)&v53);
v53 = 0;
v54 = 0;
v55 = 0;
std::string::__init(&v53, "EffectID:", 9u);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v46, 60.0, -125.0);
cocos2d::CCPoint::operator+(&v48, v38, &v46);
SetupTriggerPopup::createValueControlAdvanced(
this,
225,
(unsigned __int8 *)&v53,
(int)&v48,
1060320051,
1,
3,
6,
1,
0,
1120403456,
1,
0,
0,
2,
0);
std::string::~string((int)&v53);
v14 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_plus2Btn_001.png", v13);
(*(void (__fastcall **)(int, int))(*(_DWORD *)v14 + 80))(v14, 1061997773);
v45[0] = SetupEnterEffectPopup::onNextFreeEnterEffectID;
v45[1] = 0;
v15 = CCMenuItemSpriteExtra::create(v14, 0, (int)this, (int)SetupEnterEffectPopup::onNextFreeEnterEffectID, 0);
(*(void (__fastcall **)(_DWORD, int))(*(_DWORD *)*(this + 111) + 228))(*(this + 111), v15);
v16 = *(this + 111);
v34 = *(void (__fastcall **)(int, unsigned int (__fastcall **)(SetupEnterEffectPopup *, cocos2d::CCObject *)))(*(_DWORD *)v15 + 92);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v42, 105.0, -102.0);
cocos2d::CCPoint::operator+(&v46, v38, v42);
cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)&v48, v16);
v34(v15, &v48);
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)v39,
(float)(v36 * 0.5) + 60.0,
(float)((float)(v37 * 0.5) - (float)(*((float *)this + 140) * 0.5)) + 20.0);
v53 = 0;
v54 = 0;
v55 = 0;
std::string::__init(&v53, "Enter\nOnly", 0xAu);
v47 = 0;
v17 = *(this + 182) == (cocos2d::CCDictionary *)((char *)&dword_0 + 1);
v18 = *(this + 111);
v46 = SetupEnterEffectPopup::onEnterType;
v35 = v18;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v41, 0.0, 30.0);
cocos2d::CCPoint::operator+(v42, v39, v41);
v19 = (int)*(this + 115);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v48, 8.0, 0.0);
*(this + 180) = GameToolbox::createToggleButton(
(int)&v53,
(int)v46,
v47,
v17,
v35,
(int)v42,
(int)this,
v19,
0.7,
0.35,
110.0,
(int)&v48,
"bigFont.fnt",
0,
0,
nullptr);
std::string::~string((int)&v53);
v53 = 0;
v54 = 0;
v55 = 0;
std::string::__init(&v53, "Exit\nOnly", 9u);
v49 = 0;
v20 = *(this + 111);
v48 = SetupEnterEffectPopup::onEnterType;
v21 = *(this + 182) == (cocos2d::CCDictionary *)((char *)&dword_0 + 2);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v40, 0.0, 0.0);
cocos2d::CCPoint::operator+(v41, v39, v40);
v22 = (int)*(this + 115);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v42, 8.0, 0.0);
*(this + 181) = GameToolbox::createToggleButton(
(int)&v53,
(int)v48,
v49,
v21,
v20,
(int)v41,
(int)this,
v22,
0.7,
0.35,
110.0,
(int)v42,
"bigFont.fnt",
0,
0,
nullptr);
std::string::~string((int)&v53);
*((_BYTE *)*(this + 180) + 309) = 1;
(*(void (__fastcall **)(_DWORD, int))(*(_DWORD *)*(this + 180) + 36))(*(this + 180), 1);
*((_BYTE *)*(this + 181) + 309) = 1;
(*(void (__fastcall **)(_DWORD, int))(*(_DWORD *)*(this + 181) + 36))(*(this + 181), 2);
(*((void (__fastcall **)(cocos2d::CCDictionary **))*this + 179))(this);
if ( a4 == (cocos2d::CCDictionary *)&stru_BBC.st_other )
{
v23 = cocos2d::CCDictionary::objectForKey(*(this + 154), 241);
v24 = *this;
if ( v23 )
{
v25 = *((void (__fastcall **)(cocos2d::CCDictionary **, int, _DWORD))v24 + 182);
if ( *(float *)(v23 + 52) == 0.0 )
v26 = 0.0;
else
v26 = 1.0;
v25(this, 241, LODWORD(v26));
}
else
{
(*((void (__fastcall **)(cocos2d::CCDictionary **, int, _DWORD))v24 + 169))(this, 1, 0);
(*((void (__fastcall **)(cocos2d::CCDictionary **, int, _DWORD))*this + 169))(this, 2, 0);
}
}
else if ( a4 == (cocos2d::CCDictionary *)((char *)&stru_BCC.st_name + 1) )
{
v27 = *((void (__fastcall **)(cocos2d::CCDictionary **, int, bool))*this + 169);
v28 = COERCE_FLOAT((*((int (__fastcall **)(cocos2d::CCDictionary **, int))*this + 183))(this, 278));
v27(this, 1, v28 == 0.0);
v29 = *((void (__fastcall **)(cocos2d::CCDictionary **, int, bool))*this + 169);
v30 = COERCE_FLOAT((*((int (__fastcall **)(cocos2d::CCDictionary **, int))*this + 183))(this, 278));
v29(this, 2, v30 != 0.0);
}
*((_BYTE *)this + 568) = 0;
}
return v33;
}