//
// SetupAreaMoveTriggerPopup::addAreaDefaultControls from 0x1004ceac0 to 0x1004cf9b1 (3825 bytes)
//
// 6 xrefs:
// > SetupAreaMoveTriggerPopup::init @ 0x1004ce88c
// > SetupAreaTransformTriggerPopup::init @ 0x1004d13bf
// > sub_1004D1A60 @ 0x1004d20a6
// > sub_1004D2720 @ 0x1004d2d6f
// > SetupAreaTintTriggerPopup::init @ 0x1004d3d7b
// > SetupAreaTriggerPopup::init @ 0x1004d4f69
//
// This function is hookable on this platform (idp: pc, 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 12:31:11 +0000
//
void __fastcall SetupAreaMoveTriggerPopup::addAreaDefaultControls(std::string::pointer data, int a2)
{
__int64 v2; // rbx
__int64 v3; // rax
__int64 v4; // rax
unsigned __int64 *v5; // rdi
float *v6; // rbx
int v7; // r15d
unsigned int v8; // r13d
std::string::value_type *v9; // rax
size_t v10; // rax
size_t v11; // r12
char *v12; // r14
size_t v13; // rbx
__int64 v14; // r12
__int64 v15; // rbx
_BYTE *ToggleButton; // r12
int v17; // r14d
__m128 v18; // xmm0
void *v19; // rdi
__m128 v20; // xmm0
__int64 v21; // rax
__m128 v22; // xmm0
__int64 v23; // r14
int v24; // ebx
__m128 v25; // rt1
int v26; // r15d
unsigned int v27; // r12d
const std::string::value_type *v28; // rcx
const std::string::value_type *v29; // rsi
const std::string::value_type *v30; // rax
__int64 v31; // xmm0_8
std::string::pointer v32; // rdi
char *v33; // r14
int v34; // ecx
int v35; // eax
bool v36; // cl
int v37; // esi
bool v38; // dl
int v39; // esi
const char *v40; // r8
char *v41; // rax
_DWORD *v42; // r13
__int64 v43; // rax
float v44; // xmm3_4
int v45; // eax
__int64 v46; // r14
std::string v47; // [rsp+40h] [rbp-1D0h] BYREF
std::string v48; // [rsp+58h] [rbp-1B8h] BYREF
std::string v49; // [rsp+70h] [rbp-1A0h] BYREF
std::string v50; // [rsp+88h] [rbp-188h] BYREF
__int128 v51; // [rsp+A0h] [rbp-170h] BYREF
void *v52; // [rsp+B0h] [rbp-160h]
__int128 v53; // [rsp+B8h] [rbp-158h] BYREF
void *v54; // [rsp+C8h] [rbp-148h]
std::string v55; // [rsp+D0h] [rbp-140h] BYREF
std::string v56; // [rsp+E8h] [rbp-128h] BYREF
__int128 v57; // [rsp+100h] [rbp-110h] BYREF
void *v58; // [rsp+110h] [rbp-100h]
__int128 v59; // [rsp+118h] [rbp-F8h] BYREF
void *v60; // [rsp+128h] [rbp-E8h]
char v61; // [rsp+130h] [rbp-E0h] BYREF
char v62[15]; // [rsp+131h] [rbp-DFh] BYREF
void *v63; // [rsp+140h] [rbp-D0h]
char v64; // [rsp+148h] [rbp-C8h] BYREF
char v65[15]; // [rsp+149h] [rbp-C7h] BYREF
void *v66; // [rsp+158h] [rbp-B8h] BYREF
_QWORD __dst[2]; // [rsp+160h] [rbp-B0h] BYREF
void *v68; // [rsp+170h] [rbp-A0h]
unsigned __int64 v69; // [rsp+178h] [rbp-98h] BYREF
unsigned __int64 v70; // [rsp+180h] [rbp-90h] BYREF
__int64 PageContainer; // [rsp+188h] [rbp-88h]
__int64 v72; // [rsp+190h] [rbp-80h]
unsigned __int64 v73; // [rsp+19Ch] [rbp-74h] BYREF
int v74; // [rsp+1A4h] [rbp-6Ch]
__int64 v75; // [rsp+1A8h] [rbp-68h] BYREF
__int64 v76; // [rsp+1B0h] [rbp-60h]
unsigned __int64 v77; // [rsp+1B8h] [rbp-58h] BYREF
unsigned __int64 v78; // [rsp+1C0h] [rbp-50h] BYREF
unsigned __int64 v79; // [rsp+1C8h] [rbp-48h] BYREF
std::string __s[2]; // [rsp+1D0h] [rbp-40h] BYREF
v2 = (__int64)data;
v3 = cocos2d::CCDirector::sharedDirector();
cocos2d::CCDirector::getWinSize(&v75, v3);
sub_100278250((float *)&v77, *(float *)&v75 * 0.5, (float)(*((float *)&v75 + 1) * 0.5) + 95.0);
v55.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)14;
strcpy(v55.__r_.__value_.__s.__data_, "OffsetY");
sub_100278250((float *)&v79, -75.0, -0.0);
sub_100278350((double *)__s, &v77, &v79);
SetupTriggerPopup::createValueControlAdvanced(
(__int64)data,
252,
&v55,
(__int64)__s,
0,
2u,
0.64999998,
0.0,
100.0,
6u,
0,
1u,
0x63u,
1u,
2u,
0);
if ( (*(_BYTE *)&v55.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v55.__r_.__value_.__l.__data_);
v47.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)4;
strcpy(v47.__r_.__value_.__s.__data_, "+-");
sub_100278250((float *)&v79, 75.0, -0.0);
sub_100278350((double *)__s, &v77, &v79);
SetupTriggerPopup::createValueControlAdvanced(
(__int64)data,
253,
&v47,
(__int64)__s,
0,
2u,
0.64999998,
0.0,
100.0,
6u,
0,
1u,
0x63u,
1u,
2u,
0);
if ( (*(_BYTE *)&v47.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v47.__r_.__value_.__l.__data_);
__s[0].__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)18;
strcpy(__s[0].__r_.__value_.__s.__data_, "EffectID:");
sub_100278250((float *)&v73, 85.0, -50.0);
sub_100278350((double *)&v79, &v77, &v73);
IDNameInput::create((_DWORD)data, (_DWORD)data + 544, 5, 225, (unsigned int)__s, (unsigned int)&v79, 6, 0, 1, 0);
if ( (*(_BYTE *)&__s[0].__r_.__value_.__s.0 & 1) != 0 )
operator delete(__s[0].__r_.__value_.__l.__data_);
strcpy((char *)__s, " Target Group ID:");
sub_100278250((float *)&v73, 85.0, -100.0);
sub_100278350((double *)&v79, &v77, &v73);
IDNameInput::create((_DWORD)data, (_DWORD)data + 544, 1, 51, (unsigned int)__s, (unsigned int)&v79, 6, 0, 1, 0);
if ( (*(_BYTE *)&__s[0].__r_.__value_.__s.0 & 1) != 0 )
operator delete(__s[0].__r_.__value_.__l.__data_);
strcpy((char *)__s, " Center Group ID:");
sub_100278250((float *)&v73, 85.0, -150.0);
sub_100278350((double *)&v79, &v77, &v73);
IDNameInput::create((_DWORD)data, (_DWORD)data + 544, 1, 71, (unsigned int)__s, (unsigned int)&v79, 6, 0, 1, 0);
if ( (*(_BYTE *)&__s[0].__r_.__value_.__s.0 & 1) != 0 )
operator delete(__s[0].__r_.__value_.__l.__data_);
v48.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)18;
strcpy(v48.__r_.__value_.__s.__data_, "Priority:");
sub_100278250((float *)&v79, 85.0, -200.0);
sub_100278350((double *)__s, &v77, &v79);
SetupTriggerPopup::createValueControlAdvanced(
(__int64)data,
341,
&v48,
(__int64)__s,
1,
2u,
0.64999998,
0.0,
100.0,
6u,
1,
1u,
0,
0,
2u,
0);
if ( (*(_BYTE *)&v48.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v48.__r_.__value_.__l.__data_);
v49.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)16;
strcpy(v49.__r_.__value_.__s.__data_, "ModFront");
sub_100278250((float *)&v79, -75.0, -25.0);
sub_100278350((double *)__s, &v77, &v79);
SetupTriggerPopup::createValueControlAdvanced(
(__int64)data,
263,
&v49,
(__int64)__s,
0,
1u,
0.64999998,
0.0,
10.0,
6u,
0,
1u,
0,
1u,
2u,
0);
if ( (*(_BYTE *)&v49.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v49.__r_.__value_.__l.__data_);
v56.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)14;
strcpy(v56.__r_.__value_.__s.__data_, "ModBack");
sub_100278250((float *)&v79, -75.0, -50.0);
sub_100278350((double *)__s, &v77, &v79);
SetupTriggerPopup::createValueControlAdvanced(
(__int64)data,
264,
&v56,
(__int64)__s,
0,
1u,
0.64999998,
0.0,
10.0,
6u,
0,
1u,
0,
1u,
2u,
0);
if ( (*(_BYTE *)&v56.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v56.__r_.__value_.__l.__data_);
v50.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)16;
strcpy(v50.__r_.__value_.__s.__data_, "Deadzone");
sub_100278250((float *)&v79, -75.0, -75.0);
sub_100278350((double *)__s, &v77, &v79);
SetupTriggerPopup::createValueControlAdvanced(
(__int64)data,
282,
&v50,
(__int64)__s,
0,
1u,
0.64999998,
0.0,
1.0,
6u,
0,
1u,
0,
1u,
2u,
0);
v74 = a2;
if ( (*(_BYTE *)&v50.__r_.__value_.__s.0 & 1) != 0 )
{
data = v50.__r_.__value_.__l.__data_;
operator delete(v50.__r_.__value_.__l.__data_);
}
PageContainer = (__int64)&v66;
v4 = sub_1007FE900(data);
*(_QWORD *)(v2 + 1024) = v4;
cocos2d::CCObject::retain(v4);
v76 = v2;
sub_100278250((float *)__s, 170.0, 40.0);
v5 = &v79;
v6 = (float *)v76;
sub_100278350((double *)&v79, &v77, (unsigned __int64 *)__s);
v7 = 1;
v8 = -1;
while ( 2 )
{
v72 = sub_1007FE900(v5);
switch ( v7 )
{
case 1:
__s[0].__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)4;
*(_WORD *)((char *)&__s[0].__r_.__value_.__l.0 + 1) = 12624;
goto LABEL_34;
case 2:
__s[0].__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)4;
*(_WORD *)((char *)&__s[0].__r_.__value_.__l.0 + 1) = 12880;
goto LABEL_34;
case 3:
*(_WORD *)&__s[0].__r_.__value_.__l.0 = 17154;
v9 = &__s[0].__r_.__value_.__s.__data_[1];
goto LABEL_35;
case 4:
__s[0].__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)4;
*(_WORD *)((char *)&__s[0].__r_.__value_.__l.0 + 1) = 19522;
goto LABEL_34;
case 5:
__s[0].__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)4;
*(_WORD *)((char *)&__s[0].__r_.__value_.__l.0 + 1) = 19523;
goto LABEL_34;
case 6:
__s[0].__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)4;
*(_WORD *)((char *)&__s[0].__r_.__value_.__l.0 + 1) = 19540;
goto LABEL_34;
case 7:
__s[0].__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)4;
*(_WORD *)((char *)&__s[0].__r_.__value_.__l.0 + 1) = 17218;
goto LABEL_34;
case 8:
__s[0].__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)4;
*(_WORD *)((char *)&__s[0].__r_.__value_.__l.0 + 1) = 17236;
goto LABEL_34;
case 9:
__s[0].__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)4;
*(_WORD *)((char *)&__s[0].__r_.__value_.__l.0 + 1) = 21058;
goto LABEL_34;
case 10:
__s[0].__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)4;
*(_WORD *)((char *)&__s[0].__r_.__value_.__l.0 + 1) = 21059;
goto LABEL_34;
case 11:
__s[0].__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)4;
*(_WORD *)((char *)&__s[0].__r_.__value_.__l.0 + 1) = 21076;
goto LABEL_34;
default:
__s[0].__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)4;
*(_WORD *)((char *)&__s[0].__r_.__value_.__l.0 + 1) = 16718;
LABEL_34:
v9 = &__s[0].__r_.__value_.__s.__data_[2];
LABEL_35:
*v9 = 0;
v10 = strlen(__s[0].__r_.__value_.__s.__data_);
if ( v10 >= 0xFFFFFFFFFFFFFFF8LL )
sub_100003630();
v11 = v10;
if ( v10 >= 0x17 )
{
v13 = (v10 | 7) + 1;
if ( (v10 | 7) == 0x17 )
v13 = 26;
v12 = (char *)operator new(v13);
v68 = v12;
__dst[0] = v13 | 1;
__dst[1] = v11;
v6 = (float *)v76;
}
else
{
LOBYTE(__dst[0]) = 2 * v10;
v12 = (char *)__dst + 1;
if ( !v10 )
goto LABEL_43;
}
memcpy(v12, (char *)&__s[0].__r_.__value_.__l.0 + 1, v11);
LABEL_43:
v12[v11] = 0;
v14 = *((_QWORD *)v6 + 69);
sub_100278250((float *)&v70, 0.0, (float)v7 * -23.0);
sub_100278350((double *)&v73, &v79, &v70);
v15 = *(_QWORD *)(v76 + 584);
sub_100278250((float *)&v78, 6.0, 0.0);
ToggleButton = (_BYTE *)GameToolbox::createToggleButton(
(unsigned int)__dst,
(unsigned int)SetupAreaMoveTriggerPopup::onSpecialTarget,
0,
0,
v14,
(unsigned int)&v73,
v76,
v15,
(__int64)&v78,
(__int64)"bigFont.fnt",
0,
0,
v72);
if ( (__dst[0] & 1) != 0 )
operator delete(v68);
v6 = (float *)v76;
if ( (*(_BYTE *)&__s[0].__r_.__value_.__s.0 & 1) != 0 )
operator delete(__s[0].__r_.__value_.__l.__data_);
ToggleButton[393] = 1;
(*(void (__fastcall **)(_BYTE *, _QWORD))(*(_QWORD *)ToggleButton + 72LL))(ToggleButton, v8);
SetupTriggerPopup::addObjectsToPage((__int64)v6, v72, 1u);
v5 = *((unsigned __int64 **)v6 + 128);
sub_1007FEBF0(v5, ToggleButton);
++v7;
if ( --v8 != -12 )
continue;
sub_100278250((float *)&v73, (float)(*(float *)&v75 * 0.5) + -10.0, (float)(*((float *)&v75 + 1) * 0.5) + -80.0);
sub_100278250(
(float *)&v70,
(float)((float)(*(float *)&v75 * 0.5) - (float)(v6[183] * 0.5)) + 20.0,
(float)((float)((float)(*((float *)&v75 + 1) * 0.5) - (float)(v6[184] * 0.5)) + 20.0) + 30.0);
LOBYTE(v57) = 28;
strcpy((char *)&v57 + 1, "Ignore\nGParent");
sub_100278250((float *)&v78, 90.0, 0.0);
sub_100278350((double *)__s, &v70, &v78);
SetupTriggerPopup::createToggleValueControl((int)v6, 280, &v57, (__int64)__s, 0, 1, 1.0, 0);
v17 = v74;
if ( (v57 & 1) != 0 )
operator delete(v58);
LOBYTE(v59) = 26;
strcpy((char *)&v59 + 1, "Ignore\nLinked");
sub_1002782D0(__s, &v70);
SetupTriggerPopup::createToggleValueControl((int)v6, 281, &v59, (__int64)__s, 0, 1, 1.0, 0);
if ( (v59 & 1) != 0 )
operator delete(v60);
strcpy((char *)&v51, "\nDE\nAP");
sub_100278250((float *)&v78, 180.0, 20.0);
sub_100278350((double *)__s, &v70, &v78);
v18 = (__m128)0x3F800000u;
v19 = v6;
SetupTriggerPopup::createToggleValueControl((int)v6, 539, &v51, (__int64)__s, 0, 1, 1.0, 0);
if ( (v51 & 1) != 0 )
{
v19 = v52;
operator delete(v52);
}
if ( (unsigned int)(v17 - 3006) < 3 )
{
v61 = 12;
strcpy(v62, "Easing");
sub_100278250((float *)&v78, -95.0, -150.0);
sub_100278350((double *)__s, &v77, &v78);
SetupTriggerPopup::createCustomEasingControls(
(__int64)v6,
(__int64)&v61,
(__int64)__s,
0xF2u,
0xF3u,
0,
0.69999999,
0);
if ( (v61 & 1) != 0 )
operator delete(v63);
sub_100278250(
(float *)__s,
(float)(*(float *)&v75 * 0.5) + 50.0,
(float)((float)(*((float *)&v75 + 1) * 0.5) - (float)(v6[184] * 0.5)) + 20.0);
LOBYTE(v53) = 16;
strcpy((char *)&v53 + 1, "Ease\nOut");
v6 = (float *)v76;
sub_1002782D0(&v78, __s);
SetupTriggerPopup::createToggleValueControl((int)v6, 261, &v53, (__int64)&v78, 0, 0, 1.0, 0);
if ( (v53 & 1) != 0 )
operator delete(v54);
v64 = 14;
strcpy(v65, "Easing2");
sub_100278250((float *)&v69, 95.0, -150.0);
sub_100278350((double *)&v78, &v77, &v69);
v18 = (__m128)0x3F333333u;
SetupTriggerPopup::createCustomEasingControls(
(__int64)v6,
(__int64)&v64,
(__int64)&v78,
0xF8u,
0xF9u,
0,
0.69999999,
9);
if ( (v64 & 1) != 0 )
operator delete(v66);
v20.f32[0] = (*(float (__fastcall **)(float *, __int64))(*(_QWORD *)v6 + 1464LL))(v6, 261);
v19 = v6;
(*(void (__fastcall **)(float *, __int64, _QWORD))(*(_QWORD *)v6 + 1352LL))(
v6,
9,
_mm_cvtsi128_si32((__m128i)_mm_cmpneq_ss((__m128)0LL, v20)) & 1);
}
v21 = sub_1007FE900(v19);
*((_QWORD *)v6 + 127) = v21;
cocos2d::CCObject::retain(v21);
v74 = (int)(*(float (__fastcall **)(float *, __int64))(*(_QWORD *)v6 + 1464LL))(v6, 262);
*(double *)v18.i64 = (*(double (__fastcall **)(float *, __int64))(*(_QWORD *)v6 + 1464LL))(v6, 276);
v22 = _mm_cmpneq_ss(v18, (__m128)0LL);
v23 = (__int64)v6;
v24 = _mm_cvtsi128_si32((__m128i)v22) & 1;
*(double *)v22.i64 = (*(double (__fastcall **)(__int64, __int64))(*(_QWORD *)v23 + 1464LL))(v23, 283);
v25.i32[0] = 0;
v26 = _mm_cvtsi128_si32((__m128i)_mm_cmpneq_ss(v22, v25)) & 1;
PageContainer = SetupTriggerPopup::getPageContainer(v23, 1u);
v27 = 0;
memset(__s, 0, 24);
v28 = "edit_areaModeBtn03b_001.png";
v29 = "edit_areaModeBtn05_001.png";
v30 = "edit_areaModeBtn01_001.png";
switch ( (unsigned __int64)"edit_areaModeBtn01_001.png" )
{
case 0uLL:
LABEL_64:
v29 = "edit_areaModeBtn04_001.png";
goto LABEL_69;
case 1uLL:
goto LABEL_69;
case 2uLL:
LABEL_67:
v29 = "edit_areaModeBtn01_001.png";
goto LABEL_69;
case 3uLL:
LABEL_68:
v29 = "edit_areaModeBtn02_001.png";
goto LABEL_69;
case 4uLL:
LABEL_65:
v29 = "edit_areaModeBtn03_001.png";
goto LABEL_69;
case 5uLL:
LABEL_66:
v29 = "edit_areaModeBtn03b_001.png";
LABEL_69:
std::string::assign(__s, v29);
v31 = 0;
goto LABEL_70;
case 6uLL:
goto LABEL_92;
case 7uLL:
LABEL_91:
v30 = "edit_areaModeBtn02_001.png";
LABEL_92:
std::string::assign(__s, v30);
v31 = 1119092736;
LABEL_70:
LODWORD(v72) = v31;
v32 = __s[0].__r_.__value_.__s.__data_;
if ( (*(_BYTE *)&__s[0].__r_.__value_.__s.0 & 1) != 0 )
goto LABEL_71;
goto LABEL_72;
case 8uLL:
goto LABEL_94;
case 9uLL:
LABEL_93:
v28 = "edit_areaModeBtn03_001.png";
LABEL_94:
while ( 2 )
{
std::string::assign(__s, v28);
v31 = 3266576384LL;
LODWORD(v72) = -1028390912;
v32 = __s[0].__r_.__value_.__s.__data_;
if ( (*(_BYTE *)&__s[0].__r_.__value_.__s.0 & 1) != 0 )
LABEL_71:
v32 = __s[0].__r_.__value_.__l.__data_;
LABEL_72:
v33 = cocos2d::CCSprite::createWithSpriteFrameName((__int64)v32, *(double *)&v31);
(*(void (__fastcall **)(char *, float))(*(_QWORD *)v33 + 360LL))(v33, *(float *)&v72);
v34 = 1;
if ( v27 - 2 < 4 || (v35 = 0, v34 = 2, v27 >= 2) )
v35 = v34;
if ( v27 - 1 >= 7 || (v36 = 1, v37 = 85, !_bittest(&v37, (unsigned __int8)(v27 - 1))) )
v36 = v27 == 8;
if ( v27 > 6 || (v38 = 1, v39 = 76, !_bittest(&v39, v27)) )
v38 = v27 == 7;
v40 = "GJ_button_02.png";
if ( (unsigned __int8)(v24 ^ v36) | (unsigned __int8)(v26 ^ v38) )
v40 = "GJ_button_04.png";
if ( v35 != v74 )
v40 = "GJ_button_04.png";
v41 = ButtonSprite::create((int)v33, 32, 0, 1u, (int)v40, 1, 32.0, 1.0, 0.0);
v42 = CCMenuItemSpriteExtra::create((__int64)v41, 0, v76, (__int64)SetupAreaMoveTriggerPopup::onMode, 0);
(*(void (__fastcall **)(_DWORD *, _QWORD))(*(_QWORD *)v42 + 72LL))(v42, v27);
sub_1007FEBF0(PageContainer, v42);
sub_1007FEBF0(*(_QWORD *)(v76 + 1016), v42);
(*(void (__fastcall **)(char *, float))(*(_QWORD *)v33 + 160LL))(v33, 1.8);
LODWORD(v72) = *(_DWORD *)(*(__int64 (__fastcall **)(_DWORD *))(*(_QWORD *)v42 + 328LL))(v42);
v43 = (*(__int64 (__fastcall **)(_DWORD *))(*(_QWORD *)v42 + 328LL))(v42);
sub_100278250((float *)&v78, *(float *)&v72 * 0.5, *(float *)(v43 + 4) * 0.5);
(*(void (__fastcall **)(char *, unsigned __int64 *))(*(_QWORD *)v33 + 184LL))(v33, &v78);
(*(void (__fastcall **)(_DWORD *, float))(*(_QWORD *)v42 + 160LL))(v42, 0.5);
v42[101] = 1056964608;
(*(void (__fastcall **)(_QWORD, _DWORD *))(**(_QWORD **)(v76 + 552) + 456LL))(*(_QWORD *)(v76 + 552), v42);
v44 = -25.0;
v45 = v27 - 5;
if ( v27 < 5 )
{
v44 = 0.0;
v45 = v27;
}
v46 = *(_QWORD *)(v76 + 552);
sub_100278250(
(float *)&v69,
(float)((float)v45 * 25.0)
+ (float)((float)((float)(*(float *)&v75 * 0.5) - (float)(*(float *)(v76 + 732) * 0.5)) + 50.0),
(float)((float)(0.5 * *((float *)&v75 + 1)) + -20.0) + v44);
cocos2d::CCNode::convertToNodeSpace((double *)&v78, v46, (unsigned int *)&v69);
(*(void (__fastcall **)(_DWORD *, unsigned __int64 *))(*(_QWORD *)v42 + 184LL))(v42, &v78);
if ( (*(_BYTE *)&__s[0].__r_.__value_.__s.0 & 1) != 0 )
operator delete(__s[0].__r_.__value_.__l.__data_);
if ( ++v27 != 10 )
{
memset(__s, 0, 24);
v29 = "edit_areaModeBtn05_001.png";
v30 = "edit_areaModeBtn01_001.png";
v28 = "edit_areaModeBtn03b_001.png";
switch ( (unsigned __int64)"edit_areaModeBtn01_001.png" )
{
case 0uLL:
goto LABEL_64;
case 1uLL:
goto LABEL_69;
case 2uLL:
goto LABEL_67;
case 3uLL:
goto LABEL_68;
case 4uLL:
goto LABEL_65;
case 5uLL:
goto LABEL_66;
case 6uLL:
goto LABEL_92;
case 7uLL:
goto LABEL_91;
case 8uLL:
continue;
case 9uLL:
goto LABEL_93;
case 0xAuLL:
goto LABEL_96;
}
}
return;
}
case 0xAuLL:
LABEL_96:
JUMPOUT(0x1008D1DF3LL);
}
}
}
}