//
// SetupPulsePopup::init from 0xa4686c to 0xa4925c (10736 bytes)
//
// 2 xrefs:
// > SetupPulsePopup::create @ 0xa495ac
// > ??> @ 0xca780
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:00:01 +0000
//
__int64 __fastcall SetupPulsePopup::init(SetupPulsePopup *this, EffectGameObject *a2, cocos2d::CCArray *a3)
{
cocos2d::CCObject *v5; // x0
cocos2d::CCArray *v6; // x0
cocos2d::CCObject *v7; // x0
__int64 v8; // x22
void (__fastcall *v9)(__int64, __int64 *); // x23
__int64 v10; // x24
cocos2d::CCDirector *v11; // x0
cocos2d::CCDirector *v12; // x0
const char *v13; // x2
__int64 v14; // x23
void (__fastcall *v15)(__int64, __int64 *); // x28
void (__fastcall *v16)(__int64, __int64 *); // x28
__int64 v17; // x25
void (__fastcall *v18)(__int64, __int64 *); // x23
const char *v19; // x4
char *v20; // x23
__int64 v21; // x0
__int64 v22; // x28
__int64 v23; // x0
__int64 v24; // x28
__int64 v25; // x0
__int64 v26; // x28
__int64 Thumb; // x0
float v28; // s1
float v29; // s0
const char *v30; // x2
__int64 v31; // x28
__int64 v32; // x28
const char *v33; // x4
__int64 v34; // x0
__int64 v35; // x0
__int64 v36; // x1
void (__fastcall *v37)(cocos2d::CCSize *, __int64); // x28
__int64 v38; // x0
__int64 v39; // x28
__int64 v40; // x0
__int64 v41; // x28
__int64 v42; // x0
float v43; // s1
float v44; // s0
const char *v45; // x2
__int64 v46; // x28
void (__fastcall *v47)(__int64, __int64 *); // x27
void (__fastcall *v48)(__int64, __int64 *); // x27
__int64 v49; // x26
void (__fastcall *v50)(__int64, __int64 *); // x24
const char *v51; // x4
__int64 v52; // x0
__int64 v53; // x23
void (__fastcall *v54)(__int64, __int64); // x24
__int64 v55; // x0
__int64 v56; // x23
__int64 v57; // x0
__int64 v58; // x23
void (__fastcall *v59)(__int64, __int64 *); // x24
__int64 v60; // x0
float v61; // s1
float v62; // s0
const char *v63; // x2
__int64 v64; // x26
const char *v65; // x6
__int64 v66; // x0
__int64 v67; // x0
const char *v68; // x6
__int64 v69; // x0
__int64 v70; // x0
__int64 v71; // x22
void (__fastcall *v72)(__int64, __int64 *); // x24
__int64 v73; // x22
void (__fastcall *v74)(__int64, __int64 *); // x24
const char *v75; // x2
__int64 v76; // x0
__int64 v77; // x22
void (__fastcall *v78)(__int64, __int64 *); // x24
int v79; // w1
__int64 v80; // x28
cocos2d::CCNode *v81; // x0
const char *v82; // x1
__int64 v83; // x23
__int64 v84; // x0
__int64 v85; // x23
const char *v86; // x2
__int64 v87; // x23
void (__fastcall *v88)(__int64, __int64 *); // x28
cocos2d::CCNode *v89; // x28
__int64 v90; // x23
const char *v91; // x6
__int64 v92; // x0
__int64 v93; // x0
const char *v94; // x6
__int64 v95; // x0
__int64 v96; // x0
__int64 v97; // x24
void (__fastcall *v98)(__int64, __int64 *); // x26
__int64 v99; // x24
void (__fastcall *v100)(__int64, __int64 *); // x26
unsigned __int8 v101; // w27
cocos2d::CCNode *v102; // x26
__int64 v103; // x24
CCMenuItemToggler *ToggleButton; // x0
char v105; // w1
unsigned __int8 v106; // w27
cocos2d::CCNode *v107; // x26
__int64 v108; // x25
CCMenuItemToggler *v109; // x0
char v110; // w1
unsigned __int8 v111; // w27
cocos2d::CCNode *v112; // x26
__int64 v113; // x25
unsigned __int8 v114; // w27
cocos2d::CCNode *v115; // x26
__int64 v116; // x25
unsigned __int8 v117; // w28
cocos2d::CCNode *v118; // x27
__int64 v119; // x26
CCMenuItemToggler *v120; // x0
char v121; // w1
unsigned __int8 v122; // w28
cocos2d::CCNode *v123; // x27
__int64 v124; // x26
CCMenuItemToggler *v125; // x0
char v126; // w1
cocos2d::CCNode *v127; // x27
unsigned __int8 v128; // w25
__int64 v129; // x24
CCMenuItemToggler *v130; // x0
char v131; // w1
cocos2d::CCObject *v132; // x1
int v133; // w26
int v134; // w25
cocos2d::CCObject *v135; // x27
cocos2d::extension::CCControlColourPicker *v136; // x0
__int64 v137; // x0
__int64 v138; // x27
const char *v139; // x6
const char *v140; // x6
__int64 v141; // x27
cocos2d::CCObject *v142; // x24
cocos2d::CCObject *v143; // x27
const char *v144; // x1
__int64 v145; // x0
__int64 v146; // x27
float v147; // s15
const char *v148; // x1
__int64 v149; // x0
__int64 v150; // x24
void (__fastcall *v151)(__int64, __int64 *); // x27
const char *v152; // x2
char *v153; // x0
cocos2d::CCObject *v154; // x24
void (__fastcall *v155)(cocos2d::CCObject *, __int64 *); // x27
void (__fastcall *v156)(cocos2d::CCObject *, __int64 *); // x27
float v157; // s0
cocos2d::CCObject *v158; // x24
void (__fastcall *v159)(cocos2d::CCObject *, __int64 *); // x2
const char *v160; // x4
float v161; // s0
__int64 v162; // x24
int v163; // w0
const char *v164; // x1
size_t v165; // x0
__int64 v166; // x0
__int64 v167; // x2
__int64 v168; // x25
void (__fastcall *v169)(__int64, __int64 *); // x26
const char *v170; // x2
cocos2d::CCObject *v171; // x25
cocos2d::CCObject *v172; // x25
void (__fastcall *v173)(cocos2d::CCObject *, __int64 *); // x2
const char *v174; // x4
__int64 v175; // x0
__int64 v176; // x25
const char *v177; // x1
__int64 v178; // x25
cocos2d::CCObject *v179; // x25
void (__fastcall *v180)(cocos2d::CCObject *, __int64 *); // x27
const char *v181; // x1
__int64 v182; // x25
cocos2d::CCObject *v183; // x21
void (__fastcall *v184)(cocos2d::CCObject *, __int64 *); // x25
const char *v185; // x1
__int64 v186; // x0
cocos2d::CCObject *v187; // x21
cocos2d::CCNode *v188; // x26
void (__fastcall *v189)(cocos2d::CCObject *, __int64 *); // x25
int v190; // w0
cocos2d::CCObject *v191; // x1
int v192; // w0
cocos2d::CCObject *v193; // x1
cocos2d::CCNode *v194; // [xsp+D0h] [xbp+A0h]
cocos2d::CCNode *v195; // [xsp+D0h] [xbp+A0h]
unsigned __int8 v196; // [xsp+DFh] [xbp+AFh]
cocos2d::CCSize *v197; // [xsp+F0h] [xbp+C0h]
cocos2d::CCSize *v198; // [xsp+F0h] [xbp+C0h]
cocos2d::CCSize *v199; // [xsp+F0h] [xbp+C0h]
cocos2d::CCSize *v200; // [xsp+F0h] [xbp+C0h]
cocos2d::CCSize *v201; // [xsp+F0h] [xbp+C0h]
cocos2d::CCSize *v202; // [xsp+F0h] [xbp+C0h]
cocos2d::CCSize *v203; // [xsp+F8h] [xbp+C8h]
cocos2d::CCSize *v204; // [xsp+F8h] [xbp+C8h]
cocos2d::CCSize *v205; // [xsp+F8h] [xbp+C8h]
cocos2d::CCSize *v206; // [xsp+F8h] [xbp+C8h]
cocos2d::CCSize *v207; // [xsp+F8h] [xbp+C8h]
cocos2d::CCSize *v208; // [xsp+F8h] [xbp+C8h]
cocos2d::CCSize *v209; // [xsp+F8h] [xbp+C8h]
cocos2d::CCSize *v210; // [xsp+F8h] [xbp+C8h]
cocos2d::CCSize *v211; // [xsp+F8h] [xbp+C8h]
cocos2d::CCSize *v212; // [xsp+F8h] [xbp+C8h]
cocos2d::CCSize *v213; // [xsp+F8h] [xbp+C8h]
void (__fastcall *v214)(__int64, __int64); // [xsp+100h] [xbp+D0h]
char *v215; // [xsp+100h] [xbp+D0h]
_BYTE v216[8]; // [xsp+110h] [xbp+E0h] BYREF
__int64 v217; // [xsp+118h] [xbp+E8h]
__int64 v218; // [xsp+120h] [xbp+F0h]
__int64 v219; // [xsp+128h] [xbp+F8h]
__int64 v220; // [xsp+130h] [xbp+100h]
__int64 v221; // [xsp+138h] [xbp+108h]
__int64 v222; // [xsp+140h] [xbp+110h] BYREF
_BYTE v223[8]; // [xsp+148h] [xbp+118h] BYREF
_BYTE v224[8]; // [xsp+150h] [xbp+120h] BYREF
_BYTE v225[8]; // [xsp+158h] [xbp+128h] BYREF
_BYTE v226[8]; // [xsp+160h] [xbp+130h] BYREF
__int64 v227; // [xsp+168h] [xbp+138h] BYREF
__int64 v228; // [xsp+170h] [xbp+140h] BYREF
_BYTE v229[8]; // [xsp+178h] [xbp+148h] BYREF
__int64 v230; // [xsp+180h] [xbp+150h] BYREF
__int64 v231; // [xsp+188h] [xbp+158h] BYREF
_BYTE v232[8]; // [xsp+190h] [xbp+160h] BYREF
_BYTE v233[8]; // [xsp+198h] [xbp+168h] BYREF
_BYTE v234[8]; // [xsp+1A0h] [xbp+170h] BYREF
__int64 v235; // [xsp+1A8h] [xbp+178h] BYREF
__int64 v236; // [xsp+1B0h] [xbp+180h] BYREF
__int64 v237; // [xsp+1B8h] [xbp+188h] BYREF
__int64 v238; // [xsp+1C0h] [xbp+190h] BYREF
_BYTE v239[16]; // [xsp+1C8h] [xbp+198h] BYREF
_BYTE v240[16]; // [xsp+1D8h] [xbp+1A8h] BYREF
__int64 v241[2]; // [xsp+1E8h] [xbp+1B8h] BYREF
cocos2d::CCDirector *v242[2]; // [xsp+1F8h] [xbp+1C8h] BYREF
void *v243; // [xsp+208h] [xbp+1D8h]
__int64 v244; // [xsp+210h] [xbp+1E0h] BYREF
__int64 v245; // [xsp+218h] [xbp+1E8h]
void *v246; // [xsp+220h] [xbp+1F0h]
v196 = SetupTriggerPopup::init(this, a2, a3, 450.0, 310.0, 1, 0.0);
if ( !v196 )
return v196;
*((_BYTE *)this + 1300) = 1;
v5 = (cocos2d::CCObject *)cocos2d::CCArray::create((cocos2d::CCArray *)v196);
*((_QWORD *)this + 131) = v5;
v6 = (cocos2d::CCArray *)cocos2d::CCObject::retain(v5);
v7 = (cocos2d::CCObject *)cocos2d::CCArray::create(v6);
*((_QWORD *)this + 132) = v7;
cocos2d::CCObject::retain(v7);
*((_BYTE *)this + 1276) = 1;
(*(void (__fastcall **)(SetupPulsePopup *))(*(_QWORD *)this + 1360LL))(this);
v244 = 0;
v245 = 0;
v246 = nullptr;
std::string::__init(&v244, "Setup Pulse Effect", 0x12u);
v8 = SetupTriggerPopup::addTitle(this, &v244);
if ( (v244 & 1) != 0 )
operator delete(v246);
v9 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v8 + 184LL);
v10 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 192LL))(v8);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v240, -65.0, 0.0);
cocos2d::CCPoint::operator+(v241, v10);
v9(v8, v241);
v244 = 0;
v245 = 0;
v246 = nullptr;
std::string::__init(&v244, "OK", 2u);
SetupTriggerPopup::addCloseButton(this, &v244);
if ( (v244 & 1) != 0 )
operator delete(v246);
v242[0] = nullptr;
v242[1] = nullptr;
v243 = nullptr;
std::string::__init((__int64 *)v242, "Help", 4u);
v244 = 0;
v245 = 0;
v246 = nullptr;
std::string::__init(
&v244,
"Applies a temporary color effect to a group or channel. Set which using Target Type.\n"
"If set to group, you can toggle between main and detail colors.\n"
"Color Mode tints the target to the selected color.\n"
"HSV Mode modifies the base color's hue, saturation, and brightness values.\n"
"Exclusive disables all other pulses using the same ID when activated (not visible in editor).",
0x198u);
SetupTriggerPopup::addHelpButton(this, v242, &v244, 1.0);
if ( (v244 & 1) != 0 )
operator delete(v246);
v11 = (cocos2d::CCDirector *)LOBYTE(v242[0]);
if ( ((__int64)v242[0] & 1) != 0 )
operator delete(v243);
v12 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v11);
cocos2d::CCDirector::getWinSize(&v222, v12);
qmemcpy(v216, "l<$", 3);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v223, -10.0, 12.0);
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)v224,
(float)(*(float *)&v222 * 0.5) + -29.0,
(float)(*((float *)&v222 + 1) * 0.5) + -44.0);
v14 = cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)"Fade In: ", "goldFont.fnt", v13);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v14 + 160LL))(v14, 0.5);
v15 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v14 + 184LL);
cocos2d::CCPoint::operator+(v241, v224);
v15(v14, v241);
v16 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v14 + 296LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v241, 1.0, 0.5);
v16(v14, v241);
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**((_QWORD **)this + 73) + 464LL))(*((_QWORD *)this + 73), v14, 10);
cocos2d::CCRect::CCRect((cocos2d::CCRect *)v239, 0.0, 0.0, 40.0, 40.0);
cocos2d::CCRect::CCRect((cocos2d::CCRect *)v241, (const cocos2d::CCRect *)v239);
v17 = cocos2d::extension::CCScale9Sprite::create("square02b_small.png", v241);
(*(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v17 + 960LL))(v17, v216);
cocos2d::CCSize::CCSize((cocos2d::CCSize *)v225, 60.0, 20.0);
(*(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v17 + 320LL))(v17, v225);
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**((_QWORD **)this + 73) + 464LL))(
*((_QWORD *)this + 73),
v17,
0xFFFFFFFFLL);
v18 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v17 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v240, 40.0, 0.0);
cocos2d::CCPoint::operator+(v241, v224);
v18(v17, v241);
if ( *((float *)this + 320) == -0.1 )
v20 = "Mixed";
else
v20 = "Num";
v21 = CCTextInputNode::create(
(CCTextInputNode *)v20,
50.0,
20.0,
"Thonburi",
(const char *)&off_18,
"bigFont.fnt",
v19);
*((_QWORD *)this + 147) = v21;
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**((_QWORD **)this + 73) + 464LL))(*((_QWORD *)this + 73), v21, 20);
v22 = *((_QWORD *)this + 147);
v214 = *(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v22 + 184LL);
v23 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v17 + 192LL))(v17);
v214(v22, v23);
CCTextInputNode::setMaxLabelScale(*((CCTextInputNode **)this + 147), 0.6);
CCTextInputNode::setMaxLabelWidth(*((CCTextInputNode **)this + 147), 50.0);
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(*((_QWORD *)this + 147) + 576LL) + 344LL))(
*(_QWORD *)(*((_QWORD *)this + 147) + 576LL),
0);
*(_DWORD *)(*((_QWORD *)this + 147) + 592LL) = 4;
v244 = 0;
v24 = *((_QWORD *)this + 147);
v245 = 0;
v246 = nullptr;
std::string::__init(&v244, "0123456789.", 0xBu);
CCTextInputNode::setAllowedChars(v24, (__int64)&v244);
if ( (v244 & 1) != 0 )
operator delete(v246);
v215 = (char *)this + 544;
LOBYTE(v217) = 120;
*(_WORD *)((char *)&v217 + 1) = -3926;
CCTextInputNode::setLabelPlaceholderColor(*((_QWORD *)this + 147), v217);
CCTextInputNode::setLabelPlaceholderScale(*((CCTextInputNode **)this + 147), 0.5);
*(_QWORD *)(*((_QWORD *)this + 147) + 584LL) = (char *)this + 544;
(*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 147) + 72LL))(*((_QWORD *)this + 147), 8);
*(_BYTE *)(*((_QWORD *)this + 147) + 424LL) = 1;
v25 = Slider::create((int)this, (int)SetupPulsePopup::sliderChanged, 0, 0.8);
*((_QWORD *)this + 133) = v25;
(*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 73) + 456LL))(*((_QWORD *)this + 73), v25);
Slider::setBarVisibility(*((Slider **)this + 133));
v26 = *((_QWORD *)this + 133);
v197 = *(cocos2d::CCSize **)(*(_QWORD *)v26 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v240, -96.0, -1.5);
cocos2d::CCPoint::operator+(v241, v224);
((void (__fastcall *)(__int64, __int64 *))v197)(v26, v241);
Thumb = Slider::getThumb(*((Slider **)this + 133));
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)Thumb + 72LL))(Thumb, 1);
v28 = *((float *)this + 320);
v29 = 0.0;
if ( v28 != -0.1 )
{
v29 = v28 / 10.0;
if ( (float)(v28 / 10.0) < 1.0 )
{
if ( v29 <= 0.0 )
v29 = 0.0;
}
else
{
v29 = 1.0;
}
}
Slider::setValue(*((Slider **)this + 133), v29);
SetupPulsePopup::updateFadeInLabel(this, 0);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v240, 0.0, -27.0);
cocos2d::CCPoint::operator+(v241, v224);
cocos2d::CCPoint::operator=(v224, v241);
v31 = cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)"Hold: ", "goldFont.fnt", v30);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v31 + 160LL))(v31, 0.5);
v198 = *(cocos2d::CCSize **)(*(_QWORD *)v31 + 184LL);
cocos2d::CCPoint::operator+(v241, v224);
((void (__fastcall *)(__int64, __int64 *))v198)(v31, v241);
v199 = *(cocos2d::CCSize **)(*(_QWORD *)v31 + 296LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v241, 1.0, 0.5);
((void (__fastcall *)(__int64, __int64 *))v199)(v31, v241);
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**((_QWORD **)this + 73) + 464LL))(*((_QWORD *)this + 73), v31, 10);
cocos2d::CCRect::CCRect((cocos2d::CCRect *)v241, (const cocos2d::CCRect *)v239);
v32 = cocos2d::extension::CCScale9Sprite::create("square02b_small.png", v241);
(*(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v32 + 960LL))(v32, v216);
(*(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v32 + 320LL))(v32, v225);
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**((_QWORD **)this + 73) + 464LL))(
*((_QWORD *)this + 73),
v32,
0xFFFFFFFFLL);
v200 = *(cocos2d::CCSize **)(*(_QWORD *)v32 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v240, 40.0, 0.0);
cocos2d::CCPoint::operator+(v241, v224);
((void (__fastcall *)(__int64, __int64 *))v200)(v32, v241);
if ( *((float *)this + 321) == -0.1 )
v20 = "Mixed";
v34 = CCTextInputNode::create(
(CCTextInputNode *)v20,
50.0,
20.0,
"Thonburi",
(const char *)&off_18,
"bigFont.fnt",
v33);
*((_QWORD *)this + 148) = v34;
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**((_QWORD **)this + 73) + 464LL))(*((_QWORD *)this + 73), v34, 20);
v35 = v32;
v36 = *(_QWORD *)v32;
v201 = *((cocos2d::CCSize **)this + 148);
v37 = *(void (__fastcall **)(cocos2d::CCSize *, __int64))(*(_QWORD *)v201 + 184LL);
v38 = (*(__int64 (__fastcall **)(__int64))(v36 + 192))(v35);
v37(v201, v38);
CCTextInputNode::setMaxLabelScale(*((CCTextInputNode **)this + 148), 0.6);
CCTextInputNode::setMaxLabelWidth(*((CCTextInputNode **)this + 148), 50.0);
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(*((_QWORD *)this + 148) + 576LL) + 344LL))(
*(_QWORD *)(*((_QWORD *)this + 148) + 576LL),
0);
*(_DWORD *)(*((_QWORD *)this + 148) + 592LL) = 4;
v244 = 0;
v39 = *((_QWORD *)this + 148);
v245 = 0;
v246 = nullptr;
std::string::__init(&v244, "0123456789.", 0xBu);
CCTextInputNode::setAllowedChars(v39, (__int64)&v244);
if ( (v244 & 1) != 0 )
operator delete(v246);
LOBYTE(v218) = 120;
*(_WORD *)((char *)&v218 + 1) = -3926;
CCTextInputNode::setLabelPlaceholderColor(*((_QWORD *)this + 148), v218);
CCTextInputNode::setLabelPlaceholderScale(*((CCTextInputNode **)this + 148), 0.5);
*(_QWORD *)(*((_QWORD *)this + 148) + 584LL) = v215;
(*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 148) + 72LL))(*((_QWORD *)this + 148), 9);
*(_BYTE *)(*((_QWORD *)this + 148) + 424LL) = 1;
v40 = Slider::create((int)this, (int)SetupPulsePopup::sliderChanged, 0, 0.8);
*((_QWORD *)this + 134) = v40;
(*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 73) + 456LL))(*((_QWORD *)this + 73), v40);
Slider::setBarVisibility(*((Slider **)this + 134));
v41 = *((_QWORD *)this + 134);
v202 = *(cocos2d::CCSize **)(*(_QWORD *)v41 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v240, -96.0, -1.5);
cocos2d::CCPoint::operator+(v241, v224);
((void (__fastcall *)(__int64, __int64 *))v202)(v41, v241);
v42 = Slider::getThumb(*((Slider **)this + 134));
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v42 + 72LL))(v42, 2);
v43 = *((float *)this + 321);
v44 = 0.0;
if ( v43 != -0.1 )
{
v44 = v43 / 10.0;
if ( (float)(v43 / 10.0) < 1.0 )
{
if ( v44 <= 0.0 )
v44 = 0.0;
}
else
{
v44 = 1.0;
}
}
Slider::setValue(*((Slider **)this + 134), v44);
SetupPulsePopup::updateHoldLabel(this, 0);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v240, 0.0, -27.0);
cocos2d::CCPoint::operator+(v241, v224);
cocos2d::CCPoint::operator=(v224, v241);
v46 = cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)"Fade Out: ", "goldFont.fnt", v45);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v46 + 160LL))(v46, 0.5);
v47 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v46 + 184LL);
cocos2d::CCPoint::operator+(v241, v224);
v47(v46, v241);
v48 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v46 + 296LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v241, 1.0, 0.5);
v48(v46, v241);
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**((_QWORD **)this + 73) + 464LL))(*((_QWORD *)this + 73), v46, 10);
cocos2d::CCRect::CCRect((cocos2d::CCRect *)v241, (const cocos2d::CCRect *)v239);
v49 = cocos2d::extension::CCScale9Sprite::create("square02b_small.png", v241);
(*(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v49 + 960LL))(v49, v216);
(*(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v49 + 320LL))(v49, v225);
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**((_QWORD **)this + 73) + 464LL))(
*((_QWORD *)this + 73),
v49,
0xFFFFFFFFLL);
v50 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v49 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v240, 40.0, 0.0);
cocos2d::CCPoint::operator+(v241, v224);
v50(v49, v241);
if ( *((float *)this + 322) == -0.1 )
v20 = "Mixed";
v52 = CCTextInputNode::create(
(CCTextInputNode *)v20,
50.0,
20.0,
"Thonburi",
(const char *)&off_18,
"bigFont.fnt",
v51);
*((_QWORD *)this + 149) = v52;
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**((_QWORD **)this + 73) + 464LL))(*((_QWORD *)this + 73), v52, 20);
v53 = *((_QWORD *)this + 149);
v54 = *(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v53 + 184LL);
v55 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v49 + 192LL))(v49);
v54(v53, v55);
CCTextInputNode::setMaxLabelScale(*((CCTextInputNode **)this + 149), 0.6);
CCTextInputNode::setMaxLabelWidth(*((CCTextInputNode **)this + 149), 50.0);
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(*((_QWORD *)this + 149) + 576LL) + 344LL))(
*(_QWORD *)(*((_QWORD *)this + 149) + 576LL),
0);
*(_DWORD *)(*((_QWORD *)this + 149) + 592LL) = 4;
v244 = 0;
v56 = *((_QWORD *)this + 149);
v245 = 0;
v246 = nullptr;
std::string::__init(&v244, "0123456789.", 0xBu);
CCTextInputNode::setAllowedChars(v56, (__int64)&v244);
if ( (v244 & 1) != 0 )
operator delete(v246);
LOBYTE(v219) = 120;
*(_WORD *)((char *)&v219 + 1) = -3926;
CCTextInputNode::setLabelPlaceholderColor(*((_QWORD *)this + 149), v219);
CCTextInputNode::setLabelPlaceholderScale(*((CCTextInputNode **)this + 149), 0.5);
*(_QWORD *)(*((_QWORD *)this + 149) + 584LL) = v215;
(*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 149) + 72LL))(*((_QWORD *)this + 149), 10);
*(_BYTE *)(*((_QWORD *)this + 149) + 424LL) = 1;
v57 = Slider::create((int)this, (int)SetupPulsePopup::sliderChanged, 0, 0.8);
*((_QWORD *)this + 135) = v57;
(*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 73) + 456LL))(*((_QWORD *)this + 73), v57);
Slider::setBarVisibility(*((Slider **)this + 135));
v58 = *((_QWORD *)this + 135);
v59 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v58 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v240, -96.0, -1.5);
cocos2d::CCPoint::operator+(v241, v224);
v59(v58, v241);
v60 = Slider::getThumb(*((Slider **)this + 135));
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v60 + 72LL))(v60, 3);
v61 = *((float *)this + 322);
v62 = 0.0;
if ( v61 != -0.1 )
{
v62 = v61 / 10.0;
if ( (float)(v61 / 10.0) < 1.0 )
{
if ( v62 <= 0.0 )
v62 = 0.0;
}
else
{
v62 = 1.0;
}
}
Slider::setValue(*((Slider **)this + 135), v62);
SetupPulsePopup::updateFadeOutLabel(this, 0);
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)v226,
(float)(*(float *)&v222 * 0.5) + 145.0,
(float)(*((float *)&v222 + 1) * 0.5) + -60.0);
cocos2d::CCNode::convertToNodeSpace(&v227, *((cocos2d::CCNode **)this + 69), (const cocos2d::CCPoint *)v226);
v64 = cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)"Target Type", "goldFont.fnt", v63);
(*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 73) + 456LL))(*((_QWORD *)this + 73), v64);
v203 = *(cocos2d::CCSize **)(*(_QWORD *)v64 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v240, 0.0, 25.0);
cocos2d::CCPoint::operator+(v241, v226);
((void (__fastcall *)(__int64, __int64 *))v203)(v64, v241);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v64 + 160LL))(v64, 0.5);
v66 = ButtonSprite::create(
(ButtonSprite *)"Channel",
(const char *)&qword_28 + 5,
0,
1,
0.45,
"bigFont.fnt",
"GJ_button_04.png",
v65,
25.0);
v67 = CCMenuItemSpriteExtra::create(v66, 0, (__int64)this, (__int64)SetupPulsePopup::onSelectTargetMode, 0);
*((_QWORD *)this + 136) = v67;
(*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 69) + 456LL))(*((_QWORD *)this + 69), v67);
(*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 136) + 72LL))(*((_QWORD *)this + 136), 0);
v69 = ButtonSprite::create(
(ButtonSprite *)"Group",
(const char *)&qword_28 + 5,
0,
1,
0.45,
"bigFont.fnt",
"GJ_button_04.png",
v68,
25.0);
v70 = CCMenuItemSpriteExtra::create(v69, 0, (__int64)this, (__int64)SetupPulsePopup::onSelectTargetMode, 0);
*((_QWORD *)this + 137) = v70;
(*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 69) + 456LL))(*((_QWORD *)this + 69), v70);
(*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 137) + 72LL))(*((_QWORD *)this + 137), 1);
v71 = *((_QWORD *)this + 136);
v72 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v71 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v240, -35.0, 0.0);
cocos2d::CCPoint::operator+(v241, &v227);
v72(v71, v241);
v73 = *((_QWORD *)this + 137);
v74 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v73 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v240, 35.0, 0.0);
cocos2d::CCPoint::operator+(v241, &v227);
v74(v73, v241);
v76 = cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)"Channel ID", "goldFont.fnt", v75);
*((_QWORD *)this + 138) = v76;
(*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 73) + 456LL))(*((_QWORD *)this + 73), v76);
(*(void (__fastcall **)(_QWORD, float))(**((_QWORD **)this + 138) + 160LL))(*((_QWORD *)this + 138), 0.5);
v77 = *((_QWORD *)this + 138);
v78 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v77 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v240, 0.0, -35.0);
cocos2d::CCPoint::operator+(v241, v226);
v78(v77, v241);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v241, 0.0, -65.0);
cocos2d::CCPoint::operator+(&v228, v226);
cocos2d::CCSize::CCSize((cocos2d::CCSize *)v229, 50.0, 30.0);
cocos2d::CCRect::CCRect((cocos2d::CCRect *)v240, 0.0, 0.0, 40.0, 40.0);
v244 = 0;
v79 = *((_DWORD *)this + 324);
v245 = 0;
LODWORD(v77) = v79 == 1;
v246 = nullptr;
std::string::__init(&v244, &byte_11B8890, 0);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v241, (const cocos2d::CCPoint *)&v228);
v80 = IDNameInput::create(this, v215, (unsigned int)v77, 51, &v244, v241, 6, 0, 0.8, 0, 0);
if ( (v244 & 1) != 0 )
operator delete(v246);
(*(void (__fastcall **)(_QWORD, float, float))(**(_QWORD **)(v80 + 424) + 248LL))(*(_QWORD *)(v80 + 424), 2.0, 0.0);
(*(void (__fastcall **)(_QWORD, float, float))(**(_QWORD **)(v80 + 432) + 248LL))(*(_QWORD *)(v80 + 432), -2.0, 0.0);
v81 = *((cocos2d::CCNode **)this + 69);
*((_QWORD *)this + 150) = *(_QWORD *)(v80 + 384);
cocos2d::CCNode::convertToNodeSpace(&v230, v81, (const cocos2d::CCPoint *)&v228);
v83 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_plus2Btn_001.png", v82);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v83 + 160LL))(v83, 0.8);
v84 = CCMenuItemSpriteExtra::create(v83, 0, (__int64)this, (__int64)SetupPulsePopup::onSelectSpecialTargetID, 0);
*((_QWORD *)this + 146) = v84;
(*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 69) + 456LL))(*((_QWORD *)this + 69), v84);
v85 = *((_QWORD *)this + 146);
v204 = *(cocos2d::CCSize **)(*(_QWORD *)v85 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v238, 50.0, 30.0);
cocos2d::CCPoint::operator+(v241, &v230);
((void (__fastcall *)(__int64, __int64 *))v204)(v85, v241);
(*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 146) + 344LL))(*((_QWORD *)this + 146), 0);
v87 = cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)"Pulse Mode", "goldFont.fnt", v86);
(*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 73) + 456LL))(*((_QWORD *)this + 73), v87);
v88 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v87 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v238, 0.0, 75.0);
cocos2d::CCPoint::operator+(v241, v226);
v88(v87, v241);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v87 + 160LL))(v87, 0.5);
v89 = *((cocos2d::CCNode **)this + 69);
v90 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v87 + 192LL))(v87);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v238, 0.0, -25.0);
cocos2d::CCPoint::operator+(v241, v90);
cocos2d::CCNode::convertToNodeSpace(&v231, v89, (const cocos2d::CCPoint *)v241);
v92 = ButtonSprite::create(
(ButtonSprite *)"Color",
(const char *)&qword_28 + 5,
0,
1,
0.45,
"bigFont.fnt",
"GJ_button_04.png",
v91,
25.0);
v93 = CCMenuItemSpriteExtra::create(v92, 0, (__int64)this, (__int64)SetupPulsePopup::onSelectPulseMode, 0);
*((_QWORD *)this + 143) = v93;
(*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 69) + 456LL))(*((_QWORD *)this + 69), v93);
(*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 143) + 72LL))(*((_QWORD *)this + 143), 0);
v95 = ButtonSprite::create(
(ButtonSprite *)"HSV",
(const char *)&qword_28 + 5,
0,
1,
0.45,
"bigFont.fnt",
"GJ_button_04.png",
v94,
25.0);
v96 = CCMenuItemSpriteExtra::create(v95, 0, (__int64)this, (__int64)SetupPulsePopup::onSelectPulseMode, 0);
*((_QWORD *)this + 144) = v96;
(*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 69) + 456LL))(*((_QWORD *)this + 69), v96);
(*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 144) + 72LL))(*((_QWORD *)this + 144), 1);
v97 = *((_QWORD *)this + 143);
v98 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v97 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v238, -35.0, 0.0);
cocos2d::CCPoint::operator+(v241, &v231);
v98(v97, v241);
v99 = *((_QWORD *)this + 144);
v100 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v99 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v238, 35.0, 0.0);
cocos2d::CCPoint::operator+(v241, &v231);
v100(v99, v241);
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)v232,
(float)(*(float *)&v222 * 0.5) + -200.0,
(float)(*((float *)&v222 + 1) * 0.5) + -130.0);
v244 = 0;
v245 = 0;
v246 = nullptr;
std::string::__init(&v244, "Touch\nTriggered", 0xFu);
v101 = *((_BYTE *)this + 696);
v102 = *((cocos2d::CCNode **)this + 69);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v241, (const cocos2d::CCPoint *)v232);
v103 = *((_QWORD *)this + 73);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v238, 8.0, 0.0);
ToggleButton = GameToolbox::createToggleButton(
(__int64)&v244,
(const char *)SetupTriggerPopup::onTouchTriggered,
0,
v101,
v102,
(const cocos2d::CCPoint *)v241,
(__int64)this,
v103,
0.7,
0.3,
0.0,
(float *)&v238,
"bigFont.fnt",
0,
0,
nullptr);
v105 = v244;
*((_QWORD *)this + 88) = ToggleButton;
if ( (v105 & 1) != 0 )
operator delete(v246);
v244 = 0;
v245 = 0;
v246 = nullptr;
std::string::__init(&v244, "Spawn\nTriggered", 0xFu);
v106 = *((_BYTE *)this + 697);
v107 = *((cocos2d::CCNode **)this + 69);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v237, 90.0, 0.0);
cocos2d::CCPoint::operator+(&v238, v232);
v108 = *((_QWORD *)this + 73);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v241, 8.0, 0.0);
v109 = GameToolbox::createToggleButton(
(__int64)&v244,
(const char *)SetupTriggerPopup::onSpawnedByTrigger,
0,
v106,
v107,
(const cocos2d::CCPoint *)&v238,
(__int64)this,
v108,
0.7,
0.3,
0.0,
(float *)v241,
"bigFont.fnt",
0,
0,
nullptr);
v110 = v244;
*((_QWORD *)this + 89) = v109;
if ( (v110 & 1) != 0 )
operator delete(v246);
v244 = 0;
v245 = 0;
v246 = nullptr;
std::string::__init(&v244, "Multi\nTrigger", 0xDu);
v111 = *((_BYTE *)this + 728);
v112 = *((cocos2d::CCNode **)this + 69);
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)&v238,
(float)(*(float *)&v222 * 0.5) + 60.0,
(float)(*((float *)&v222 + 1) * 0.5) + -82.0);
v113 = *((_QWORD *)this + 73);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v241, 2.0, -39.0);
GameToolbox::createToggleButton(
(__int64)&v244,
(const char *)SetupTriggerPopup::onMultiTrigger,
0,
v111,
v112,
(const cocos2d::CCPoint *)&v238,
(__int64)this,
v113,
0.6,
0.25,
0.0,
(float *)v241,
"bigFont.fnt",
1,
0,
*((cocos2d::CCArray **)this + 90));
if ( (v244 & 1) != 0 )
operator delete(v246);
SetupTriggerPopup::updateMultiTriggerBtn(this);
v244 = 0;
v245 = 0;
v246 = nullptr;
std::string::__init(&v244, "Exclusive", 9u);
v114 = *((_BYTE *)this + 1301);
v115 = *((cocos2d::CCNode **)this + 69);
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)&v238,
(float)(*(float *)&v222 * 0.5) + 60.0,
(float)(*((float *)&v222 + 1) * 0.5) + -130.0);
v116 = *((_QWORD *)this + 73);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v241, 0.0, -32.0);
GameToolbox::createToggleButton(
(__int64)&v244,
(const char *)SetupPulsePopup::onExclusive,
0,
v114,
v115,
(const cocos2d::CCPoint *)&v238,
(__int64)this,
v116,
0.7,
0.3,
0.0,
(float *)v241,
"bigFont.fnt",
1,
0,
nullptr);
if ( (v244 & 1) != 0 )
operator delete(v246);
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)v233,
(float)(*(float *)&v222 * 0.5) + 95.0,
(float)(*((float *)&v222 + 1) * 0.5) + 130.0);
v244 = 0;
v245 = 0;
v246 = nullptr;
std::string::__init(&v244, "Main\nOnly", 9u);
v117 = *((_BYTE *)this + 1264);
v118 = *((cocos2d::CCNode **)this + 69);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v241, (const cocos2d::CCPoint *)v233);
v119 = *((_QWORD *)this + 73);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v238, 8.0, 0.0);
v120 = GameToolbox::createToggleButton(
(__int64)&v244,
(const char *)SetupPulsePopup::onGroupMainOnly,
0,
v117,
v118,
(const cocos2d::CCPoint *)v241,
(__int64)this,
v119,
0.7,
0.3,
0.0,
(float *)&v238,
"bigFont.fnt",
0,
0x44Cu,
nullptr);
v121 = v244;
*((_QWORD *)this + 152) = v120;
if ( (v121 & 1) != 0 )
operator delete(v246);
*((_QWORD *)this + 155) = (*(__int64 (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 73) + 480LL))(
*((_QWORD *)this + 73),
1100);
v244 = 0;
v245 = 0;
v246 = nullptr;
std::string::__init(&v244, "Detail\nOnly", 0xBu);
v122 = *((_BYTE *)this + 1265);
v123 = *((cocos2d::CCNode **)this + 69);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v237, 0.0, -30.0);
cocos2d::CCPoint::operator+(&v238, v233);
v124 = *((_QWORD *)this + 73);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v241, 8.0, 0.0);
v125 = GameToolbox::createToggleButton(
(__int64)&v244,
(const char *)SetupPulsePopup::onGroupSecondaryOnly,
0,
v122,
v123,
(const cocos2d::CCPoint *)&v238,
(__int64)this,
v124,
0.7,
0.3,
0.0,
(float *)v241,
"bigFont.fnt",
0,
0x4B0u,
nullptr);
v126 = v244;
*((_QWORD *)this + 153) = v125;
if ( (v126 & 1) != 0 )
operator delete(v246);
*((_QWORD *)this + 156) = (*(__int64 (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 73) + 480LL))(
*((_QWORD *)this + 73),
1200);
v244 = 0;
v245 = 0;
v246 = nullptr;
std::string::__init(&v244, "Static\nHSV", 0xAu);
v127 = *((cocos2d::CCNode **)this + 69);
v128 = *((_BYTE *)this + 1266) ^ 1;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v237, 68.0, 0.0);
cocos2d::CCPoint::operator+(&v238, v233);
v129 = *((_QWORD *)this + 73);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v241, 8.0, 0.0);
v130 = GameToolbox::createToggleButton(
(__int64)&v244,
(const char *)SetupPulsePopup::onHSVLegacyMode,
0,
v128,
v127,
(const cocos2d::CCPoint *)&v238,
(__int64)this,
v129,
0.7,
0.3,
0.0,
(float *)v241,
"bigFont.fnt",
0,
0x514u,
nullptr);
v131 = v244;
*((_QWORD *)this + 154) = v130;
if ( (v131 & 1) != 0 )
operator delete(v246);
*((_QWORD *)this + 157) = (*(__int64 (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 73) + 480LL))(
*((_QWORD *)this + 73),
1300);
cocos2d::CCArray::addObject(*((cocos2d::CCArray **)this + 132), *((cocos2d::CCObject **)this + 154));
v132 = *((cocos2d::CCObject **)this + 157);
if ( v132 )
cocos2d::CCArray::addObject(*((cocos2d::CCArray **)this + 132), v132);
v133 = 1;
v134 = 0;
cocos2d::CCRect::CCRect((cocos2d::CCRect *)v241, 0.0, 0.0, 80.0, 80.0);
v135 = (cocos2d::CCObject *)cocos2d::extension::CCScale9Sprite::create("square02_001.png", v241);
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v135 + 912LL))(v135, 75);
v205 = *(cocos2d::CCSize **)(*(_QWORD *)v135 + 320LL);
cocos2d::CCSize::CCSize((cocos2d::CCSize *)v241, 260.0, 145.0);
((void (__fastcall *)(cocos2d::CCObject *, __int64 *))v205)(v135, v241);
(*(void (__fastcall **)(_QWORD, cocos2d::CCObject *, __int64))(**((_QWORD **)this + 73) + 464LL))(
*((_QWORD *)this + 73),
v135,
0xFFFFFFFFLL);
v206 = *(cocos2d::CCSize **)(*(_QWORD *)v135 + 184LL);
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)v241,
(float)(*(float *)&v222 * 0.5) + -65.0,
(float)(*((float *)&v222 + 1) * 0.5) + 52.0);
((void (__fastcall *)(cocos2d::CCObject *, __int64 *))v206)(v135, v241);
v136 = (cocos2d::extension::CCControlColourPicker *)cocos2d::CCArray::addObject(
*((cocos2d::CCArray **)this + 131),
v135);
v137 = cocos2d::extension::CCControlColourPicker::create(v136);
*((_QWORD *)this + 129) = v137;
*(_QWORD *)(v137 + 536) = (char *)this + 1016;
(*(void (__fastcall **)(_QWORD, _QWORD, __int64))(**((_QWORD **)this + 73) + 464LL))(
*((_QWORD *)this + 73),
*((_QWORD *)this + 129),
2);
v138 = *((_QWORD *)this + 129);
v207 = *(cocos2d::CCSize **)(*(_QWORD *)v138 + 184LL);
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)v241,
(float)(*(float *)&v222 * 0.5) + -25.0,
(float)(*((float *)&v222 + 1) * 0.5) + 35.0);
((void (__fastcall *)(__int64, __int64 *))v207)(v138, v241);
(*(void (__fastcall **)(_QWORD, float))(**((_QWORD **)this + 129) + 160LL))(*((_QWORD *)this + 129), 0.8);
cocos2d::CCArray::addObject(*((cocos2d::CCArray **)this + 131), *((cocos2d::CCObject **)this + 129));
v208 = (cocos2d::CCSize *)ButtonSprite::create(
(ButtonSprite *)"Copy",
(const char *)&qword_28,
0,
1,
0.6,
"goldFont.fnt",
"GJ_button_04.png",
v139,
30.0);
v141 = ButtonSprite::create(
(ButtonSprite *)"Paste",
(const char *)&qword_28,
0,
1,
0.6,
"goldFont.fnt",
"GJ_button_04.png",
v140,
30.0);
v142 = (cocos2d::CCObject *)CCMenuItemSpriteExtra::create(
(__int64)v208,
0,
(__int64)this,
(__int64)SetupPulsePopup::onCopy,
0);
(*(void (__fastcall **)(_QWORD, cocos2d::CCObject *))(**((_QWORD **)this + 69) + 456LL))(*((_QWORD *)this + 69), v142);
v143 = (cocos2d::CCObject *)CCMenuItemSpriteExtra::create(
v141,
0,
(__int64)this,
(__int64)SetupPulsePopup::onPaste,
0);
(*(void (__fastcall **)(_QWORD, cocos2d::CCObject *))(**((_QWORD **)this + 69) + 456LL))(*((_QWORD *)this + 69), v143);
v194 = *((cocos2d::CCNode **)this + 69);
v209 = *(cocos2d::CCSize **)(*(_QWORD *)v142 + 184LL);
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)&v238,
(float)(*(float *)&v222 * 0.5) + 190.0,
(float)(*((float *)&v222 + 1) * 0.5) + 130.0);
cocos2d::CCNode::convertToNodeSpace(v241, v194, (const cocos2d::CCPoint *)&v238);
((void (__fastcall *)(cocos2d::CCObject *, __int64 *))v209)(v142, v241);
v195 = *(cocos2d::CCNode **)(*(_QWORD *)v143 + 184LL);
v210 = (cocos2d::CCSize *)(*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v142 + 192LL))(v142);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v238, 0.0, -40.0);
cocos2d::CCPoint::operator+(v241, v210);
((void (__fastcall *)(cocos2d::CCObject *, __int64 *))v195)(v143, v241);
cocos2d::CCArray::addObject(*((cocos2d::CCArray **)this + 131), v142);
cocos2d::CCArray::addObject(*((cocos2d::CCArray **)this + 131), v143);
v145 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"whiteSquare60_001.png", v144);
*((_QWORD *)this + 140) = v145;
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v145 + 160LL))(v145, 0.8);
(*(void (__fastcall **)(_QWORD, _QWORD, __int64))(**((_QWORD **)this + 73) + 464LL))(
*((_QWORD *)this + 73),
*((_QWORD *)this + 140),
5);
v146 = *((_QWORD *)this + 140);
v211 = *(cocos2d::CCSize **)(*(_QWORD *)v146 + 184LL);
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)v241,
(float)((float)(*(float *)&v222 * 0.5) + -135.0) - 35.0,
(float)((float)(*((float *)&v222 + 1) * 0.5) + 60.0) + 40.0);
((void (__fastcall *)(__int64, __int64 *))v211)(v146, v241);
cocos2d::CCArray::addObject(*((cocos2d::CCArray **)this + 131), *((cocos2d::CCObject **)this + 140));
v147 = *(float *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 140) + 328LL))(*((_QWORD *)this + 140));
v149 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"whiteSquare60_001.png", v148);
*((_QWORD *)this + 141) = v149;
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v149 + 128LL))(v149, 0.8);
(*(void (__fastcall **)(_QWORD, float))(**((_QWORD **)this + 141) + 144LL))(*((_QWORD *)this + 141), 0.4);
(*(void (__fastcall **)(_QWORD, _QWORD, __int64))(**((_QWORD **)this + 73) + 464LL))(
*((_QWORD *)this + 73),
*((_QWORD *)this + 141),
5);
v150 = *((_QWORD *)this + 141);
v151 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v150 + 184LL);
v212 = (cocos2d::CCSize *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 140) + 192LL))(*((_QWORD *)this + 140));
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)&v238,
0.0,
-(float)((float)((float)(v147 * 0.4) * 0.5) - (float)((float)((float)-v147 * 0.8) * 0.5)));
cocos2d::CCPoint::operator+(v241, v212);
v151(v150, v241);
cocos2d::CCArray::addObject(*((cocos2d::CCArray **)this + 131), *((cocos2d::CCObject **)this + 141));
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)v234,
(float)(*(float *)&v222 * 0.5) + -120.0,
(float)(*((float *)&v222 + 1) * 0.5) + 50.0);
while ( 1 )
{
if ( v134 == 3 )
{
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v241, 0.0, -42.0);
cocos2d::CCPoint::operator+(&v237, v234);
LABEL_60:
v153 = "HEX:";
goto LABEL_61;
}
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v241, 15.0, (float)(1.5 - (float)v134) * 28.0);
cocos2d::CCPoint::operator+(&v237, v234);
if ( v134 )
{
if ( v134 == 1 )
{
v153 = "G:";
}
else
{
if ( v134 != 2 )
goto LABEL_60;
v153 = "B:";
}
}
else
{
v153 = "R:";
}
LABEL_61:
v154 = (cocos2d::CCObject *)cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)v153, "goldFont.fnt", v152);
(*(void (__fastcall **)(cocos2d::CCObject *, float))(*(_QWORD *)v154 + 160LL))(v154, 0.5);
(*(void (__fastcall **)(_QWORD, cocos2d::CCObject *))(**((_QWORD **)this + 73) + 456LL))(
*((_QWORD *)this + 73),
v154);
v155 = *(void (__fastcall **)(cocos2d::CCObject *, __int64 *))(*(_QWORD *)v154 + 296LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v241, 1.0, 0.5);
v155(v154, v241);
v156 = *(void (__fastcall **)(cocos2d::CCObject *, __int64 *))(*(_QWORD *)v154 + 184LL);
if ( v134 == 3 )
v157 = -32.0;
else
v157 = -17.0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v238, v157, 0.0);
cocos2d::CCPoint::operator+(v241, &v237);
v156(v154, v241);
cocos2d::CCArray::addObject(*((cocos2d::CCArray **)this + 131), v154);
cocos2d::CCRect::CCRect((cocos2d::CCRect *)v241, (const cocos2d::CCRect *)v240);
v158 = (cocos2d::CCObject *)cocos2d::extension::CCScale9Sprite::create("square02b_small.png", v241);
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v158 + 912LL))(v158, 100);
v159 = *(void (__fastcall **)(cocos2d::CCObject *, __int64 *))(*(_QWORD *)v158 + 960LL);
LOWORD(v241[0]) = 0;
BYTE2(v241[0]) = 0;
v159(v158, v241);
cocos2d::CCSize::CCSize((cocos2d::CCSize *)v241, (const cocos2d::CCSize *)v229);
if ( v134 == 3 )
LODWORD(v241[0]) = 1120403456;
(*(void (__fastcall **)(cocos2d::CCObject *, __int64 *))(*(_QWORD *)v158 + 320LL))(v158, v241);
(*(void (__fastcall **)(cocos2d::CCObject *, float))(*(_QWORD *)v158 + 160LL))(v158, 0.6);
(*(void (__fastcall **)(_QWORD, cocos2d::CCObject *, __int64))(**((_QWORD **)this + 73) + 464LL))(
*((_QWORD *)this + 73),
v158,
0xFFFFFFFFLL);
(*(void (__fastcall **)(cocos2d::CCObject *, __int64 *))(*(_QWORD *)v158 + 184LL))(v158, &v237);
cocos2d::CCArray::addObject(*((cocos2d::CCArray **)this + 131), v158);
v161 = 40.0;
if ( v134 == 3 )
v161 = 80.0;
v162 = CCTextInputNode::create(
(CCTextInputNode *)"Num",
v161,
20.0,
"Thonburi",
(const char *)&off_18,
"bigFont.fnt",
v160);
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**((_QWORD **)this + 73) + 464LL))(
*((_QWORD *)this + 73),
v162,
20);
(*(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v162 + 184LL))(v162, &v237);
CCTextInputNode::setMaxLabelScale((CCTextInputNode *)v162, 0.4);
CCTextInputNode::setMaxLabelWidth((CCTextInputNode *)v162, 50.0);
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(v162 + 576) + 344LL))(*(_QWORD *)(v162 + 576), 0);
if ( v134 == 3 )
{
v163 = 7;
v164 = "0123456789ABCDEFabcdef";
}
else
{
v163 = 4;
v164 = "0123456789";
}
*(_DWORD *)(v162 + 592) = v163;
v244 = 0;
v245 = 0;
v246 = nullptr;
v213 = (cocos2d::CCSize *)v164;
v165 = strlen(v164);
std::string::__init(&v244, v213, v165);
CCTextInputNode::setAllowedChars(v162, (__int64)&v244);
if ( (v244 & 1) != 0 )
operator delete(v246);
LOBYTE(v220) = 120;
*(_WORD *)((char *)&v220 + 1) = -3926;
CCTextInputNode::setLabelPlaceholderColor(v162, v220);
CCTextInputNode::setLabelPlaceholderScale((CCTextInputNode *)v162, 0.4);
*(_QWORD *)(v162 + 584) = v215;
*(_BYTE *)(v162 + 424) = v134 <= 2;
cocos2d::CCArray::addObject(*((cocos2d::CCArray **)this + 131), (cocos2d::CCObject *)v162);
if ( v134 == 2 )
{
*((_QWORD *)this + 167) = v162;
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v162 + 72LL))(v162, 13);
goto LABEL_55;
}
if ( v134 == 3 )
break;
if ( v134 == 1 )
{
*((_QWORD *)this + 166) = v162;
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v162 + 72LL))(v162, 12);
}
else
{
*((_QWORD *)this + 165) = v162;
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v162 + 72LL))(v162, 11);
if ( v133 == 4 )
goto LABEL_74;
}
LABEL_55:
++v134;
++v133;
}
*((_QWORD *)this + 168) = v162;
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v162 + 72LL))(v162, 14);
LABEL_74:
SetupPulsePopup::selectColor((__int64)this, *((_QWORD *)this + 142));
v166 = ConfigureHSVWidget::create(*((_QWORD *)this + 163), *((_QWORD *)this + 164), 0, 0);
v167 = *(_QWORD *)this;
*((_QWORD *)this + 145) = v166;
(*(void (__fastcall **)(SetupPulsePopup *))(v167 + 456))(this);
v168 = *((_QWORD *)this + 145);
v169 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v168 + 184LL);
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)v241,
(float)(*(float *)&v222 * 0.5) + -75.0,
(float)(*((float *)&v222 + 1) * 0.5) + 45.0);
v169(v168, v241);
(*(void (__fastcall **)(_QWORD, float))(**((_QWORD **)this + 145) + 160LL))(*((_QWORD *)this + 145), 0.85);
cocos2d::CCArray::addObject(*((cocos2d::CCArray **)this + 132), *((cocos2d::CCObject **)this + 145));
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)v241,
(float)(*(float *)&v222 * 0.5) + 142.0,
(float)(*((float *)&v222 + 1) * 0.5) + 76.0);
cocos2d::CCPoint::operator=(v226, v241);
v171 = (cocos2d::CCObject *)cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)"Color ID", "goldFont.fnt", v170);
(*(void (__fastcall **)(SetupPulsePopup *, cocos2d::CCObject *))(*(_QWORD *)this + 456LL))(this, v171);
(*(void (__fastcall **)(cocos2d::CCObject *, float))(*(_QWORD *)v171 + 160LL))(v171, 0.5);
(*(void (__fastcall **)(cocos2d::CCObject *, _BYTE *))(*(_QWORD *)v171 + 184LL))(v171, v226);
cocos2d::CCArray::addObject(*((cocos2d::CCArray **)this + 132), v171);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v241, 0.0, -30.0);
cocos2d::CCPoint::operator+(&v235, v226);
cocos2d::CCRect::CCRect((cocos2d::CCRect *)v241, (const cocos2d::CCRect *)v240);
v172 = (cocos2d::CCObject *)cocos2d::extension::CCScale9Sprite::create("square02b_small.png", v241);
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v172 + 912LL))(v172, 100);
v173 = *(void (__fastcall **)(cocos2d::CCObject *, __int64 *))(*(_QWORD *)v172 + 960LL);
LOWORD(v241[0]) = 0;
BYTE2(v241[0]) = 0;
v173(v172, v241);
(*(void (__fastcall **)(cocos2d::CCObject *, _BYTE *))(*(_QWORD *)v172 + 320LL))(v172, v229);
(*(void (__fastcall **)(_QWORD, cocos2d::CCObject *, __int64))(**((_QWORD **)this + 73) + 464LL))(
*((_QWORD *)this + 73),
v172,
0xFFFFFFFFLL);
(*(void (__fastcall **)(cocos2d::CCObject *, __int64 *))(*(_QWORD *)v172 + 184LL))(v172, &v235);
cocos2d::CCArray::addObject(*((cocos2d::CCArray **)this + 132), v172);
v175 = CCTextInputNode::create(
(CCTextInputNode *)"Num",
50.0,
40.0,
"Thonburi",
(const char *)&off_18,
"bigFont.fnt",
v174);
*((_QWORD *)this + 151) = v175;
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**((_QWORD **)this + 73) + 464LL))(
*((_QWORD *)this + 73),
v175,
20);
(*(void (__fastcall **)(_QWORD, __int64 *))(**((_QWORD **)this + 151) + 184LL))(*((_QWORD *)this + 151), &v235);
CCTextInputNode::setMaxLabelScale(*((CCTextInputNode **)this + 151), 0.6);
CCTextInputNode::setMaxLabelWidth(*((CCTextInputNode **)this + 151), 200.0);
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(*((_QWORD *)this + 151) + 576LL) + 344LL))(
*(_QWORD *)(*((_QWORD *)this + 151) + 576LL),
0);
*(_DWORD *)(*((_QWORD *)this + 151) + 592LL) = 6;
v244 = 0;
v176 = *((_QWORD *)this + 151);
v245 = 0;
v246 = nullptr;
std::string::__init(&v244, "0123456789", 0xAu);
CCTextInputNode::setAllowedChars(v176, (__int64)&v244);
if ( (v244 & 1) != 0 )
operator delete(v246);
LOWORD(v221) = -21896;
BYTE2(v221) = -16;
CCTextInputNode::setLabelPlaceholderColor(*((_QWORD *)this + 151), v221);
CCTextInputNode::setLabelPlaceholderScale(*((CCTextInputNode **)this + 151), 0.5);
*(_QWORD *)(*((_QWORD *)this + 151) + 584LL) = v215;
(*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 151) + 72LL))(*((_QWORD *)this + 151), 5);
*(_BYTE *)(*((_QWORD *)this + 151) + 424LL) = 1;
cocos2d::CCArray::addObject(*((cocos2d::CCArray **)this + 132), *((cocos2d::CCObject **)this + 151));
cocos2d::CCNode::convertToNodeSpace(&v236, *((cocos2d::CCNode **)this + 69), (const cocos2d::CCPoint *)&v235);
v178 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"edit_leftBtn_001.png", v177);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v178 + 160LL))(v178, 1.1);
v179 = (cocos2d::CCObject *)CCMenuItemSpriteExtra::create(
v178,
0,
(__int64)this,
(__int64)SetupPulsePopup::onUpdateCopyColor,
0);
(*(void (__fastcall **)(_QWORD, cocos2d::CCObject *))(**((_QWORD **)this + 69) + 456LL))(*((_QWORD *)this + 69), v179);
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v179 + 72LL))(v179, 1);
v180 = *(void (__fastcall **)(cocos2d::CCObject *, __int64 *))(*(_QWORD *)v179 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v238, -50.0, 0.0);
cocos2d::CCPoint::operator+(v241, &v236);
v180(v179, v241);
CCMenuItemSpriteExtra::setSizeMult((__int64)v179, 2.0);
cocos2d::CCArray::addObject(*((cocos2d::CCArray **)this + 132), v179);
v182 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"edit_rightBtn_001.png", v181);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v182 + 160LL))(v182, 1.1);
v183 = (cocos2d::CCObject *)CCMenuItemSpriteExtra::create(
v182,
0,
(__int64)this,
(__int64)SetupPulsePopup::onUpdateCopyColor,
0);
(*(void (__fastcall **)(_QWORD, cocos2d::CCObject *))(**((_QWORD **)this + 69) + 456LL))(*((_QWORD *)this + 69), v183);
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v183 + 72LL))(v183, 2);
v184 = *(void (__fastcall **)(cocos2d::CCObject *, __int64 *))(*(_QWORD *)v183 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v238, 50.0, 0.0);
cocos2d::CCPoint::operator+(v241, &v236);
v184(v183, v241);
CCMenuItemSpriteExtra::setSizeMult((__int64)v183, 2.0);
cocos2d::CCArray::addObject(*((cocos2d::CCArray **)this + 132), v183);
v186 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_plus2Btn_001.png", v185);
v187 = (cocos2d::CCObject *)CCMenuItemSpriteExtra::create(
v186,
0,
(__int64)this,
(__int64)SetupPulsePopup::onSelectSpecialColor,
0);
(*(void (__fastcall **)(_QWORD, cocos2d::CCObject *))(**((_QWORD **)this + 69) + 456LL))(*((_QWORD *)this + 69), v187);
v188 = *((cocos2d::CCNode **)this + 69);
v189 = *(void (__fastcall **)(cocos2d::CCObject *, __int64 *))(*(_QWORD *)v187 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v237, 50.0, 40.0);
cocos2d::CCPoint::operator+(&v238, &v235);
cocos2d::CCNode::convertToNodeSpace(v241, v188, (const cocos2d::CCPoint *)&v238);
v189(v187, v241);
cocos2d::CCArray::addObject(*((cocos2d::CCArray **)this + 132), v187);
v190 = *((_DWORD *)this + 323);
if ( v190 )
{
v191 = nullptr;
if ( v190 == 1 )
v191 = *((cocos2d::CCObject **)this + 144);
}
else
{
v191 = *((cocos2d::CCObject **)this + 143);
}
SetupPulsePopup::onSelectPulseMode(this, v191);
v192 = *((_DWORD *)this + 324);
if ( v192 )
{
v193 = nullptr;
if ( v192 == 1 )
v193 = *((cocos2d::CCObject **)this + 137);
}
else
{
v193 = *((cocos2d::CCObject **)this + 136);
}
SetupPulsePopup::onSelectTargetMode(this, v193);
SetupPulsePopup::updateTextInputLabel(this);
SetupPulsePopup::updateCopyColorTextInputLabel(this);
*((_BYTE *)this + 1276) = 0;
*((_BYTE *)this + 1300) = 0;
return v196;
}