//
// SetupObjectOptionsPopup::init from 0x1403fdf30 to 0x1403ff903 (6611 bytes)
//
// 2 xrefs:
// > SetGroupIDLayer::onExtra @ 0x1403fb99a
// > ??> @ 0x1406d8690
//
// 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
//
// Hidden C++ exception states: #wind=4
bool SetupObjectOptionsPopup::init(
SetupObjectOptionsPopup *a1,
GameObject *a2,
cocos2d::CCArray *a3,
SetGroupIDLayer *a4)
{
bool result; // al
__int64 v9; // rcx
cocos2d::CCObject *v10; // rcx
cocos2d::CCDirector *v11; // rax
struct cocos2d::CCRect *v12; // rax
struct cocos2d::extension::CCScale9Sprite *v13; // rdi
cocos2d::extension::CCScale9Sprite_vtbl *v14; // rbx
const cocos2d::CCSize *v15; // rax
float v16; // xmm0_4
cocos2d::extension::CCScale9Sprite_vtbl *v17; // rbx
const cocos2d::CCPoint *v18; // rax
__int64 v19; // rcx
cocos2d::CCMenu *v20; // rax
float v21; // xmm0_4
cocos2d::CCMenu_vtbl *v22; // rbx
const cocos2d::CCPoint *v23; // rax
struct cocos2d::CCLabelBMFont *v24; // rdi
float v25; // xmm0_4
cocos2d::CCLabelBMFont_vtbl *v26; // rbx
const cocos2d::CCPoint *v27; // rax
ButtonSprite *v28; // rbx
CCMenuItemSpriteExtra *v29; // rax
_QWORD *v30; // rax
_QWORD *v31; // rcx
const char *v32; // rdx
__int64 v33; // r8
char *v34; // rdi
float v35; // xmm0_4
__int64 v36; // rbx
struct cocos2d::CCPoint v37; // rax
float v38; // xmm0_4
double v39; // xmm0_8
float *v40; // rax
double v41; // xmm0_8
float *v42; // rax
double v43; // xmm0_8
float *v44; // rax
double v45; // xmm0_8
float *v46; // rax
double v47; // xmm0_8
float *v48; // rax
double v49; // xmm0_8
float *v50; // rax
double v51; // xmm0_8
float *v52; // rax
double v53; // xmm0_8
float *v54; // rax
double v55; // xmm0_8
double v56; // xmm0_8
float *v57; // rax
double v58; // xmm0_8
float *v59; // rax
double v60; // xmm0_8
float *v61; // rax
double v62; // xmm0_8
float *v63; // rax
double v64; // xmm0_8
float *v65; // rax
double v66; // xmm0_8
float *v67; // rax
double v68; // xmm0_8
float *v69; // rax
double v70; // xmm0_8
float *v71; // rax
double v72; // xmm0_8
float *v73; // rax
double v74; // xmm0_8
float *v75; // rax
double v76; // xmm0_8
float *v77; // rax
double v78; // xmm0_8
float *v79; // rax
double v80; // xmm0_8
float *v81; // rax
double v82; // xmm0_8
float *v83; // rax
double v84; // xmm0_8
double v85; // xmm0_8
float *v86; // rax
GameObject *m_gameObject; // rcx
double v88; // xmm0_8
float *v89; // rax
ButtonSprite *v90; // [rsp+88h] [rbp-80h] BYREF
__int128 v91; // [rsp+90h] [rbp-78h] BYREF
__int64 v92; // [rsp+A0h] [rbp-68h]
__int64 v93; // [rsp+A8h] [rbp-60h]
float v94; // [rsp+B0h] [rbp-58h] BYREF
__int128 *v95; // [rsp+B8h] [rbp-50h] BYREF
float v96; // [rsp+C8h] [rbp-40h]
cocos2d::CCRect v97; // [rsp+D0h] [rbp-38h] BYREF
__int64 v98; // [rsp+E0h] [rbp-28h]
__int64 v99; // [rsp+E8h] [rbp-20h]
result = FLAlertLayer::init_1(a1, 150);
if ( !result )
return result;
if ( a2 )
{
a1->m_gameObject = a2;
v10 = a2;
LABEL_6:
cocos2d::CCObject::retain(v10);
goto LABEL_7;
}
if ( a3 )
{
a1->m_gameObjects = a3;
v10 = a3;
goto LABEL_6;
}
LABEL_7:
a1->m_groupIDLayer = a4;
a1->m_noElasticity = 1;
v11 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v9);
cocos2d::CCDirector::getWinSize(v11);
cocos2d::CCRect::CCRect(&v97, 0.0, 0.0, 80.0, 80.0);
v13 = cocos2d::extension::CCScale9Sprite::create("GJ_square02.png", v12);
v14 = v13->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v90, 390.0, 310.0);
v14->setContentSize(v13, v15);
v16 = ((float (__fastcall *)(cocos2d::CCLayer *, struct cocos2d::extension::CCScale9Sprite *, __int64))a1->m_mainLayer->addChild_0)(
a1->m_mainLayer,
v13,
4294967294LL);
v17 = v13->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
cocos2d::CCPoint::CCPoint(v16, v96 * 0.5);
v17->setPosition_0(v13, v18);
v20 = (cocos2d::CCMenu *)cocos2d::CCMenu::create(v19);
a1->m_buttonMenu = v20;
v21 = ((float (__fastcall *)(cocos2d::CCLayer *, cocos2d::CCMenu *, __int64))a1->m_mainLayer->addChild_0)(
a1->m_mainLayer,
v20,
10);
v22 = a1->m_buttonMenu->FLAlertLayer::__vftable;
cocos2d::CCPoint::CCPoint(v21, v96 * 0.5);
v22->setPosition_0(a1->m_buttonMenu, v23);
a1->determineStartValues(a1);
v24 = cocos2d::CCLabelBMFont::create("Object Options", "goldFont.fnt");
a1->addChild_1(a1, v24);
v25 = ((float (__fastcall *)(struct cocos2d::CCLabelBMFont *))v24->setScale_0)(v24);
v26 = v24->cocos2d::CCSpriteBatchNode::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
cocos2d::CCPoint::CCPoint(v25, v96 * 0.5);
v26->setPosition_0(v24, v27);
v90 = (ButtonSprite *)operator new(0x2C0u);
v28 = ButtonSprite::ButtonSprite(v90);
if ( v28 )
{
if ( ButtonSprite::init_1(v28, "OK", 40, 0, 0.80000001, 1, "goldFont.fnt", "GJ_button_01.png", 30.0) )
{
cocos2d::CCObject::autorelease(v28);
}
else
{
((void (__fastcall *)(ButtonSprite *, __int64))v28->~ButtonSprite)(v28, 1);
v28 = nullptr;
}
}
((void (__fastcall *)(ButtonSprite *))v28->setScale_0)(v28);
v29 = CCMenuItemSpriteExtra::create(v28, nullptr, a1, (cocos2d::SEL_MenuHandler *)sub_140257638);
a1->m_buttonMenu->addChild_1(a1->m_buttonMenu, v29);
v90 = (ButtonSprite *)&v91;
v91 = 0;
v92 = 0;
v93 = 15;
v30 = sub_14003AA10(0x1B0u);
*(_QWORD *)&v91 = v30;
v92 = 430;
v93 = 431;
v31 = v30;
v32 = "NoTouch disables player collision for solid objects.\n"
"No Effects disables effects for portals.\n"
"Passable lets you jump through solid blocks.\n"
"Hide makes the opacity 0.\n"
"Dont BoostY and BoostX let you disable player being bounced from interaction with moving objects on each"
" axis.\n"
"IceBlock, GripSlope, NonStickX, NonStickY, ExtraSticky, and ScaleStick are meant for Platformer game type.";
v33 = 3;
do
{
*(_OWORD *)v31 = *(_OWORD *)v32;
*((_OWORD *)v31 + 1) = *((_OWORD *)v32 + 1);
*((_OWORD *)v31 + 2) = *((_OWORD *)v32 + 2);
*((_OWORD *)v31 + 3) = *((_OWORD *)v32 + 3);
*((_OWORD *)v31 + 4) = *((_OWORD *)v32 + 4);
*((_OWORD *)v31 + 5) = *((_OWORD *)v32 + 5);
*((_OWORD *)v31 + 6) = *((_OWORD *)v32 + 6);
v31 += 16;
*((_OWORD *)v31 - 1) = *((_OWORD *)v32 + 7);
v32 += 128;
--v33;
}
while ( v33 );
*(_OWORD *)v31 = *(_OWORD *)v32;
*((_OWORD *)v31 + 1) = *((_OWORD *)v32 + 1);
v31[4] = *((_QWORD *)v32 + 4);
*((_DWORD *)v31 + 10) = *((_DWORD *)v32 + 10);
*((_WORD *)v31 + 22) = *((_WORD *)v32 + 22);
*((_BYTE *)v30 + 430) = 0;
v97 = 0;
v98 = 4;
v99 = 15;
strcpy((char *)&v97, "Help");
v34 = InfoAlertButton::create((__int64)&v97, (__int64)&v91);
(*(void (__fastcall **)(char *))(*(_QWORD *)v34 + 160LL))(v34);
v35 = ((float (__fastcall *)(cocos2d::CCMenu *, char *))a1->m_buttonMenu->addChild_1)(a1->m_buttonMenu, v34);
v36 = *(_QWORD *)v34;
cocos2d::CCPoint::CCPoint(v35, (float)((float)(v96 * 0.5) - 195.0) + 16.0);
v37 = cocos2d::CCNode::convertToNodeSpace(a1->m_buttonMenu, (const struct cocos2d::CCPoint *)&v95);
v38 = (*(float (__fastcall **)(char *, struct cocos2d::CCPoint))(v36 + 184))(v34, v37);
cocos2d::CCPoint::CCPoint(v38, (float)((float)(v96 * 0.5) - 60.0) - 90.0);
v95 = &v91;
*((_QWORD *)&v91 + 1) = 101;
v92 = 9;
v93 = 15;
*(_QWORD *)&v91 = 0x6461460A746E6F44LL;
cocos2d::CCPoint::CCPoint(7.5562951e31, 0.0);
v39 = cocos2d::CCPoint::operator+(&v94, &v90);
cocos2d::CCPoint::CCPoint(*(float *)&v39, 8.0);
GameToolbox::createToggleButton(
(const char *)&v91,
(cocos2d::SEL_MenuHandler *)SetupObjectOptionsPopup::onDontFade,
a1->m_dontFade,
a1->m_buttonMenu,
(struct cocos2d::CCPoint)&v90,
a1,
a1->m_mainLayer,
0.69999999,
0.34999999,
110.0,
v40,
(const char *)&qword_14052A4D8,
0,
0,
nullptr);
v97.origin = (cocos2d::CCPoint)&v91;
*((_QWORD *)&v91 + 1) = 29285;
v92 = 10;
v93 = 15;
*(_QWORD *)&v91 = 0x746E450A746E6F44LL;
cocos2d::CCPoint::CCPoint(7.5562951e31, 0.0);
v41 = cocos2d::CCPoint::operator+(&v94, &v90);
cocos2d::CCPoint::CCPoint(*(float *)&v41, 8.0);
GameToolbox::createToggleButton(
(const char *)&v91,
(cocos2d::SEL_MenuHandler *)SetupObjectOptionsPopup::onDontEnter,
a1->m_dontEnter,
a1->m_buttonMenu,
(struct cocos2d::CCPoint)&v90,
a1,
a1->m_mainLayer,
0.69999999,
0.34999999,
110.0,
v42,
(const char *)&qword_14052A4D8,
0,
0,
nullptr);
v97.origin = (cocos2d::CCPoint)&v91;
*((_QWORD *)&v91 + 1) = 29556;
v92 = 10;
v93 = 15;
*(_QWORD *)&v91 = 0x63656666450A6F4ELL;
cocos2d::CCPoint::CCPoint(2214.9565, 0.0);
v43 = cocos2d::CCPoint::operator+(&v94, &v90);
cocos2d::CCPoint::CCPoint(*(float *)&v43, 8.0);
GameToolbox::createToggleButton(
(const char *)&v91,
(cocos2d::SEL_MenuHandler *)SetupObjectOptionsPopup::onHideEffects,
a1->m_noEffects,
a1->m_buttonMenu,
(struct cocos2d::CCPoint)&v90,
a1,
a1->m_mainLayer,
0.69999999,
0.34999999,
110.0,
v44,
(const char *)&qword_14052A4D8,
0,
0,
nullptr);
v97.origin = (cocos2d::CCPoint)&v91;
v92 = 12;
v93 = 15;
strcpy((char *)&v91, "Group\nParent");
BYTE13(v91) = 0;
HIWORD(v91) = 0;
cocos2d::CCPoint::CCPoint(3.0353437e32, 0.0);
v45 = cocos2d::CCPoint::operator+(&v94, &v90);
cocos2d::CCPoint::CCPoint(*(float *)&v45, 8.0);
GameToolbox::createToggleButton(
(const char *)&v91,
(cocos2d::SEL_MenuHandler *)SetupObjectOptionsPopup::onToggleGroupParent,
a1->m_groupParent,
a1->m_buttonMenu,
(struct cocos2d::CCPoint)&v90,
a1,
a1->m_mainLayer,
0.69999999,
0.34999999,
110.0,
v46,
(const char *)&qword_14052A4D8,
0,
0,
nullptr);
v97.origin = (cocos2d::CCPoint)&v91;
v92 = 11;
v93 = 15;
*(_QWORD *)&v91 = 0x7261500A61657241LL;
*((_QWORD *)&v91 + 1) = 7630437;
cocos2d::CCPoint::CCPoint(2.6453358e20, 0.0);
v47 = cocos2d::CCPoint::operator+(&v94, &v90);
cocos2d::CCPoint::CCPoint(*(float *)&v47, 8.0);
GameToolbox::createToggleButton(
(const char *)&v91,
(cocos2d::SEL_MenuHandler *)SetupObjectOptionsPopup::onToggleAreaParent,
a1->m_areaParent,
a1->m_buttonMenu,
(struct cocos2d::CCPoint)&v90,
a1,
a1->m_mainLayer,
0.69999999,
0.34999999,
110.0,
v48,
(const char *)&qword_14052A4D8,
0,
0,
nullptr);
v97.origin = (cocos2d::CCPoint)&v91;
v92 = 11;
v93 = 15;
*(_QWORD *)&v91 = 0x6F6F420A746E6F44LL;
*((_QWORD *)&v91 + 1) = 5862515;
cocos2d::CCPoint::CCPoint(7.5562951e31, 0.0);
v49 = cocos2d::CCPoint::operator+(&v94, &v90);
cocos2d::CCPoint::CCPoint(*(float *)&v49, 8.0);
GameToolbox::createToggleButton(
(const char *)&v91,
(cocos2d::SEL_MenuHandler *)SetupObjectOptionsPopup::onDontBoost,
a1->m_dontBoostY,
a1->m_buttonMenu,
(struct cocos2d::CCPoint)&v90,
a1,
a1->m_mainLayer,
0.69999999,
0.34999999,
110.0,
v50,
(const char *)&qword_14052A4D8,
0,
0,
nullptr);
v97.origin = (cocos2d::CCPoint)&v91;
v92 = 11;
v93 = 15;
*(_QWORD *)&v91 = 0x6F6F420A746E6F44LL;
*((_QWORD *)&v91 + 1) = 5796979;
cocos2d::CCPoint::CCPoint(7.5562951e31, 0.0);
v51 = cocos2d::CCPoint::operator+(&v94, &v90);
cocos2d::CCPoint::CCPoint(*(float *)&v51, 8.0);
GameToolbox::createToggleButton(
(const char *)&v91,
(cocos2d::SEL_MenuHandler *)SetupObjectOptionsPopup::onDontBoostX,
a1->m_dontBoostX,
a1->m_buttonMenu,
(struct cocos2d::CCPoint)&v90,
a1,
a1->m_mainLayer,
0.69999999,
0.34999999,
110.0,
v52,
(const char *)&qword_14052A4D8,
0,
0,
nullptr);
if ( a1->m_effectObject )
{
v97.origin = (cocos2d::CCPoint)&v91;
v92 = 13;
v93 = 15;
strcpy((char *)&v91, "Single\nPTouch");
HIWORD(v91) = 0;
cocos2d::CCPoint::CCPoint(1.1258661e24, 0.0);
v53 = cocos2d::CCPoint::operator+(&v94, &v90);
cocos2d::CCPoint::CCPoint(*(float *)&v53, 8.0);
GameToolbox::createToggleButton(
(const char *)&v91,
(cocos2d::SEL_MenuHandler *)SetupObjectOptionsPopup::onSinglePlayerTouch,
a1->m_singlePlayerTouch,
a1->m_buttonMenu,
(struct cocos2d::CCPoint)&v90,
a1,
a1->m_mainLayer,
0.69999999,
0.34999999,
110.0,
v54,
(const char *)&qword_14052A4D8,
0,
0,
nullptr);
}
v94 = v94 + 120.0;
v97.origin = (cocos2d::CCPoint)&v91;
v92 = 11;
v93 = 15;
*(_QWORD *)&v91 = 0x7465440A68676948LL;
*((_QWORD *)&v91 + 1) = 7104865;
cocos2d::CCPoint::CCPoint(4.371235e24, 0.0);
v55 = cocos2d::CCPoint::operator+(&v94, &v90);
v56 = cocos2d::CCPoint::CCPoint(*(float *)&v55, 8.0);
GameToolbox::createToggleButton(
(const char *)&v91,
(cocos2d::SEL_MenuHandler *)SetupObjectOptionsPopup::onHighDetail,
a1->m_highDetail,
a1->m_buttonMenu,
(struct cocos2d::CCPoint)&v90,
a1,
a1->m_mainLayer,
0.69999999,
0.34999999,
110.0,
v57,
(const char *)&qword_14052A4D8,
0,
0,
nullptr);
v97.origin = (cocos2d::CCPoint)&v91;
v92 = 7;
v93 = 15;
v91 = 0x6863756F546F4EuLL;
cocos2d::CCPoint::CCPoint(*(float *)&v56, 0.0);
v58 = cocos2d::CCPoint::operator+(&v94, &v90);
cocos2d::CCPoint::CCPoint(*(float *)&v58, 8.0);
GameToolbox::createToggleButton(
(const char *)&v91,
(cocos2d::SEL_MenuHandler *)SetupObjectOptionsPopup::onDisableObject,
a1->m_noTouch,
a1->m_buttonMenu,
(struct cocos2d::CCPoint)&v90,
a1,
a1->m_mainLayer,
0.69999999,
0.34999999,
110.0,
v59,
(const char *)&qword_14052A4D8,
0,
0,
nullptr);
v97.origin = (cocos2d::CCPoint)&v91;
v92 = 8;
v93 = 15;
v91 = 0x656C626173736150uLL;
cocos2d::CCPoint::CCPoint(0.0, 0.0);
v60 = cocos2d::CCPoint::operator+(&v94, &v90);
cocos2d::CCPoint::CCPoint(*(float *)&v60, 8.0);
GameToolbox::createToggleButton(
(const char *)&v91,
(cocos2d::SEL_MenuHandler *)SetupObjectOptionsPopup::onPassable,
a1->m_passable,
a1->m_buttonMenu,
(struct cocos2d::CCPoint)&v90,
a1,
a1->m_mainLayer,
0.69999999,
0.34999999,
110.0,
v61,
(const char *)&qword_14052A4D8,
0,
0,
nullptr);
v97.origin = (cocos2d::CCPoint)&v91;
v91 = 0;
v92 = 4;
v93 = 15;
strcpy((char *)&v91, "Hide");
cocos2d::CCPoint::CCPoint(0.0, 0.0);
v62 = cocos2d::CCPoint::operator+(&v94, &v90);
cocos2d::CCPoint::CCPoint(*(float *)&v62, 8.0);
GameToolbox::createToggleButton(
(const char *)&v91,
(cocos2d::SEL_MenuHandler *)SetupObjectOptionsPopup::onAlwaysHide,
a1->m_hide,
a1->m_buttonMenu,
(struct cocos2d::CCPoint)&v90,
a1,
a1->m_mainLayer,
0.69999999,
0.34999999,
110.0,
v63,
(const char *)&qword_14052A4D8,
0,
0,
nullptr);
v97.origin = (cocos2d::CCPoint)&v91;
*((_QWORD *)&v91 + 1) = 88;
v92 = 9;
v93 = 15;
*(_QWORD *)&v91 = 0x6B636974536E6F4ELL;
cocos2d::CCPoint::CCPoint(1.0240696e12, 0.0);
v64 = cocos2d::CCPoint::operator+(&v94, &v90);
cocos2d::CCPoint::CCPoint(*(float *)&v64, 8.0);
GameToolbox::createToggleButton(
(const char *)&v91,
(cocos2d::SEL_MenuHandler *)SetupObjectOptionsPopup::onNonStickX,
a1->m_nonStickX,
a1->m_buttonMenu,
(struct cocos2d::CCPoint)&v90,
a1,
a1->m_mainLayer,
0.69999999,
0.34999999,
110.0,
v65,
(const char *)&qword_14052A4D8,
0,
0,
nullptr);
v97.origin = (cocos2d::CCPoint)&v91;
v92 = 11;
v93 = 15;
*(_QWORD *)&v91 = 0x6974536172747845LL;
*((_QWORD *)&v91 + 1) = 7957347;
cocos2d::CCPoint::CCPoint(4.8422233e30, 0.0);
v66 = cocos2d::CCPoint::operator+(&v94, &v90);
cocos2d::CCPoint::CCPoint(*(float *)&v66, 8.0);
GameToolbox::createToggleButton(
(const char *)&v91,
(cocos2d::SEL_MenuHandler *)SetupObjectOptionsPopup::onExtraSticky,
a1->m_extraSticky,
a1->m_buttonMenu,
(struct cocos2d::CCPoint)&v90,
a1,
a1->m_mainLayer,
0.69999999,
0.34999999,
110.0,
v67,
(const char *)&qword_14052A4D8,
0,
0,
nullptr);
v97.origin = (cocos2d::CCPoint)&v91;
v91 = 0;
v92 = 0;
v93 = 15;
*(_QWORD *)&v91 = sub_14003AA10(0x20u);
v92 = 18;
v93 = 31;
strcpy((char *)v91, "Extended\nCollision");
cocos2d::CCPoint::CCPoint(7.215475e22, 0.0);
v68 = cocos2d::CCPoint::operator+(&v94, &v90);
cocos2d::CCPoint::CCPoint(*(float *)&v68, 8.0);
GameToolbox::createToggleButton(
(const char *)&v91,
(cocos2d::SEL_MenuHandler *)SetupObjectOptionsPopup::onExtendedCollision,
a1->m_extendedCollision,
a1->m_buttonMenu,
(struct cocos2d::CCPoint)&v90,
a1,
a1->m_mainLayer,
0.69999999,
0.34999999,
110.0,
v69,
(const char *)&qword_14052A4D8,
0,
0,
nullptr);
if ( a1->m_effectObject )
{
v97.origin = (cocos2d::CCPoint)&v91;
v92 = 13;
v93 = 15;
strcpy((char *)&v91, "Center\nEffect");
HIWORD(v91) = 0;
cocos2d::CCPoint::CCPoint(7.5550567e31, 0.0);
v70 = cocos2d::CCPoint::operator+(&v94, &v90);
cocos2d::CCPoint::CCPoint(*(float *)&v70, 8.0);
GameToolbox::createToggleButton(
(const char *)&v91,
(cocos2d::SEL_MenuHandler *)SetupObjectOptionsPopup::onCenterEffect,
a1->m_centerEffect,
a1->m_buttonMenu,
(struct cocos2d::CCPoint)&v90,
a1,
a1->m_mainLayer,
0.69999999,
0.34999999,
110.0,
v71,
(const char *)&qword_14052A4D8,
0,
0,
nullptr);
}
v94 = v94 + 120.0;
v97.origin = (cocos2d::CCPoint)&v91;
v92 = 8;
v93 = 15;
v91 = 0x6B636F6C42656349uLL;
cocos2d::CCPoint::CCPoint(0.0, 0.0);
v72 = cocos2d::CCPoint::operator+(&v94, &v90);
cocos2d::CCPoint::CCPoint(*(float *)&v72, 8.0);
GameToolbox::createToggleButton(
(const char *)&v91,
(cocos2d::SEL_MenuHandler *)SetupObjectOptionsPopup::onIceBlock,
a1->m_iceBlock,
a1->m_buttonMenu,
(struct cocos2d::CCPoint)&v90,
a1,
a1->m_mainLayer,
0.69999999,
0.34999999,
110.0,
v73,
(const char *)&qword_14052A4D8,
0,
0,
nullptr);
v97.origin = (cocos2d::CCPoint)&v91;
*((_QWORD *)&v91 + 1) = 101;
v92 = 9;
v93 = 15;
*(_QWORD *)&v91 = 0x706F6C5370697247LL;
cocos2d::CCPoint::CCPoint(2.8899264e29, 0.0);
v74 = cocos2d::CCPoint::operator+(&v94, &v90);
cocos2d::CCPoint::CCPoint(*(float *)&v74, 8.0);
GameToolbox::createToggleButton(
(const char *)&v91,
(cocos2d::SEL_MenuHandler *)SetupObjectOptionsPopup::onGripSlope,
a1->m_gripSlope,
a1->m_buttonMenu,
(struct cocos2d::CCPoint)&v90,
a1,
a1->m_mainLayer,
0.69999999,
0.34999999,
110.0,
v75,
(const char *)&qword_14052A4D8,
0,
0,
nullptr);
v97.origin = (cocos2d::CCPoint)&v91;
v91 = 0;
v92 = 6;
v93 = 15;
strcpy((char *)&v91, "NoGlow");
cocos2d::CCPoint::CCPoint(0.0, 0.0);
v76 = cocos2d::CCPoint::operator+(&v94, &v90);
cocos2d::CCPoint::CCPoint(*(float *)&v76, 8.0);
GameToolbox::createToggleButton(
(const char *)&v91,
(cocos2d::SEL_MenuHandler *)SetupObjectOptionsPopup::onDisableGlow,
a1->m_noGlow,
a1->m_buttonMenu,
(struct cocos2d::CCPoint)&v90,
a1,
a1->m_mainLayer,
0.69999999,
0.34999999,
110.0,
v77,
(const char *)&qword_14052A4D8,
0,
0,
nullptr);
v97.origin = (cocos2d::CCPoint)&v91;
*((_QWORD *)&v91 + 1) = 25964;
v92 = 10;
v93 = 15;
*(_QWORD *)&v91 = 0x6369747261506F4ELL;
cocos2d::CCPoint::CCPoint(2.4030894e20, 0.0);
v78 = cocos2d::CCPoint::operator+(&v94, &v90);
cocos2d::CCPoint::CCPoint(*(float *)&v78, 8.0);
GameToolbox::createToggleButton(
(const char *)&v91,
(cocos2d::SEL_MenuHandler *)SetupObjectOptionsPopup::onNoParticle,
a1->m_noParticle,
a1->m_buttonMenu,
(struct cocos2d::CCPoint)&v90,
a1,
a1->m_mainLayer,
0.69999999,
0.34999999,
110.0,
v79,
(const char *)&qword_14052A4D8,
0,
0,
nullptr);
v97.origin = (cocos2d::CCPoint)&v91;
*((_QWORD *)&v91 + 1) = 89;
v92 = 9;
v93 = 15;
*(_QWORD *)&v91 = 0x6B636974536E6F4ELL;
cocos2d::CCPoint::CCPoint(1.0240696e12, 0.0);
v80 = cocos2d::CCPoint::operator+(&v94, &v90);
cocos2d::CCPoint::CCPoint(*(float *)&v80, 8.0);
GameToolbox::createToggleButton(
(const char *)&v91,
(cocos2d::SEL_MenuHandler *)SetupObjectOptionsPopup::onNonStickY,
a1->m_nonStickY,
a1->m_buttonMenu,
(struct cocos2d::CCPoint)&v90,
a1,
a1->m_mainLayer,
0.69999999,
0.34999999,
110.0,
v81,
(const char *)&qword_14052A4D8,
0,
0,
nullptr);
v97.origin = (cocos2d::CCPoint)&v91;
*((_QWORD *)&v91 + 1) = 27491;
v92 = 10;
v93 = 15;
*(_QWORD *)&v91 = 0x697453656C616353LL;
cocos2d::CCPoint::CCPoint(1.0899094e27, 0.0);
v82 = cocos2d::CCPoint::operator+(&v94, &v90);
cocos2d::CCPoint::CCPoint(*(float *)&v82, 8.0);
GameToolbox::createToggleButton(
(const char *)&v91,
(cocos2d::SEL_MenuHandler *)SetupObjectOptionsPopup::onApplyScaleStick,
a1->m_scaleStick,
a1->m_buttonMenu,
(struct cocos2d::CCPoint)&v90,
a1,
a1->m_mainLayer,
0.69999999,
0.34999999,
110.0,
v83,
(const char *)&qword_14052A4D8,
0,
0,
nullptr);
v97.origin = (cocos2d::CCPoint)&v91;
v92 = 14;
v93 = 15;
strcpy((char *)&v91, "No Audio\nScale");
HIBYTE(v91) = 0;
cocos2d::CCPoint::CCPoint(10.027174, 0.0);
v84 = cocos2d::CCPoint::operator+(&v94, &v90);
v85 = cocos2d::CCPoint::CCPoint(*(float *)&v84, 8.0);
GameToolbox::createToggleButton(
(const char *)&v91,
(cocos2d::SEL_MenuHandler *)SetupObjectOptionsPopup::onNoAudioScale,
a1->m_noAudioScale,
a1->m_buttonMenu,
(struct cocos2d::CCPoint)&v90,
a1,
a1->m_mainLayer,
0.69999999,
0.34999999,
110.0,
v86,
(const char *)&qword_14052A4D8,
0,
0,
nullptr);
m_gameObject = a1->m_gameObject;
if ( m_gameObject && m_gameObject->m_classType == Effect && m_gameObject->canReverse(m_gameObject) )
{
v97.origin = (cocos2d::CCPoint)&v91;
v92 = 7;
v93 = 15;
v91 = 0x65737265766552uLL;
cocos2d::CCPoint::CCPoint(*(float *)&v85, 0.0);
v88 = cocos2d::CCPoint::operator+(&v94, &v90);
cocos2d::CCPoint::CCPoint(*(float *)&v88, 8.0);
GameToolbox::createToggleButton(
(const char *)&v91,
(cocos2d::SEL_MenuHandler *)SetupObjectOptionsPopup::onReverse,
a1->m_reverse,
a1->m_buttonMenu,
(struct cocos2d::CCPoint)&v90,
a1,
a1->m_mainLayer,
0.69999999,
0.34999999,
110.0,
v89,
(const char *)&qword_14052A4D8,
0,
0,
nullptr);
}
return 1;
}