//
// SetupCameraRotatePopup::init from 0xaed524 to 0xaee48c (3944 bytes)
//
// 2 xrefs:
// > SetupCameraRotatePopup::create @ 0xaee704
// > ??> @ 0xd3378
//
// 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:11 +0000
//
__int64 __fastcall SetupCameraRotatePopup::init(
SetupCameraRotatePopup *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 *); // x27
const char *v24; // x4
char *v25; // x0
__int64 v26; // x0
__int64 v27; // x27
__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 *); // x27
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; // x28
void (__fastcall *v56)(__int64, __int64 *); // x27
__int64 v57; // x27
void (__fastcall *v58)(__int64, __int64 *); // x21
const char *v59; // x4
int v60; // w28
char *v61; // x0
__int64 v62; // x21
__int64 v63; // x0
Slider *v64; // x21
void (__fastcall *v65)(Slider *, __int64 *); // x26
float v66; // s0
cocos2d::CCNode *v67; // [xsp+B8h] [xbp+B8h]
cocos2d::CCNode *v68; // [xsp+B8h] [xbp+B8h]
cocos2d::CCNode *v69; // [xsp+B8h] [xbp+B8h]
__int64 v70; // [xsp+C0h] [xbp+C0h]
__int64 v71; // [xsp+C0h] [xbp+C0h]
__int64 v72; // [xsp+C0h] [xbp+C0h]
void (__fastcall *v73)(__int64, __int64 *); // [xsp+C0h] [xbp+C0h]
void (__fastcall *v74)(__int64, __int64 *); // [xsp+C0h] [xbp+C0h]
cocos2d::CCRect *v75; // [xsp+C8h] [xbp+C8h]
cocos2d::CCRect *v76; // [xsp+C8h] [xbp+C8h]
cocos2d::CCRect *v77; // [xsp+C8h] [xbp+C8h]
cocos2d::CCRect *v78; // [xsp+C8h] [xbp+C8h]
cocos2d::CCRect *v79; // [xsp+C8h] [xbp+C8h]
cocos2d::CCRect *v80; // [xsp+C8h] [xbp+C8h]
cocos2d::CCRect *v81; // [xsp+C8h] [xbp+C8h]
cocos2d::CCNode *v82; // [xsp+D0h] [xbp+D0h]
cocos2d::CCNode *v83; // [xsp+D0h] [xbp+D0h]
cocos2d::CCRect *v84; // [xsp+D8h] [xbp+D8h]
cocos2d::CCRect *v85; // [xsp+D8h] [xbp+D8h]
int v86; // [xsp+E0h] [xbp+E0h]
int v87; // [xsp+E8h] [xbp+E8h]
__int64 v88; // [xsp+F0h] [xbp+F0h] BYREF
float v89[2]; // [xsp+F8h] [xbp+F8h] BYREF
_BYTE v90[8]; // [xsp+100h] [xbp+100h] BYREF
_BYTE v91[8]; // [xsp+108h] [xbp+108h] BYREF
__int64 v92; // [xsp+110h] [xbp+110h] BYREF
_BYTE v93[16]; // [xsp+118h] [xbp+118h] BYREF
_QWORD v94[2]; // [xsp+128h] [xbp+128h] BYREF
__int64 v95[2]; // [xsp+138h] [xbp+138h] BYREF
__int64 v96[2]; // [xsp+148h] [xbp+148h] BYREF
void *v97; // [xsp+158h] [xbp+158h]
__int64 v98; // [xsp+160h] [xbp+160h] BYREF
__int64 v99; // [xsp+168h] [xbp+168h]
void *v100; // [xsp+170h] [xbp+170h]
v4 = (cocos2d::CCDirector *)(unsigned __int8)SetupTriggerPopup::init(this, a2, a3, 430.0, 310.0, 1, 0.0);
v5 = (unsigned __int8)v4;
if ( (_BYTE)v4 )
{
v7 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v4);
cocos2d::CCDirector::getWinSize(&v88, v7);
v9 = cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)"Setup camera rotation", "bigFont.fnt", v8);
v10 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v9 + 184LL);
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)v95,
*(float *)&v88 * 0.5,
(float)((float)(*((float *)this + 184) * 0.5) + (float)(*((float *)&v88 + 1) * 0.5)) - 15.0);
v10(v9, v95);
(*(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);
v96[0] = 0;
v96[1] = 0;
v97 = nullptr;
std::string::__init(v96, "Help", 4u);
v98 = 0;
v99 = 0;
v100 = nullptr;
std::string::__init(
&v98,
"Rotates the camera to the target value.\n"
"Move Time is how fast the rotate happens.\n"
"Easing changes the method used.",
0x89u);
v19 = InfoAlertButton::create((char *)v96, (char *)&v98, 1.0);
if ( (v98 & 1) != 0 )
operator delete(v100);
if ( (v96[0] & 1) != 0 )
operator delete(v97);
(*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 69) + 456LL))(*((_QWORD *)this + 69), v19);
v84 = *(cocos2d::CCRect **)(*(_QWORD *)v19 + 184LL);
v82 = *((cocos2d::CCNode **)this + 69);
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)v94,
(float)((float)(*((float *)this + 183) * 0.5) + (float)(*(float *)&v88 * 0.5)) - 18.0,
(float)((float)(*((float *)this + 184) * 0.5) + (float)(*((float *)&v88 + 1) * 0.5)) - 18.0);
cocos2d::CCNode::convertToNodeSpace(v95, v82, (const cocos2d::CCPoint *)v94);
((void (__fastcall *)(__int64, __int64 *))v84)(v19, v95);
(*(void (__fastcall **)(SetupCameraRotatePopup *))(*(_QWORD *)this + 1360LL))(this);
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)v89,
(float)(*(float *)&v88 * 0.5) + -90.0,
(float)(*((float *)&v88 + 1) * 0.5) + -50.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, float *))(*(_QWORD *)v21 + 184LL))(v21, v89);
v85 = *(cocos2d::CCRect **)(*(_QWORD *)v21 + 296LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v95, 1.0, 0.5);
((void (__fastcall *)(__int64, __int64 *))v85)(v21, v95);
(*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 73) + 456LL))(*((_QWORD *)this + 73), v21);
cocos2d::CCRect::CCRect((cocos2d::CCRect *)v93, 0.0, 0.0, 40.0, 40.0);
cocos2d::CCRect::CCRect((cocos2d::CCRect *)v95, (const cocos2d::CCRect *)v93);
v22 = cocos2d::extension::CCScale9Sprite::create("square02_small.png", v95);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v22 + 912LL))(v22, 100);
cocos2d::CCSize::CCSize((cocos2d::CCSize *)v90, 70.0, 30.0);
(*(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v22 + 320LL))(v22, v90);
(*(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 *)v94, 45.0, 0.0);
cocos2d::CCPoint::operator+(v95, v89);
v23(v22, v95);
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;
v98 = 0;
v32 = *((_QWORD *)this + 127);
v99 = 0;
v100 = nullptr;
std::string::__init(&v98, "0123456789.", 0xBu);
CCTextInputNode::setAllowedChars(v32, (__int64)&v98);
if ( (v98 & 1) != 0 )
operator delete(v100);
LOWORD(v86) = -21896;
BYTE2(v86) = -16;
CCTextInputNode::setLabelPlaceholderColor(*((_QWORD *)this + 127), v86);
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), 2);
v33 = (Slider *)Slider::create((int)this, (int)SetupCameraRotatePopup::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 *)v94, 0.0, -32.0);
cocos2d::CCPoint::operator+(v95, v89);
v35(v34, v95);
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);
SetupCameraRotatePopup::updateDurLabel(this, 0);
v38 = cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)"Easing", "goldFont.fnt", v37);
v75 = *(cocos2d::CCRect **)(*(_QWORD *)v38 + 184LL);
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)v95,
(float)(*(float *)&v88 * 0.5) + -90.0,
(float)(*((float *)&v88 + 1) * 0.5) + 20.0);
((void (__fastcall *)(__int64, __int64 *))v75)(v38, v95);
(*(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);
v70 = *((_QWORD *)this + 130);
v41 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v70 + 184LL);
v76 = (cocos2d::CCRect *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v38 + 192LL))(v38);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v94, 0.0, -30.0);
cocos2d::CCPoint::operator+(v95, v76);
v41(v70, v95);
(*(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_11819E0);
(*(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);
v71 = *((_QWORD *)this + 133);
v77 = *(cocos2d::CCRect **)(*(_QWORD *)v71 + 184LL);
cocos2d::CCNode::convertToNodeSpace(&v92, v43, (const cocos2d::CCPoint *)&unk_155DF50);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v94, 1.0, 1.5);
cocos2d::CCPoint::operator+(v95, &v92);
((void (__fastcall *)(__int64, __int64 *))v77)(v71, v95);
(*(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)SetupCameraRotatePopup::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);
v72 = *((_QWORD *)this + 132);
v67 = *((cocos2d::CCNode **)this + 69);
v48 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v72 + 184LL);
v78 = (cocos2d::CCRect *)v47(v46);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v92, 55.0, -2.0);
cocos2d::CCPoint::operator+(v94, v78);
cocos2d::CCNode::convertToNodeSpace(v95, v67, (const cocos2d::CCPoint *)v94);
v48(v72, v95);
CCMenuItemSpriteExtra::setSizeMult(*((_QWORD *)this + 132), 1.2);
SetupCameraRotatePopup::updateEasingRateLabel(this);
SetupCameraRotatePopup::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)SetupCameraRotatePopup::onEasing, 0);
(*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 69) + 456LL))(*((_QWORD *)this + 69), v51);
v73 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v51 + 184LL);
v68 = *((cocos2d::CCNode **)this + 69);
v79 = (cocos2d::CCRect *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 130) + 192LL))(*((_QWORD *)this + 130));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v92, 100.0, 0.0);
cocos2d::CCPoint::operator+(v94, v79);
cocos2d::CCNode::convertToNodeSpace(v95, v68, (const cocos2d::CCPoint *)v94);
v73(v51, v95);
CCMenuItemSpriteExtra::setSizeMult(v51, 2.0);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v51 + 72LL))(v51, 1);
v80 = (cocos2d::CCRect *)cocos2d::CCSprite::createWithSpriteFrameName(
(cocos2d::CCSprite *)"GJ_arrow_01_001.png",
v52);
(*(void (__fastcall **)(float))(*(_QWORD *)v80 + 160LL))(0.7);
v53 = CCMenuItemSpriteExtra::create((__int64)v80, 0, (__int64)this, (__int64)SetupCameraRotatePopup::onEasing, 0);
(*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 69) + 456LL))(*((_QWORD *)this + 69), v53);
v74 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v53 + 184LL);
v69 = *((cocos2d::CCNode **)this + 69);
v81 = (cocos2d::CCRect *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 130) + 192LL))(*((_QWORD *)this + 130));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v92, -100.0, 0.0);
cocos2d::CCPoint::operator+(v94, v81);
cocos2d::CCNode::convertToNodeSpace(v95, v69, (const cocos2d::CCPoint *)v94);
v74(v53, v95);
CCMenuItemSpriteExtra::setSizeMult(v53, 2.0);
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v53 + 72LL))(v53, 0);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v95, v89[0] + 180.0, v89[1]);
cocos2d::CCPoint::operator=(v89, v95);
v55 = cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)"Degrees:", "goldFont.fnt", v54);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v55 + 160LL))(v55, 0.7);
(*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v55 + 184LL))(v55, v89);
v56 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v55 + 296LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v95, 1.0, 0.5);
v56(v55, v95);
(*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 73) + 456LL))(*((_QWORD *)this + 73), v55);
cocos2d::CCRect::CCRect((cocos2d::CCRect *)v94, 0.0, 0.0, 40.0, 40.0);
cocos2d::CCRect::CCRect((cocos2d::CCRect *)v95, (const cocos2d::CCRect *)v94);
v57 = cocos2d::extension::CCScale9Sprite::create("square02_small.png", v95);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v57 + 912LL))(v57, 100);
cocos2d::CCSize::CCSize((cocos2d::CCSize *)v91, 70.0, 30.0);
(*(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v57 + 320LL))(v57, v91);
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**((_QWORD **)this + 73) + 464LL))(
*((_QWORD *)this + 73),
v57,
0xFFFFFFFFLL);
v58 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v57 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v92, 45.0, 0.0);
cocos2d::CCPoint::operator+(v95, v89);
v58(v57, v95);
v60 = (int)*((float *)this + 272);
if ( v60 == -99999 )
v61 = "Mixed";
else
v61 = "Num";
v62 = CCTextInputNode::create(
(CCTextInputNode *)v61,
60.0,
40.0,
"Thonburi",
(const char *)&off_18,
"bigFont.fnt",
v59);
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**((_QWORD **)this + 73) + 464LL))(
*((_QWORD *)this + 73),
v62,
20);
v83 = *(cocos2d::CCNode **)(*(_QWORD *)v62 + 184LL);
v63 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v57 + 192LL))(v57);
((void (__fastcall *)(__int64, __int64))v83)(v62, v63);
CCTextInputNode::setMaxLabelScale((CCTextInputNode *)v62, 0.6);
CCTextInputNode::setMaxLabelWidth((CCTextInputNode *)v62, 200.0);
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(v62 + 576) + 344LL))(*(_QWORD *)(v62 + 576), 0);
*(_DWORD *)(v62 + 592) = 6;
v98 = 0;
v99 = 0;
v100 = nullptr;
std::string::__init(&v98, "0123456789-.", 0xCu);
CCTextInputNode::setAllowedChars(v62, (__int64)&v98);
if ( (v98 & 1) != 0 )
operator delete(v100);
LOBYTE(v87) = 120;
*(_WORD *)((char *)&v87 + 1) = -3926;
CCTextInputNode::setLabelPlaceholderColor(v62, v87);
CCTextInputNode::setLabelPlaceholderScale((CCTextInputNode *)v62, 0.5);
*(_QWORD *)(v62 + 584) = (char *)this + 544;
*(_BYTE *)(v62 + 424) = 1;
*((_QWORD *)this + 134) = v62;
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v62 + 72LL))(v62, 0);
v64 = (Slider *)Slider::create((int)this, (int)SetupCameraRotatePopup::sliderDegreesChanged, 0, 0.8);
Slider::setBarVisibility(v64);
(*(void (__fastcall **)(_QWORD, Slider *))(**((_QWORD **)this + 73) + 456LL))(*((_QWORD *)this + 73), v64);
v65 = *(void (__fastcall **)(Slider *, __int64 *))(*(_QWORD *)v64 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v92, 0.0, -32.0);
cocos2d::CCPoint::operator+(v95, v89);
v65(v64, v95);
if ( v60 == -99999 )
{
v66 = 0.5;
}
else
{
v66 = (float)((float)v60 / 720.0) + 0.5;
if ( v66 < 1.0 )
{
if ( v66 <= 0.0 )
v66 = 0.0;
}
else
{
v66 = 1.0;
}
}
Slider::setValue(v64, v66);
*((_QWORD *)this + 135) = v64;
SetupTriggerPopup::createMultiTriggerItemsDefaultHorizontal(this);
SetupCameraRotatePopup::updateDegreesLabel(this);
SetupCameraRotatePopup::updateEasingLabel(this);
*((_BYTE *)this + 744) = 0;
}
return v5;
}