//
// SetupShaderEffectPopup::setupShockLine from 0x9fe2b8 to 0x9ff794 (5340 bytes)
//
// 2 xrefs:
// > SetupShaderEffectPopup::init @ 0xa086d0
// > ??> @ 0x7a790
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void SetupShaderEffectPopup::setupShockLine(SetupShaderEffectPopup *a1)
{
cocos2d::CCLabelBMFont *v2; // x25
void *v3; // x0
void (__fastcall *setPosition)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // x28
void *v5; // x0
void *v6; // x0
cocos2d::CCDirector *v7; // x0
float v8; // s3
float v9; // s4
void *v10; // x0
float v11; // s3
float v12; // s4
void *v13; // x0
float v14; // s3
float v15; // s4
void *v16; // x0
float v17; // s3
float v18; // s4
void *v19; // x0
float v20; // s3
float v21; // s4
void *v22; // x0
float v23; // s3
float v24; // s4
void *v25; // x0
float v26; // s3
float v27; // s4
void *v28; // x0
float v29; // s3
float v30; // s4
void *v31; // x0
void *v32; // x0
void *v33; // x0
void *v34; // x0
void *v35; // x0
void *v36; // x0
void *v37; // x0
void *v38; // x0
float v39; // s3
float v40; // s4
void *v41; // x0
float v42; // s3
float v43; // s4
void *v44; // x0
void *v45; // x0
void *v46; // x0
void *v47; // x0
float v48; // s3
float v49; // s4
void *v50; // x0
float v51; // s2
float v52; // s0
_BOOL4 v53; // w19
void (__fastcall *toggleGroup)(SetupShaderEffectPopup *__hidden, int, bool); // x19
float v55; // s0
float v56; // s0
unsigned int *v57; // x1
int v58; // w2
unsigned int *v59; // x1
int v60; // w2
unsigned int *v61; // x1
int v62; // w2
unsigned int *v63; // x1
int v64; // w2
unsigned int *v65; // x1
int v66; // w2
unsigned int *v67; // x1
int v68; // w2
unsigned int *v69; // x1
int v70; // w2
unsigned int *v71; // x1
int v72; // w2
unsigned int *v73; // x1
int v74; // w2
unsigned int *v75; // x1
int v76; // w2
unsigned int *v77; // x1
int v78; // w2
unsigned int *v79; // x1
int v80; // w2
unsigned int *v81; // x1
int v82; // w2
unsigned int *v83; // x1
int v84; // w2
unsigned int *v85; // x1
int v86; // w2
unsigned int *v87; // x1
int v88; // w2
unsigned int *v89; // x1
int v90; // w2
unsigned int *v91; // x1
int v92; // w2
unsigned int *v93; // x1
int v94; // w2
unsigned int *v95; // x1
int v96; // w2
unsigned int *v97; // x1
int v98; // w2
unsigned int *v99; // x1
int v100; // w2
unsigned int *v101; // x1
int v102; // w2
unsigned int *v103; // x21
int v104; // w1
__int64 v105; // [xsp+B8h] [xbp+88h]
float v106; // [xsp+D0h] [xbp+A0h]
float v107; // [xsp+D4h] [xbp+A4h]
cocos2d::CCPoint v108; // [xsp+D8h] [xbp+A8h] BYREF
cocos2d::CCPoint v109; // [xsp+E0h] [xbp+B0h] BYREF
cocos2d::CCPoint v110; // [xsp+E8h] [xbp+B8h] BYREF
cocos2d::CCPoint v111; // [xsp+F0h] [xbp+C0h] BYREF
cocos2d::CCPoint v112; // [xsp+F8h] [xbp+C8h] BYREF
__int64 v113; // [xsp+100h] [xbp+D0h] BYREF
cocos2d::CCPoint v114; // 0:s0.4,4:s1.4
cocos2d::CCPoint v115; // 0:s0.4,4:s1.4
cocos2d::CCPoint v116; // 0:s0.4,4:s1.4
cocos2d::CCPoint v117; // 0:s0.4,4:s1.4
cocos2d::CCPoint v118; // 0:s0.4,4:s1.4
cocos2d::CCPoint v119; // 0:s0.4,4:s1.4
cocos2d::CCPoint v120; // 0:s0.4,4:s1.4
cocos2d::CCPoint v121; // 0:s0.4,4:s1.4
cocos2d::CCPoint v122; // 0:s0.4,4:s1.4
cocos2d::CCPoint v123; // 0:s0.4,4:s1.4
cocos2d::CCPoint v124; // 0:s0.4,4:s1.4
cocos2d::CCPoint v125; // 0:s0.4,4:s1.4
sub_D153B8((int)&v113, "Setup ShockLine");
v2 = SetupTriggerPopup::addTitle((__int64)a1);
v3 = (void *)(v113 - 24);
if ( (__int64 *)(v113 - 24) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v57 = (unsigned int *)(v113 - 8);
do
v58 = __ldaxr(v57);
while ( __stlxr(v58 - 1, v57) );
}
else
{
v58 = *(_DWORD *)(v113 - 8);
*(_DWORD *)(v113 - 8) = v58 - 1;
}
if ( v58 <= 0 )
operator delete(v3);
}
setPosition = v2->setPosition;
v105 = (__int64)v2->getPosition(v2);
cocos2d::CCPoint::CCPoint(&v112, 0.0, 2.0);
cocos2d::CCPoint::operator+(&v113, v105, &v112);
setPosition(v2, (const cocos2d::CCPoint *)&v113);
v2->setScale(v2, 0.4);
sub_D153B8((int)&v112, "ShockLine");
sub_D153B8(
(int)&v113,
"Speed defines how fast the shockline effect happens.\n"
"Strength sets how distorted objects get within the waves.\n"
"Thickness is how big each wave is.\n"
"MaxSize modifies the maximum size of the wave.\n"
"WaveW is line width.\n"
"TimeOff is offset in seconds before the effect begins.\n"
"Target lets you set a specific object to do the effect around.\n"
"Flip and Rotate change the direction of the effect.");
SetupTriggerPopup::addHelpButton((__int64)a1, 1.0);
v5 = (void *)(v113 - 24);
if ( (__int64 *)(v113 - 24) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v59 = (unsigned int *)(v113 - 8);
do
v60 = __ldaxr(v59);
while ( __stlxr(v60 - 1, v59) );
}
else
{
v60 = *(_DWORD *)(v113 - 8);
*(_DWORD *)(v113 - 8) = v60 - 1;
}
if ( v60 <= 0 )
operator delete(v5);
}
v6 = (void *)(*(_QWORD *)&v112 - 24LL);
if ( (__int64 *)(*(_QWORD *)&v112 - 24LL) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v61 = (unsigned int *)(*(_QWORD *)&v112 - 8LL);
do
v62 = __ldaxr(v61);
while ( __stlxr(v62 - 1, v61) );
}
else
{
v62 = *(_DWORD *)(*(_QWORD *)&v112 - 8LL);
*(_DWORD *)(*(_QWORD *)&v112 - 8LL) = v62 - 1;
}
if ( v62 <= 0 )
operator delete(v6);
}
v7 = cocos2d::CCDirector::sharedDirector();
cocos2d::CCDirector::getWinSize(v7);
cocos2d::CCPoint::CCPoint(&v108, (float)(v106 * 0.5) + -10.0, (float)(v107 * 0.5) + 110.0);
sub_D153B8((int)&v113, "Speed:");
cocos2d::CCPoint::CCPoint(&v111, -100.0, 0.0);
cocos2d::CCPoint::operator+(&v112, &v108, &v111);
v114.y = 0.0;
v114.x = 0.6;
SetupTriggerPopup::createValueControlAdvanced(
a1,
0xAFu,
v114,
5.0,
v8,
v9,
(std::string)&v113,
&v112,
(InputValueType)0,
Float,
6,
0,
0,
0,
1,
3,
1);
v10 = (void *)(v113 - 24);
if ( (__int64 *)(v113 - 24) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v63 = (unsigned int *)(v113 - 8);
do
v64 = __ldaxr(v63);
while ( __stlxr(v64 - 1, v63) );
}
else
{
v64 = *(_DWORD *)(v113 - 8);
*(_DWORD *)(v113 - 8) = v64 - 1;
}
if ( v64 <= 0 )
operator delete(v10);
}
sub_D153B8((int)&v113, "Strength:");
cocos2d::CCPoint::CCPoint(&v111, 100.0, 0.0);
cocos2d::CCPoint::operator+(&v112, &v108, &v111);
v115.x = 0.6;
v115.y = 0.0;
SetupTriggerPopup::createValueControlAdvanced(
a1,
0xB0u,
v115,
1.0,
v11,
v12,
(std::string)&v113,
&v112,
(InputValueType)0,
Float,
6,
0,
0,
0,
1,
3,
1);
v13 = (void *)(v113 - 24);
if ( (__int64 *)(v113 - 24) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v65 = (unsigned int *)(v113 - 8);
do
v66 = __ldaxr(v65);
while ( __stlxr(v66 - 1, v65) );
}
else
{
v66 = *(_DWORD *)(v113 - 8);
*(_DWORD *)(v113 - 8) = v66 - 1;
}
if ( v66 <= 0 )
operator delete(v13);
}
sub_D153B8((int)&v113, "Thickness:");
cocos2d::CCPoint::CCPoint(&v111, -100.0, -25.0);
cocos2d::CCPoint::operator+(&v112, &v108, &v111);
v116.x = 0.6;
v116.y = 0.0;
SetupTriggerPopup::createValueControlAdvanced(
a1,
0xB4u,
v116,
5.0,
v14,
v15,
(std::string)&v113,
&v112,
(InputValueType)0,
Float,
6,
0,
0,
0,
1,
3,
1);
v16 = (void *)(v113 - 24);
if ( (__int64 *)(v113 - 24) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v67 = (unsigned int *)(v113 - 8);
do
v68 = __ldaxr(v67);
while ( __stlxr(v68 - 1, v67) );
}
else
{
v68 = *(_DWORD *)(v113 - 8);
*(_DWORD *)(v113 - 8) = v68 - 1;
}
if ( v68 <= 0 )
operator delete(v16);
}
sub_D153B8((int)&v113, "WaveW:");
cocos2d::CCPoint::CCPoint(&v111, 100.0, -25.0);
cocos2d::CCPoint::operator+(&v112, &v108, &v111);
v117.x = 0.6;
v117.y = 0.0;
SetupTriggerPopup::createValueControlAdvanced(
a1,
0xB3u,
v117,
5.0,
v17,
v18,
(std::string)&v113,
&v112,
(InputValueType)0,
Float,
6,
0,
0,
0,
1,
3,
1);
v19 = (void *)(v113 - 24);
if ( (__int64 *)(v113 - 24) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v69 = (unsigned int *)(v113 - 8);
do
v70 = __ldaxr(v69);
while ( __stlxr(v70 - 1, v69) );
}
else
{
v70 = *(_DWORD *)(v113 - 8);
*(_DWORD *)(v113 - 8) = v70 - 1;
}
if ( v70 <= 0 )
operator delete(v19);
}
sub_D153B8((int)&v113, "FadeIn:");
cocos2d::CCPoint::CCPoint(&v111, -100.0, -50.0);
cocos2d::CCPoint::operator+(&v112, &v108, &v111);
v118.x = 0.6;
v118.y = 0.0;
SetupTriggerPopup::createValueControlAdvanced(
a1,
0xB5u,
v118,
5.0,
v20,
v21,
(std::string)&v113,
&v112,
(InputValueType)0,
Float,
6,
0,
0,
0,
1,
3,
1);
v22 = (void *)(v113 - 24);
if ( (__int64 *)(v113 - 24) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v71 = (unsigned int *)(v113 - 8);
do
v72 = __ldaxr(v71);
while ( __stlxr(v72 - 1, v71) );
}
else
{
v72 = *(_DWORD *)(v113 - 8);
*(_DWORD *)(v113 - 8) = v72 - 1;
}
if ( v72 <= 0 )
operator delete(v22);
}
sub_D153B8((int)&v113, "FadeOut:");
cocos2d::CCPoint::CCPoint(&v111, 100.0, -50.0);
cocos2d::CCPoint::operator+(&v112, &v108, &v111);
v119.x = 0.6;
v119.y = 0.0;
SetupTriggerPopup::createValueControlAdvanced(
a1,
0xB6u,
v119,
5.0,
v23,
v24,
(std::string)&v113,
&v112,
(InputValueType)0,
Float,
6,
0,
0,
0,
1,
3,
1);
v25 = (void *)(v113 - 24);
if ( (__int64 *)(v113 - 24) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v73 = (unsigned int *)(v113 - 8);
do
v74 = __ldaxr(v73);
while ( __stlxr(v74 - 1, v73) );
}
else
{
v74 = *(_DWORD *)(v113 - 8);
*(_DWORD *)(v113 - 8) = v74 - 1;
}
if ( v74 <= 0 )
operator delete(v25);
}
sub_D153B8((int)&v113, "TimeOff:");
cocos2d::CCPoint::CCPoint(&v111, -100.0, -75.0);
cocos2d::CCPoint::operator+(&v112, &v108, &v111);
v120.x = 0.6;
v120.y = -10.0;
SetupTriggerPopup::createValueControlAdvanced(
a1,
0xB1u,
v120,
10.0,
v26,
v27,
(std::string)&v113,
&v112,
(InputValueType)0,
Float,
6,
0,
0,
0,
1,
3,
1);
v28 = (void *)(v113 - 24);
if ( (__int64 *)(v113 - 24) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v75 = (unsigned int *)(v113 - 8);
do
v76 = __ldaxr(v75);
while ( __stlxr(v76 - 1, v75) );
}
else
{
v76 = *(_DWORD *)(v113 - 8);
*(_DWORD *)(v113 - 8) = v76 - 1;
}
if ( v76 <= 0 )
operator delete(v28);
}
sub_D153B8((int)&v113, "MaxSize:");
cocos2d::CCPoint::CCPoint(&v111, 100.0, -75.0);
cocos2d::CCPoint::operator+(&v112, &v108, &v111);
v121.x = 0.6;
v121.y = 0.0;
SetupTriggerPopup::createValueControlAdvanced(
a1,
0x200u,
v121,
1.0,
v29,
v30,
(std::string)&v113,
&v112,
(InputValueType)0,
Float,
6,
0,
0,
0,
1,
3,
1);
v31 = (void *)(v113 - 24);
if ( (__int64 *)(v113 - 24) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v77 = (unsigned int *)(v113 - 8);
do
v78 = __ldaxr(v77);
while ( __stlxr(v78 - 1, v77) );
}
else
{
v78 = *(_DWORD *)(v113 - 8);
*(_DWORD *)(v113 - 8) = v78 - 1;
}
if ( v78 <= 0 )
operator delete(v31);
}
cocos2d::CCPoint::CCPoint(&v109, (float)(v106 * 0.5) + -25.0, v108.y - 100.0);
sub_D153B8((int)&v113, "Invert");
cocos2d::CCPoint::CCPoint(&v111, -162.5, 0.0);
cocos2d::CCPoint::operator+(&v112, &v109, &v111);
SetupTriggerPopup::createToggleValueControl(a1, 184, 0.8, (__int64)&v113, &v112, 0, 0, 0);
v32 = (void *)(v113 - 24);
if ( (__int64 *)(v113 - 24) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v79 = (unsigned int *)(v113 - 8);
do
v80 = __ldaxr(v79);
while ( __stlxr(v80 - 1, v79) );
}
else
{
v80 = *(_DWORD *)(v113 - 8);
*(_DWORD *)(v113 - 8) = v80 - 1;
}
if ( v80 <= 0 )
operator delete(v32);
}
sub_D153B8((int)&v113, "Flip");
cocos2d::CCPoint::CCPoint(&v111, -97.5, 0.0);
cocos2d::CCPoint::operator+(&v112, &v109, &v111);
SetupTriggerPopup::createToggleValueControl(a1, 185, 0.8, (__int64)&v113, &v112, 0, 0, 0);
v33 = (void *)(v113 - 24);
if ( (__int64 *)(v113 - 24) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v81 = (unsigned int *)(v113 - 8);
do
v82 = __ldaxr(v81);
while ( __stlxr(v82 - 1, v81) );
}
else
{
v82 = *(_DWORD *)(v113 - 8);
*(_DWORD *)(v113 - 8) = v82 - 1;
}
if ( v82 <= 0 )
operator delete(v33);
}
sub_D153B8((int)&v113, "Rotate");
cocos2d::CCPoint::CCPoint(&v111, -32.5, 0.0);
cocos2d::CCPoint::operator+(&v112, &v109, &v111);
SetupTriggerPopup::createToggleValueControl(a1, 186, 0.8, (__int64)&v113, &v112, 0, 0, 0);
v34 = (void *)(v113 - 24);
if ( (__int64 *)(v113 - 24) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v83 = (unsigned int *)(v113 - 8);
do
v84 = __ldaxr(v83);
while ( __stlxr(v84 - 1, v83) );
}
else
{
v84 = *(_DWORD *)(v113 - 8);
*(_DWORD *)(v113 - 8) = v84 - 1;
}
if ( v84 <= 0 )
operator delete(v34);
}
sub_D153B8((int)&v113, "Dual");
cocos2d::CCPoint::CCPoint(&v111, 32.5, 0.0);
cocos2d::CCPoint::operator+(&v112, &v109, &v111);
SetupTriggerPopup::createToggleValueControl(a1, 187, 0.8, (__int64)&v113, &v112, 0, 0, 0);
v35 = (void *)(v113 - 24);
if ( (__int64 *)(v113 - 24) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v85 = (unsigned int *)(v113 - 8);
do
v86 = __ldaxr(v85);
while ( __stlxr(v86 - 1, v85) );
}
else
{
v86 = *(_DWORD *)(v113 - 8);
*(_DWORD *)(v113 - 8) = v86 - 1;
}
if ( v86 <= 0 )
operator delete(v35);
}
sub_D153B8((int)&v113, "Target");
cocos2d::CCPoint::CCPoint(&v111, 97.5, 0.0);
cocos2d::CCPoint::operator+(&v112, &v109, &v111);
SetupTriggerPopup::createToggleValueControl(a1, 188, 0.8, (__int64)&v113, &v112, 0, 0, 0);
v36 = (void *)(v113 - 24);
if ( (__int64 *)(v113 - 24) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v87 = (unsigned int *)(v113 - 8);
do
v88 = __ldaxr(v87);
while ( __stlxr(v88 - 1, v87) );
}
else
{
v88 = *(_DWORD *)(v113 - 8);
*(_DWORD *)(v113 - 8) = v88 - 1;
}
if ( v88 <= 0 )
operator delete(v36);
}
sub_D153B8((int)&v113, "Relative");
cocos2d::CCPoint::CCPoint(&v111, 162.5, 0.0);
cocos2d::CCPoint::operator+(&v112, &v109, &v111);
SetupTriggerPopup::createToggleValueControl(a1, 514, 0.8, (__int64)&v113, &v112, 0, 0, 0);
v37 = (void *)(v113 - 24);
if ( (__int64 *)(v113 - 24) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v89 = (unsigned int *)(v113 - 8);
do
v90 = __ldaxr(v89);
while ( __stlxr(v90 - 1, v89) );
}
else
{
v90 = *(_DWORD *)(v113 - 8);
*(_DWORD *)(v113 - 8) = v90 - 1;
}
if ( v90 <= 0 )
operator delete(v37);
}
sub_D153B8((int)&v113, "Animate");
cocos2d::CCPoint::CCPoint(
&v112,
(float)((float)((float)(a1->m_width * 0.5) + (float)(v106 * 0.5)) - 72.0) - 90.0,
20.0 - (float)((float)(a1->m_height * 0.5) - (float)(v107 * 0.5)));
SetupTriggerPopup::createToggleValueControl(a1, 513, 1.0, (__int64)&v113, &v112, 0, 0, 0);
v38 = (void *)(v113 - 24);
if ( (__int64 *)(v113 - 24) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v91 = (unsigned int *)(v113 - 8);
do
v92 = __ldaxr(v91);
while ( __stlxr(v92 - 1, v91) );
}
else
{
v92 = *(_DWORD *)(v113 - 8);
*(_DWORD *)(v113 - 8) = v92 - 1;
}
if ( v92 <= 0 )
operator delete(v38);
}
sub_D153B8((int)&v113, "ScreenOff:");
cocos2d::CCPoint::CCPoint(&v111, -100.0, -125.0);
cocos2d::CCPoint::operator+(&v112, &v108, &v111);
v122.x = 0.6;
v122.y = -1.0;
SetupTriggerPopup::createValueControlAdvanced(
a1,
0x122u,
v122,
1.0,
v39,
v40,
(std::string)&v113,
&v112,
(InputValueType)0,
Float,
6,
0,
0,
101,
1,
3,
1);
v41 = (void *)(v113 - 24);
if ( (__int64 *)(v113 - 24) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v93 = (unsigned int *)(v113 - 8);
do
v94 = __ldaxr(v93);
while ( __stlxr(v94 - 1, v93) );
}
else
{
v94 = *(_DWORD *)(v113 - 8);
*(_DWORD *)(v113 - 8) = v94 - 1;
}
if ( v94 <= 0 )
operator delete(v41);
}
cocos2d::CCPoint::CCPoint(&v110, (float)(v106 * 0.5) + -20.0, v108.y - 125.0);
sub_D153B8((int)&v113, "CenterID");
cocos2d::CCPoint::CCPoint(&v111, -100.0, 0.0);
cocos2d::CCPoint::operator+(&v112, &v110, &v111);
v123.x = 0.6;
v123.y = 0.0;
SetupTriggerPopup::createValueControlAdvanced(
a1,
0x33u,
v123,
1.0,
v42,
v43,
(std::string)&v113,
&v112,
Float,
Int,
6,
1u,
0,
100,
1,
2,
0);
v44 = (void *)(v113 - 24);
if ( (__int64 *)(v113 - 24) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v95 = (unsigned int *)(v113 - 8);
do
v96 = __ldaxr(v95);
while ( __stlxr(v96 - 1, v95) );
}
else
{
v96 = *(_DWORD *)(v113 - 8);
*(_DWORD *)(v113 - 8) = v96 - 1;
}
if ( v96 <= 0 )
operator delete(v44);
}
sub_D153B8((int)&v113, "P1");
cocos2d::CCPoint::CCPoint(&v111, 20.0, 0.0);
cocos2d::CCPoint::operator+(&v112, &v110, &v111);
SetupTriggerPopup::createToggleValueControl(a1, 138, 0.8, (__int64)&v113, &v112, 0, 0, 100);
v45 = (void *)(v113 - 24);
if ( (__int64 *)(v113 - 24) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v97 = (unsigned int *)(v113 - 8);
do
v98 = __ldaxr(v97);
while ( __stlxr(v98 - 1, v97) );
}
else
{
v98 = *(_DWORD *)(v113 - 8);
*(_DWORD *)(v113 - 8) = v98 - 1;
}
if ( v98 <= 0 )
operator delete(v45);
}
sub_D153B8((int)&v113, "P2");
cocos2d::CCPoint::CCPoint(&v111, 80.0, 0.0);
cocos2d::CCPoint::operator+(&v112, &v110, &v111);
SetupTriggerPopup::createToggleValueControl(a1, 200, 0.8, (__int64)&v113, &v112, 0, 0, 100);
v46 = (void *)(v113 - 24);
if ( (__int64 *)(v113 - 24) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v99 = (unsigned int *)(v113 - 8);
do
v100 = __ldaxr(v99);
while ( __stlxr(v100 - 1, v99) );
}
else
{
v100 = *(_DWORD *)(v113 - 8);
*(_DWORD *)(v113 - 8) = v100 - 1;
}
if ( v100 <= 0 )
operator delete(v46);
}
sub_D153B8((int)&v113, "Follow");
cocos2d::CCPoint::CCPoint(&v111, 140.0, 0.0);
cocos2d::CCPoint::operator+(&v112, &v110, &v111);
SetupTriggerPopup::createToggleValueControl(a1, 190, 0.8, (__int64)&v113, &v112, 0, 0, 100);
v47 = (void *)(v113 - 24);
if ( (__int64 *)(v113 - 24) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v101 = (unsigned int *)(v113 - 8);
do
v102 = __ldaxr(v101);
while ( __stlxr(v102 - 1, v101) );
}
else
{
v102 = *(_DWORD *)(v113 - 8);
*(_DWORD *)(v113 - 8) = v102 - 1;
}
if ( v102 <= 0 )
operator delete(v47);
}
sub_D153B8((int)&v113, "FadeTime:");
cocos2d::CCPoint::CCPoint(&v111, -100.0, -185.0);
cocos2d::CCPoint::operator+(&v112, &v108, &v111);
v124.x = 0.6;
v124.y = 0.0;
SetupTriggerPopup::createValueControlAdvanced(
a1,
0xAu,
v124,
1.0,
v48,
v49,
(std::string)&v113,
&v112,
(InputValueType)0,
Float,
6,
0,
0,
103,
1,
2,
0);
v50 = (void *)(v113 - 24);
if ( (__int64 *)(v113 - 24) != &qword_124B6B0 )
{
if ( &pthread_create )
{
v103 = (unsigned int *)(v113 - 8);
do
v104 = __ldaxr(v103);
while ( __stlxr(v104 - 1, v103) );
}
else
{
v104 = *(_DWORD *)(v113 - 8);
*(_DWORD *)(v113 - 8) = v104 - 1;
}
if ( v104 <= 0 )
operator delete(v50);
}
cocos2d::CCPoint::CCPoint(&v112, 100.0, -170.0);
cocos2d::CCPoint::operator+(&v113, &v108, &v112);
v125.x = 0.65;
SetupTriggerPopup::createEasingControls(a1, v125, v51, (int)&v113, 0);
v52 = a1->getValue(a1, 188);
v53 = v52 != 0.0;
a1->toggleGroup(a1, 100, v52 != 0.0);
a1->toggleGroup(a1, 101, !v53);
toggleGroup = a1->toggleGroup;
v55 = a1->getValue(a1, 513);
toggleGroup(a1, 103, v55 != 0.0);
v56 = a1->getValue(a1, 513);
SetupTriggerPopup::toggleDisableButtons(a1, v56 != 0.0);
}