//
// SetupMGTrigger::init from 0xb4e204 to 0xb4f15c (3928 bytes)
//
// 2 xrefs:
// > SetupMGTrigger::create @ 0xb4f3d0
// > ??> @ 0xe5d80
//
// 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:01:58 +0000
//
__int64 __fastcall SetupMGTrigger::init(SetupMGTrigger *this, EffectGameObject *a2, cocos2d::CCArray *a3)
{
cocos2d::CCDirector *v4; // x0
unsigned int v5; // w25
cocos2d::CCDirector *v7; // x0
const char *v8; // x2
__int64 v9; // x21
void (__fastcall *v10)(__int64, __int64 *); // x24
const char *v11; // x1
__int64 v12; // x2
__int64 v13; // x3
bool v14; // w4
__int64 v15; // x5
const char *v16; // x6
__int64 v17; // x0
__int64 v18; // x0
__int64 v19; // x22
const char *v20; // x2
__int64 v21; // x22
__int64 v22; // x22
void (__fastcall *v23)(__int64, __int64 *); // x28
const char *v24; // x4
char *v25; // x0
__int64 v26; // x0
__int64 v27; // x28
__int64 v28; // x0
__int64 (__fastcall *v29)(__int64); // x1
void (__fastcall *v30)(__int64, __int64); // x22
__int64 v31; // x0
__int64 v32; // x22
Slider *v33; // x0
__int64 v34; // x22
void (__fastcall *v35)(__int64, __int64 *); // x28
float v36; // s0
const char *v37; // x2
__int64 v38; // x27
const char *v39; // x2
__int64 v40; // x0
void (__fastcall *v41)(__int64, __int64 *); // x28
const char *v42; // x1
cocos2d::CCNode *v43; // x28
__int64 v44; // x0
__int64 v45; // x0
__int64 v46; // x0
__int64 (__fastcall *v47)(__int64); // x1
void (__fastcall *v48)(__int64, __int64 *); // x27
const char *v49; // x1
cocos2d::CCSprite *v50; // x27
__int64 v51; // x27
const char *v52; // x1
__int64 v53; // x27
const char *v54; // x2
__int64 v55; // x27
__int64 v56; // x21
void (__fastcall *v57)(__int64, __int64 *); // x27
const char *v58; // x4
char *v59; // x0
__int64 v60; // x0
__int64 v61; // x27
__int64 v62; // x0
__int64 (__fastcall *v63)(__int64); // x1
void (__fastcall *v64)(__int64, __int64); // x21
__int64 v65; // x0
__int64 v66; // x21
Slider *v67; // x0
__int64 v68; // x21
void (__fastcall *v69)(__int64, __int64 *); // x26
int v70; // w1
float v71; // s0
cocos2d::CCNode *v72; // [xsp+C8h] [xbp+C8h]
cocos2d::CCNode *v73; // [xsp+C8h] [xbp+C8h]
cocos2d::CCNode *v74; // [xsp+C8h] [xbp+C8h]
__int64 v75; // [xsp+D0h] [xbp+D0h]
__int64 v76; // [xsp+D0h] [xbp+D0h]
__int64 v77; // [xsp+D0h] [xbp+D0h]
void (__fastcall *v78)(__int64, __int64 *); // [xsp+D0h] [xbp+D0h]
void (__fastcall *v79)(__int64, __int64 *); // [xsp+D0h] [xbp+D0h]
cocos2d::CCRect *v80; // [xsp+D8h] [xbp+D8h]
cocos2d::CCRect *v81; // [xsp+D8h] [xbp+D8h]
cocos2d::CCRect *v82; // [xsp+D8h] [xbp+D8h]
cocos2d::CCRect *v83; // [xsp+D8h] [xbp+D8h]
cocos2d::CCRect *v84; // [xsp+D8h] [xbp+D8h]
cocos2d::CCRect *v85; // [xsp+D8h] [xbp+D8h]
cocos2d::CCRect *v86; // [xsp+D8h] [xbp+D8h]
cocos2d::CCNode *v87; // [xsp+E0h] [xbp+E0h]
cocos2d::CCNode *v88; // [xsp+E0h] [xbp+E0h]
cocos2d::CCRect *v89; // [xsp+E8h] [xbp+E8h]
cocos2d::CCRect *v90; // [xsp+E8h] [xbp+E8h]
int v91; // [xsp+F0h] [xbp+F0h]
int v92; // [xsp+F8h] [xbp+F8h]
__int64 v93; // [xsp+100h] [xbp+100h] BYREF
_BYTE v94[8]; // [xsp+108h] [xbp+108h] BYREF
_BYTE v95[8]; // [xsp+110h] [xbp+110h] BYREF
_BYTE v96[8]; // [xsp+118h] [xbp+118h] BYREF
__int64 v97; // [xsp+120h] [xbp+120h] BYREF
_BYTE v98[16]; // [xsp+128h] [xbp+128h] BYREF
_QWORD v99[2]; // [xsp+138h] [xbp+138h] BYREF
__int64 v100[2]; // [xsp+148h] [xbp+148h] BYREF
__int64 v101[2]; // [xsp+158h] [xbp+158h] BYREF
void *v102; // [xsp+168h] [xbp+168h]
__int64 v103; // [xsp+170h] [xbp+170h] BYREF
__int64 v104; // [xsp+178h] [xbp+178h]
void *v105; // [xsp+180h] [xbp+180h]
v4 = (cocos2d::CCDirector *)(unsigned __int8)SetupTriggerPopup::init(this, a2, a3, 430.0, 310.0, 1u, 0.0);
v5 = (unsigned __int8)v4;
if ( (_BYTE)v4 )
{
v7 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v4);
cocos2d::CCDirector::getWinSize(&v93, v7);
v9 = cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)"Setup MG", "bigFont.fnt", v8);
v10 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v9 + 184LL);
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)v100,
*(float *)&v93 * 0.5,
(float)((float)(*((float *)this + 184) * 0.5) + (float)(*((float *)&v93 + 1) * 0.5)) - 15.0);
v10(v9, v100);
(*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 73) + 456LL))(*((_QWORD *)this + 73), v9);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v9 + 160LL))(v9, 0.6);
v17 = ButtonSprite::create((ButtonSprite *)"OK", v11, v12, v13, v14, v15, v16);
v18 = CCMenuItemSpriteExtra::create(v17, 0, (__int64)this, 1368, 1);
(*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 69) + 456LL))(*((_QWORD *)this + 69), v18);
v101[0] = 0;
v101[1] = 0;
v102 = nullptr;
std::string::__init(v101, "Help", 4u);
v103 = 0;
v104 = 0;
v105 = nullptr;
std::string::__init(&v103, "Lets you change the Y position of the middle ground.", 0x3Cu);
v19 = InfoAlertButton::create((char *)v101, (char *)&v103, 1.0);
if ( (v103 & 1) != 0 )
operator delete(v105);
if ( (v101[0] & 1) != 0 )
operator delete(v102);
(*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 69) + 456LL))(*((_QWORD *)this + 69), v19);
v89 = *(cocos2d::CCRect **)(*(_QWORD *)v19 + 184LL);
v87 = *((cocos2d::CCNode **)this + 69);
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)v99,
(float)((float)(*((float *)this + 183) * 0.5) + (float)(*(float *)&v93 * 0.5)) - 18.0,
(float)((float)(*((float *)this + 184) * 0.5) + (float)(*((float *)&v93 + 1) * 0.5)) - 18.0);
cocos2d::CCNode::convertToNodeSpace(v100, v87, (const cocos2d::CCPoint *)v99);
((void (__fastcall *)(__int64, __int64 *))v89)(v19, v100);
(*(void (__fastcall **)(SetupMGTrigger *))(*(_QWORD *)this + 1360LL))(this);
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)v94,
*(float *)&v93 * 0.5,
(float)(*((float *)&v93 + 1) * 0.5) + -60.0);
v21 = cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)"Move Time: ", "goldFont.fnt", v20);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v21 + 160LL))(v21, 0.7);
(*(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v21 + 184LL))(v21, v94);
v90 = *(cocos2d::CCRect **)(*(_QWORD *)v21 + 296LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v100, 1.0, 0.5);
((void (__fastcall *)(__int64, __int64 *))v90)(v21, v100);
(*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 73) + 456LL))(*((_QWORD *)this + 73), v21);
cocos2d::CCRect::CCRect((cocos2d::CCRect *)v98, 0.0, 0.0, 40.0, 40.0);
cocos2d::CCRect::CCRect((cocos2d::CCRect *)v100, (const cocos2d::CCRect *)v98);
v22 = cocos2d::extension::CCScale9Sprite::create("square02_small.png", v100);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v22 + 912LL))(v22, 100);
cocos2d::CCSize::CCSize((cocos2d::CCSize *)v95, 70.0, 30.0);
(*(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v22 + 320LL))(v22, v95);
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**((_QWORD **)this + 73) + 464LL))(
*((_QWORD *)this + 73),
v22,
0xFFFFFFFFLL);
v23 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v22 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v99, 45.0, 0.0);
cocos2d::CCPoint::operator+(v100, v94);
v23(v22, v100);
if ( *((float *)this + 258) == -99999.0 )
v25 = "Mixed";
else
v25 = "Num";
v26 = CCTextInputNode::create(
(CCTextInputNode *)v25,
50.0,
40.0,
"Thonburi",
(const char *)&off_18,
"bigFont.fnt",
v24);
*((_QWORD *)this + 127) = v26;
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**((_QWORD **)this + 73) + 464LL))(
*((_QWORD *)this + 73),
v26,
20);
v27 = *((_QWORD *)this + 127);
v28 = v22;
v29 = *(__int64 (__fastcall **)(__int64))(*(_QWORD *)v22 + 192LL);
v30 = *(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v27 + 184LL);
v31 = v29(v28);
v30(v27, v31);
CCTextInputNode::setMaxLabelScale(*((CCTextInputNode **)this + 127), 0.6);
CCTextInputNode::setMaxLabelWidth(*((CCTextInputNode **)this + 127), 200.0);
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(*((_QWORD *)this + 127) + 576LL) + 344LL))(
*(_QWORD *)(*((_QWORD *)this + 127) + 576LL),
0);
*(_DWORD *)(*((_QWORD *)this + 127) + 592LL) = 4;
v103 = 0;
v32 = *((_QWORD *)this + 127);
v104 = 0;
v105 = nullptr;
std::string::__init(&v103, "0123456789.", 0xBu);
CCTextInputNode::setAllowedChars(v32, (__int64)&v103);
if ( (v103 & 1) != 0 )
operator delete(v105);
LOWORD(v91) = -21896;
BYTE2(v91) = -16;
CCTextInputNode::setLabelPlaceholderColor(*((_QWORD *)this + 127), v91);
CCTextInputNode::setLabelPlaceholderScale(*((CCTextInputNode **)this + 127), 0.5);
*(_BYTE *)(*((_QWORD *)this + 127) + 424LL) = 1;
*(_QWORD *)(*((_QWORD *)this + 127) + 584LL) = (char *)this + 544;
(*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 127) + 72LL))(*((_QWORD *)this + 127), 3);
v33 = (Slider *)Slider::create((int)this, (int)SetupMGTrigger::sliderChanged, 0, 0.8);
*((_QWORD *)this + 128) = v33;
Slider::setBarVisibility(v33);
(*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 73) + 456LL))(
*((_QWORD *)this + 73),
*((_QWORD *)this + 128));
v34 = *((_QWORD *)this + 128);
v35 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v34 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v99, 0.0, -32.0);
cocos2d::CCPoint::operator+(v100, v94);
v35(v34, v100);
v36 = *((float *)this + 258) / 10.0;
if ( v36 < 1.0 )
{
if ( v36 <= 0.0 )
v36 = 0.0;
}
else
{
v36 = 1.0;
}
Slider::setValue(*((Slider **)this + 128), v36);
SetupMGTrigger::updateDurLabel(this, 0);
v38 = cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)"Easing", "goldFont.fnt", v37);
v80 = *(cocos2d::CCRect **)(*(_QWORD *)v38 + 184LL);
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)v100,
*(float *)&v93 * 0.5,
(float)(*((float *)&v93 + 1) * 0.5) + 10.0);
((void (__fastcall *)(__int64, __int64 *))v80)(v38, v100);
(*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 73) + 456LL))(*((_QWORD *)this + 73), v38);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v38 + 160LL))(v38, 0.8);
v40 = cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)&byte_11E1A70, "bigFont.fnt", v39);
*((_QWORD *)this + 130) = v40;
(*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 73) + 456LL))(*((_QWORD *)this + 73), v40);
v75 = *((_QWORD *)this + 130);
v41 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v75 + 184LL);
v81 = (cocos2d::CCRect *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v38 + 192LL))(v38);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v99, 0.0, -30.0);
cocos2d::CCPoint::operator+(v100, v81);
v41(v75, v100);
(*(void (__fastcall **)(_QWORD, float))(**((_QWORD **)this + 130) + 160LL))(*((_QWORD *)this + 130), 0.7);
v43 = (cocos2d::CCNode *)cocos2d::CCSprite::createWithSpriteFrameName(
(cocos2d::CCSprite *)"GJ_colorBtn_001.png",
v42);
(*(void (__fastcall **)(cocos2d::CCNode *, void *))(*(_QWORD *)v43 + 960LL))(v43, &unk_118F3D0);
(*(void (__fastcall **)(cocos2d::CCNode *, __int64))(*(_QWORD *)v43 + 912LL))(v43, 100);
v44 = cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)"0", "bigFont.fnt", "bigFont.fnt");
*((_QWORD *)this + 133) = v44;
(*(void (__fastcall **)(cocos2d::CCNode *, __int64))(*(_QWORD *)v43 + 456LL))(v43, v44);
(*(void (__fastcall **)(_QWORD, float))(**((_QWORD **)this + 133) + 128LL))(*((_QWORD *)this + 133), 0.375);
(*(void (__fastcall **)(_QWORD, float))(**((_QWORD **)this + 133) + 144LL))(*((_QWORD *)this + 133), 0.75);
v76 = *((_QWORD *)this + 133);
v82 = *(cocos2d::CCRect **)(*(_QWORD *)v76 + 184LL);
cocos2d::CCNode::convertToNodeSpace(&v97, v43, (const cocos2d::CCPoint *)&unk_155E388);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v99, 1.0, 1.5);
cocos2d::CCPoint::operator+(v100, &v97);
((void (__fastcall *)(__int64, __int64 *))v82)(v76, v100);
(*(void (__fastcall **)(cocos2d::CCNode *, float))(*(_QWORD *)v43 + 128LL))(v43, 0.8);
(*(void (__fastcall **)(cocos2d::CCNode *, float))(*(_QWORD *)v43 + 144LL))(v43, 0.4);
v45 = CCMenuItemSpriteExtra::create((__int64)v43, 0, (__int64)this, (__int64)SetupMGTrigger::onEasingRate, 0);
*((_QWORD *)this + 132) = v45;
(*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 69) + 456LL))(*((_QWORD *)this + 69), v45);
v46 = v38;
v47 = *(__int64 (__fastcall **)(__int64))(*(_QWORD *)v38 + 192LL);
v77 = *((_QWORD *)this + 132);
v72 = *((cocos2d::CCNode **)this + 69);
v48 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v77 + 184LL);
v83 = (cocos2d::CCRect *)v47(v46);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v97, 55.0, -2.0);
cocos2d::CCPoint::operator+(v99, v83);
cocos2d::CCNode::convertToNodeSpace(v100, v72, (const cocos2d::CCPoint *)v99);
v48(v77, v100);
CCMenuItemSpriteExtra::setSizeMult(*((_QWORD *)this + 132), 1.2);
SetupMGTrigger::updateEasingRateLabel(this);
SetupMGTrigger::toggleEasingRateVisibility(this);
v50 = (cocos2d::CCSprite *)cocos2d::CCSprite::createWithSpriteFrameName(
(cocos2d::CCSprite *)"GJ_arrow_01_001.png",
v49);
cocos2d::CCSprite::setFlipX(v50, 1);
(*(void (__fastcall **)(cocos2d::CCSprite *, float))(*(_QWORD *)v50 + 160LL))(v50, 0.7);
v51 = CCMenuItemSpriteExtra::create((__int64)v50, 0, (__int64)this, (__int64)SetupMGTrigger::onEasing, 0);
(*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 69) + 456LL))(*((_QWORD *)this + 69), v51);
v78 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v51 + 184LL);
v73 = *((cocos2d::CCNode **)this + 69);
v84 = (cocos2d::CCRect *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 130) + 192LL))(*((_QWORD *)this + 130));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v97, 100.0, 0.0);
cocos2d::CCPoint::operator+(v99, v84);
cocos2d::CCNode::convertToNodeSpace(v100, v73, (const cocos2d::CCPoint *)v99);
v78(v51, v100);
CCMenuItemSpriteExtra::setSizeMult(v51, 1.4);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v51 + 72LL))(v51, 1);
v85 = (cocos2d::CCRect *)cocos2d::CCSprite::createWithSpriteFrameName(
(cocos2d::CCSprite *)"GJ_arrow_01_001.png",
v52);
(*(void (__fastcall **)(float))(*(_QWORD *)v85 + 160LL))(0.7);
v53 = CCMenuItemSpriteExtra::create((__int64)v85, 0, (__int64)this, (__int64)SetupMGTrigger::onEasing, 0);
(*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 69) + 456LL))(*((_QWORD *)this + 69), v53);
v79 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v53 + 184LL);
v74 = *((cocos2d::CCNode **)this + 69);
v86 = (cocos2d::CCRect *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 130) + 192LL))(*((_QWORD *)this + 130));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v97, -100.0, 0.0);
cocos2d::CCPoint::operator+(v99, v86);
cocos2d::CCNode::convertToNodeSpace(v100, v74, (const cocos2d::CCPoint *)v99);
v79(v53, v100);
CCMenuItemSpriteExtra::setSizeMult(v53, 1.4);
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v53 + 72LL))(v53, 0);
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)v100,
*(float *)&v93 * 0.5,
(float)(*((float *)&v93 + 1) * 0.5) + 95.0);
cocos2d::CCPoint::operator=(v94, v100);
v55 = cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)"Offset Y:", "goldFont.fnt", v54);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v55 + 160LL))(v55, 0.7);
(*(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v55 + 184LL))(v55, v94);
v88 = *(cocos2d::CCNode **)(*(_QWORD *)v55 + 296LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v100, 1.0, 0.5);
((void (__fastcall *)(__int64, __int64 *))v88)(v55, v100);
(*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 73) + 456LL))(*((_QWORD *)this + 73), v55);
cocos2d::CCRect::CCRect((cocos2d::CCRect *)v99, 0.0, 0.0, 40.0, 40.0);
cocos2d::CCRect::CCRect((cocos2d::CCRect *)v100, (const cocos2d::CCRect *)v99);
v56 = cocos2d::extension::CCScale9Sprite::create("square02_small.png", v100);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v56 + 912LL))(v56, 100);
cocos2d::CCSize::CCSize((cocos2d::CCSize *)v96, 70.0, 30.0);
(*(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v56 + 320LL))(v56, v96);
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**((_QWORD **)this + 73) + 464LL))(
*((_QWORD *)this + 73),
v56,
0xFFFFFFFFLL);
v57 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v56 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v97, 45.0, 0.0);
cocos2d::CCPoint::operator+(v100, v94);
v57(v56, v100);
if ( *((_DWORD *)this + 272) == -99999 )
v59 = "Mixed";
else
v59 = "Num";
v60 = CCTextInputNode::create(
(CCTextInputNode *)v59,
60.0,
40.0,
"Thonburi",
(const char *)&off_18,
"bigFont.fnt",
v58);
*((_QWORD *)this + 134) = v60;
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**((_QWORD **)this + 73) + 464LL))(
*((_QWORD *)this + 73),
v60,
20);
v61 = *((_QWORD *)this + 134);
v62 = v56;
v63 = *(__int64 (__fastcall **)(__int64))(*(_QWORD *)v56 + 192LL);
v64 = *(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v61 + 184LL);
v65 = v63(v62);
v64(v61, v65);
CCTextInputNode::setMaxLabelScale(*((CCTextInputNode **)this + 134), 0.6);
CCTextInputNode::setMaxLabelWidth(*((CCTextInputNode **)this + 134), 200.0);
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(*((_QWORD *)this + 134) + 576LL) + 344LL))(
*(_QWORD *)(*((_QWORD *)this + 134) + 576LL),
0);
*(_DWORD *)(*((_QWORD *)this + 134) + 592LL) = 5;
v103 = 0;
v66 = *((_QWORD *)this + 134);
v104 = 0;
v105 = nullptr;
std::string::__init(&v103, "0123456789-", 0xBu);
CCTextInputNode::setAllowedChars(v66, (__int64)&v103);
if ( (v103 & 1) != 0 )
operator delete(v105);
LOWORD(v92) = -21896;
BYTE2(v92) = -16;
CCTextInputNode::setLabelPlaceholderColor(*((_QWORD *)this + 134), v92);
CCTextInputNode::setLabelPlaceholderScale(*((CCTextInputNode **)this + 134), 0.5);
*(_QWORD *)(*((_QWORD *)this + 134) + 584LL) = (char *)this + 544;
*(_BYTE *)(*((_QWORD *)this + 134) + 424LL) = 1;
(*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 134) + 72LL))(*((_QWORD *)this + 134), 1);
v67 = (Slider *)Slider::create((int)this, (int)SetupMGTrigger::sliderYChanged, 0, 0.8);
*((_QWORD *)this + 135) = v67;
Slider::setBarVisibility(v67);
(*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 73) + 456LL))(
*((_QWORD *)this + 73),
*((_QWORD *)this + 135));
v68 = *((_QWORD *)this + 135);
v69 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v68 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v97, 0.0, -32.0);
cocos2d::CCPoint::operator+(v100, v94);
v69(v68, v100);
v70 = *((_DWORD *)this + 272);
if ( v70 == -99999 )
v71 = 0.5;
else
v71 = SetupMGTrigger::sliderValueFromPos(this, v70);
Slider::setValue(*((Slider **)this + 135), v71);
SetupTriggerPopup::createMultiTriggerItemsDefault(this);
SetupMGTrigger::updateValueYLabel(this);
SetupMGTrigger::updateEasingLabel(this);
*((_BYTE *)this + 744) = 0;
}
return v5;
}