//
// UIOptionsLayer::init from 0x5dc518 to 0x5dd670 (4440 bytes)
//
// 1 xrefs:
// > UIOptionsLayer::create @ 0x5dd738
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:54:13 +0000
//
int __fastcall UIOptionsLayer::init(UIOptionsLayer *this, bool a2)
{
void (__fastcall *v4)(UIOptionsLayer *, _DWORD *); // r3
cocos2d::CCDirector *v5; // r0
cocos2d::CCMenu *WinSize; // r0
int v7; // r0
ButtonSprite *v8; // r0
int v9; // r6
const cocos2d::CCPoint *v10; // r9
void (__fastcall *v11)(int, _DWORD *); // r7
ButtonSprite *v12; // r0
int v13; // r11
int v14; // r9
const char *v15; // r1
int v16; // r8
int v17; // r11
GameManager *v18; // r0
const char *v19; // r2
int v20; // r0
UIButtonConfig *v21; // r1
int *v22; // r0
int v23; // r3
void (*v24)(void); // r3
int v25; // r0
int v26; // r11
int (__fastcall *v27)(int, _BYTE *); // r10
GameManager *v28; // r0
int v29; // r0
UIButtonConfig *v30; // r1
int *v31; // r0
int v32; // r3
GameManager *v33; // r0
int v34; // r0
UIButtonConfig *v35; // r1
int *v36; // r0
int v37; // r3
int v38; // r0
float v39; // s17
void (__fastcall *v40)(int, _BYTE *); // r9
float *v41; // r0
int v42; // r8
float v43; // s15
int v44; // r0
GameManager *v45; // r0
int v46; // r0
UIButtonConfig *v47; // r1
int *v48; // r0
int v49; // r3
GameManager *v50; // r0
int v51; // r0
UIButtonConfig *v52; // r1
int *v53; // r0
int v54; // r3
int v55; // r0
float v56; // s17
void (__fastcall *v57)(int, _BYTE *); // r9
float *v58; // r0
int v59; // r8
float v60; // s15
int v61; // r0
int v62; // r3
float v64; // [sp+10h] [bp-84h]
float v65; // [sp+10h] [bp-84h]
int v66; // [sp+38h] [bp-5Ch]
void (__fastcall *v67)(int, _DWORD *); // [sp+3Ch] [bp-58h]
void (__fastcall *v68)(int, _BYTE *); // [sp+3Ch] [bp-58h]
cocos2d::CCPoint *v69; // [sp+44h] [bp-50h]
float v70; // [sp+48h] [bp-4Ch] BYREF
float v71; // [sp+4Ch] [bp-48h]
float v72; // [sp+50h] [bp-44h] BYREF
float v73; // [sp+54h] [bp-40h]
_BYTE v74[8]; // [sp+58h] [bp-3Ch] BYREF
_BYTE v75[8]; // [sp+60h] [bp-34h] BYREF
int v76; // [sp+68h] [bp-2Ch]
int v77; // [sp+6Ch] [bp-28h]
_DWORD v78[2]; // [sp+70h] [bp-24h] BYREF
_DWORD v79[2]; // [sp+78h] [bp-1Ch] BYREF
int v80; // [sp+80h] [bp-14h] BYREF
int v81; // [sp+84h] [bp-10h]
int v82; // [sp+88h] [bp-Ch]
v66 = SetupTriggerPopup::init(this, nullptr, nullptr, 400.0, 280.0, 1, 0.0);
if ( v66 )
{
*((_BYTE *)this + 712) = a2;
SetupTriggerPopup::preSetup(this);
v4 = *(void (__fastcall **)(UIOptionsLayer *, _DWORD *))(*(_DWORD *)this + 608);
LOWORD(v79[0]) = 17459;
BYTE2(v79[0]) = -103;
v4(this, v79);
v5 = (cocos2d::CCDirector *)(*(int (__fastcall **)(UIOptionsLayer *, int))(*(_DWORD *)this + 584))(this, 255);
*((_BYTE *)this + 468) = 1;
cocos2d::CCDirector::sharedDirector(v5);
WinSize = (cocos2d::CCMenu *)cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)&v70);
v7 = cocos2d::CCMenu::create(WinSize);
*((_DWORD *)this + 111) = v7;
(*(void (__fastcall **)(_DWORD, int, int))(**((_DWORD **)this + 115) + 232))(*((_DWORD *)this + 115), v7, 10);
v8 = ButtonSprite::create(
(ButtonSprite *)"OK",
(const char *)&word_28,
0,
0.8,
1,
"goldFont.fnt",
"GJ_button_01.png",
COERCE_CONST_CHAR_(30.0),
v64);
v76 = 684;
v77 = 1;
v9 = CCMenuItemSpriteExtra::create((int)v8, 0, (int)this, 684, 1);
(*(void (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 111) + 228))(*((_DWORD *)this + 111), v9);
v10 = *((const cocos2d::CCPoint **)this + 111);
v11 = *(void (__fastcall **)(int, _DWORD *))(*(_DWORD *)v9 + 92);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v78, (float)(v70 * 0.5) - 40.0, v71 - 30.0);
cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)v79, v10);
v11(v9, v79);
v12 = ButtonSprite::create(
(ButtonSprite *)"Reset",
(const char *)&word_28,
0,
0.8,
1,
"goldFont.fnt",
"GJ_button_05.png",
COERCE_CONST_CHAR_(30.0),
v65);
v78[0] = UIOptionsLayer::onReset;
v78[1] = 0;
v13 = CCMenuItemSpriteExtra::create((int)v12, 0, (int)this, (int)UIOptionsLayer::onReset, 0);
(*(void (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 111) + 228))(*((_DWORD *)this + 111), v13);
v67 = *(void (__fastcall **)(int, _DWORD *))(*(_DWORD *)v13 + 92);
v14 = (*(int (__fastcall **)(int))(*(_DWORD *)v9 + 96))(v9);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v75, 80.0, 0.0);
cocos2d::CCPoint::operator+(v79, v14, v75);
v67(v13, v79);
v16 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_optionsBtn_001.png", v15);
(*(void (__fastcall **)(int, int))(*(_DWORD *)v16 + 80))(v16, 1058642330);
v79[0] = UIOptionsLayer::onSaveLoad;
v79[1] = 0;
v17 = CCMenuItemSpriteExtra::create(v16, 0, (int)this, (int)UIOptionsLayer::onSaveLoad, 0);
(*(void (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 111) + 228))(*((_DWORD *)this + 111), v17);
v68 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v17 + 92);
v69 = *((cocos2d::CCPoint **)this + 111);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v72, 0.0, 0.0);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v74, v72 + 30.0, v71 - 30.0);
cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)v75, v69);
v68(v17, v75);
SetupTriggerPopup::toggleBG(this, 0);
v18 = (GameManager *)cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v72, v70 * 0.5, v71 - 70.0);
if ( *((_BYTE *)this + 712) )
{
v25 = cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)"P1 Move", "goldFont.fnt", v19);
*((_DWORD *)this + 183) = v25;
(*(void (__fastcall **)(int, int))(*(_DWORD *)v25 + 80))(v25, 1058642330);
(*(void (__fastcall **)(UIOptionsLayer *, _DWORD))(*(_DWORD *)this + 228))(this, *((_DWORD *)this + 183));
v26 = *((_DWORD *)this + 183);
v27 = *(int (__fastcall **)(int, _BYTE *))(*(_DWORD *)v26 + 92);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v74, 0.0, 5.0);
cocos2d::CCPoint::operator+(v75, &v72, v74);
v28 = (GameManager *)v27(v26, v75);
v73 = v73 - 25.0;
v29 = GameManager::sharedState(v28);
v31 = GJUINode::create((GJUINode *)(v29 + 1048), v30);
v32 = *(_DWORD *)this;
*((_DWORD *)this + 179) = v31;
(*(void (__fastcall **)(UIOptionsLayer *, int *, int))(v32 + 232))(this, v31, 100);
*(_BYTE *)(*((_DWORD *)this + 179) + 316) = 1;
v33 = (GameManager *)(*(int (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 179) + 36))(
*((_DWORD *)this + 179),
1);
v34 = GameManager::sharedState(v33);
v36 = GJUINode::create((GJUINode *)(v34 + 1088), v35);
v37 = *(_DWORD *)this;
*((_DWORD *)this + 180) = v36;
(*(void (__fastcall **)(UIOptionsLayer *, int *, int))(v37 + 232))(this, v36, 100);
v38 = *((_DWORD *)this + 180);
v39 = v70;
v40 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v38 + 92);
v41 = (float *)(*(int (__fastcall **)(int))(*(_DWORD *)v38 + 96))(v38);
v42 = *((_DWORD *)this + 180);
v43 = *v41;
v44 = (*(int (__fastcall **)(int))(*(_DWORD *)v42 + 96))(v42);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v75, v39 - v43, *(float *)(v44 + 4));
v40(v42, v75);
*(_BYTE *)(*((_DWORD *)this + 180) + 316) = 1;
v45 = (GameManager *)(*(int (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 180) + 36))(
*((_DWORD *)this + 180),
2);
v46 = GameManager::sharedState(v45);
v48 = GJUINode::create((GJUINode *)(v46 + 1128), v47);
v49 = *(_DWORD *)this;
*((_DWORD *)this + 181) = v48;
(*(void (__fastcall **)(UIOptionsLayer *, int *, int))(v49 + 232))(this, v48, 100);
*(_BYTE *)(*((_DWORD *)this + 181) + 316) = 1;
v50 = (GameManager *)(*(int (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 181) + 36))(
*((_DWORD *)this + 181),
3);
v51 = GameManager::sharedState(v50);
v53 = GJUINode::create((GJUINode *)(v51 + 1168), v52);
v54 = *(_DWORD *)this;
*((_DWORD *)this + 182) = v53;
(*(void (__fastcall **)(UIOptionsLayer *, int *, int))(v54 + 232))(this, v53, 100);
v55 = *((_DWORD *)this + 182);
v56 = v70;
v57 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v55 + 92);
v58 = (float *)(*(int (__fastcall **)(int))(*(_DWORD *)v55 + 96))(v55);
v59 = *((_DWORD *)this + 182);
v60 = *v58;
v61 = (*(int (__fastcall **)(int))(*(_DWORD *)v59 + 96))(v59);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v75, v56 - v60, *(float *)(v61 + 4));
v57(v59, v75);
*(_BYTE *)(*((_DWORD *)this + 182) + 316) = 1;
v24 = *(void (**)(void))(**((_DWORD **)this + 182) + 36);
}
else
{
v20 = GameManager::sharedState(v18);
v22 = GJUINode::create((GJUINode *)(v20 + 1008), v21);
v23 = *(_DWORD *)this;
*((_DWORD *)this + 179) = v22;
(*(void (__fastcall **)(UIOptionsLayer *, int *, int))(v23 + 232))(this, v22, 100);
*(_BYTE *)(*((_DWORD *)this + 179) + 316) = 1;
v24 = *(void (**)(void))(**((_DWORD **)this + 179) + 36);
}
v24();
v80 = 0;
v81 = 0;
v82 = 0;
std::string::__init(&v80, "Dual", 4u);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v75, v70 - 40.0, v71 - 35.0);
SetupTriggerPopup::createToggleValueControl((int)this, -23, (int)&v80, (int)v75, 1, 0, 0, 1.0);
std::string::~string((int)&v80);
v80 = 0;
v81 = 0;
v82 = 0;
std::string::__init(&v80, "Width:", 6u);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v74, 0.0, 0.0);
cocos2d::CCPoint::operator+(v75, &v72, v74);
SetupTriggerPopup::createValueControlAdvanced(
this,
-1,
&v80,
v75,
1058642330,
0,
2,
4,
0,
1112014848,
1137180672,
0,
1,
1,
0,
0);
std::string::~string((int)&v80);
v80 = 0;
v81 = 0;
v82 = 0;
std::string::__init(&v80, "Height:", 7u);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v74, 0.0, -25.0);
cocos2d::CCPoint::operator+(v75, &v72, v74);
SetupTriggerPopup::createValueControlAdvanced(
this,
-5,
&v80,
v75,
1058642330,
0,
2,
4,
0,
1112014848,
1137180672,
0,
1,
1,
0,
0);
std::string::~string((int)&v80);
v80 = 0;
v81 = 0;
v82 = 0;
std::string::__init(&v80, "Scale:", 6u);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v74, 0.0, -50.0);
cocos2d::CCPoint::operator+(v75, &v72, v74);
SetupTriggerPopup::createValueControlAdvanced(
this,
-9,
&v80,
v75,
1058642330,
0,
1,
4,
0,
1045220557,
0x40000000,
0,
1,
1,
2,
0);
std::string::~string((int)&v80);
v80 = 0;
v81 = 0;
v82 = 0;
std::string::__init(&v80, "Opacity:", 8u);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v74, 0.0, -75.0);
cocos2d::CCPoint::operator+(v75, &v72, v74);
SetupTriggerPopup::createValueControlAdvanced(
this,
-13,
&v80,
v75,
1058642330,
0,
1,
4,
0,
0,
1065353216,
0,
1,
1,
2,
0);
std::string::~string((int)&v80);
v80 = 0;
v81 = 0;
v82 = 0;
std::string::__init(&v80, "Deadzone:", 9u);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v74, 0.0, -100.0);
cocos2d::CCPoint::operator+(v75, &v72, v74);
SetupTriggerPopup::createValueControlAdvanced(
this,
-21,
&v80,
v75,
1058642330,
0,
1,
4,
0,
0,
1092616192,
0,
1,
1,
1,
0);
std::string::~string((int)&v80);
v80 = 0;
v81 = 0;
v82 = 0;
std::string::__init(&v80, "Radius:", 7u);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v74, 0.0, -125.0);
cocos2d::CCPoint::operator+(v75, &v72, v74);
SetupTriggerPopup::createValueControlAdvanced(
this,
-19,
&v80,
v75,
1058642330,
0,
1,
4,
0,
0,
1112014848,
0,
1,
1,
1,
0);
std::string::~string((int)&v80);
v80 = 0;
v81 = 0;
v82 = 0;
std::string::__init(&v80, "ModeB", 5u);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v75, (float)(v70 * 0.5) - 160.0, v71 - 35.0);
SetupTriggerPopup::createToggleValueControl((int)this, -17, (int)&v80, (int)v75, 1, 0, 1, 1.0);
std::string::~string((int)&v80);
v80 = 0;
v81 = 0;
v82 = 0;
std::string::__init(&v80, "Snap", 4u);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v75, (float)(v70 * 0.5) - 110.0, v71 - 35.0);
SetupTriggerPopup::createToggleValueControl((int)this, -24, (int)&v80, (int)v75, 1, 0, 1, 1.0);
std::string::~string((int)&v80);
v80 = 0;
v81 = 0;
v82 = 0;
std::string::__init(&v80, "Split", 5u);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v75, (float)(v70 * 0.5) + 155.0, v71 - 35.0);
SetupTriggerPopup::createToggleValueControl((int)this, -27, (int)&v80, (int)v75, 1, 0, 1, 1.0);
std::string::~string((int)&v80);
v62 = *((unsigned __int8 *)this + 712);
if ( !*((_BYTE *)this + 712) )
{
v80 = *((unsigned __int8 *)this + 712);
v81 = v62;
v82 = v62;
std::string::__init(&v80, "JumpL", 5u);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v75, (float)(v70 * 0.5) + 110.0, v71 - 35.0);
SetupTriggerPopup::createToggleValueControl((int)this, -26, (int)&v80, (int)v75, 1, 0, 0, 1.0);
std::string::~string((int)&v80);
}
if ( *((_BYTE *)this + 712) )
{
v80 = 0;
v81 = 0;
v82 = 0;
std::string::__init(&v80, "Width:", 6u);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v74, 0.0, 0.0);
cocos2d::CCPoint::operator+(v75, &v72, v74);
SetupTriggerPopup::createValueControlAdvanced(
this,
-3,
&v80,
v75,
1058642330,
0,
2,
4,
0,
1112014848,
1137180672,
0,
3,
1,
0,
0);
std::string::~string((int)&v80);
v80 = 0;
v81 = 0;
v82 = 0;
std::string::__init(&v80, "Height:", 7u);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v74, 0.0, -25.0);
cocos2d::CCPoint::operator+(v75, &v72, v74);
SetupTriggerPopup::createValueControlAdvanced(
this,
-7,
&v80,
v75,
1058642330,
0,
2,
4,
0,
1112014848,
1137180672,
0,
3,
1,
0,
0);
std::string::~string((int)&v80);
v80 = 0;
v81 = 0;
v82 = 0;
std::string::__init(&v80, "Scale:", 6u);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v74, 0.0, -50.0);
cocos2d::CCPoint::operator+(v75, &v72, v74);
SetupTriggerPopup::createValueControlAdvanced(
this,
-11,
&v80,
v75,
1058642330,
0,
1,
4,
0,
1045220557,
0x40000000,
0,
3,
1,
2,
0);
std::string::~string((int)&v80);
v80 = 0;
v81 = 0;
v82 = 0;
std::string::__init(&v80, "Opacity:", 8u);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v74, 0.0, -75.0);
cocos2d::CCPoint::operator+(v75, &v72, v74);
SetupTriggerPopup::createValueControlAdvanced(
this,
-15,
&v80,
v75,
1058642330,
0,
1,
4,
0,
0,
1065353216,
0,
3,
1,
2,
0);
std::string::~string((int)&v80);
v80 = 0;
v81 = 0;
v82 = 0;
std::string::__init(&v80, "Width:", 6u);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v74, 0.0, -0.0);
cocos2d::CCPoint::operator+(v75, &v72, v74);
SetupTriggerPopup::createValueControlAdvanced(
this,
-4,
&v80,
v75,
1058642330,
0,
2,
4,
0,
1112014848,
1137180672,
0,
4,
1,
0,
0);
std::string::~string((int)&v80);
v80 = 0;
v81 = 0;
v82 = 0;
std::string::__init(&v80, "Height:", 7u);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v74, 0.0, -25.0);
cocos2d::CCPoint::operator+(v75, &v72, v74);
SetupTriggerPopup::createValueControlAdvanced(
this,
-8,
&v80,
v75,
1058642330,
0,
2,
4,
0,
1112014848,
1137180672,
0,
4,
1,
0,
0);
std::string::~string((int)&v80);
v80 = 0;
v81 = 0;
v82 = 0;
std::string::__init(&v80, "Scale:", 6u);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v74, 0.0, -50.0);
cocos2d::CCPoint::operator+(v75, &v72, v74);
SetupTriggerPopup::createValueControlAdvanced(
this,
-12,
&v80,
v75,
1058642330,
0,
1,
4,
0,
1045220557,
0x40000000,
0,
4,
1,
2,
0);
std::string::~string((int)&v80);
v80 = 0;
v81 = 0;
v82 = 0;
std::string::__init(&v80, "Opacity:", 8u);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v74, 0.0, -75.0);
cocos2d::CCPoint::operator+(v75, &v72, v74);
SetupTriggerPopup::createValueControlAdvanced(
this,
-16,
&v80,
v75,
1058642330,
0,
1,
4,
0,
0,
1065353216,
0,
4,
1,
2,
0);
std::string::~string((int)&v80);
v80 = 0;
v81 = 0;
v82 = 0;
std::string::__init(&v80, "Width:", 6u);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v74, 0.0, 0.0);
cocos2d::CCPoint::operator+(v75, &v72, v74);
SetupTriggerPopup::createValueControlAdvanced(
this,
-2,
&v80,
v75,
1058642330,
0,
2,
4,
0,
1112014848,
1137180672,
0,
2,
1,
0,
0);
std::string::~string((int)&v80);
v80 = 0;
v81 = 0;
v82 = 0;
std::string::__init(&v80, "Height:", 7u);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v74, 0.0, -25.0);
cocos2d::CCPoint::operator+(v75, &v72, v74);
SetupTriggerPopup::createValueControlAdvanced(
this,
-6,
&v80,
v75,
1058642330,
0,
2,
4,
0,
1112014848,
1137180672,
0,
2,
1,
0,
0);
std::string::~string((int)&v80);
v80 = 0;
v81 = 0;
v82 = 0;
std::string::__init(&v80, "Scale:", 6u);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v74, 0.0, -50.0);
cocos2d::CCPoint::operator+(v75, &v72, v74);
SetupTriggerPopup::createValueControlAdvanced(
this,
-10,
&v80,
v75,
1058642330,
0,
1,
4,
0,
1045220557,
0x40000000,
0,
2,
1,
2,
0);
std::string::~string((int)&v80);
v80 = 0;
v81 = 0;
v82 = 0;
std::string::__init(&v80, "Opacity:", 8u);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v74, 0.0, -75.0);
cocos2d::CCPoint::operator+(v75, &v72, v74);
SetupTriggerPopup::createValueControlAdvanced(
this,
-14,
&v80,
v75,
1058642330,
0,
1,
4,
0,
0,
1065353216,
0,
2,
1,
2,
0);
std::string::~string((int)&v80);
v80 = 0;
v81 = 0;
v82 = 0;
std::string::__init(&v80, "Deadzone:", 9u);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v74, 0.0, -100.0);
cocos2d::CCPoint::operator+(v75, &v72, v74);
SetupTriggerPopup::createValueControlAdvanced(
this,
-22,
&v80,
v75,
1058642330,
0,
1,
4,
0,
0,
1092616192,
0,
2,
1,
1,
0);
std::string::~string((int)&v80);
v80 = 0;
v81 = 0;
v82 = 0;
std::string::__init(&v80, "Radius:", 7u);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v74, 0.0, -125.0);
cocos2d::CCPoint::operator+(v75, &v72, v74);
SetupTriggerPopup::createValueControlAdvanced(
this,
-20,
&v80,
v75,
1058642330,
0,
1,
4,
0,
0,
1112014848,
0,
2,
1,
1,
0);
std::string::~string((int)&v80);
v80 = 0;
v81 = 0;
v82 = 0;
std::string::__init(&v80, "ModeB", 5u);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v75, (float)(v70 * 0.5) - 160.0, v71 - 35.0);
SetupTriggerPopup::createToggleValueControl((int)this, -18, (int)&v80, (int)v75, 1, 0, 2, 1.0);
std::string::~string((int)&v80);
v80 = 0;
v81 = 0;
v82 = 0;
std::string::__init(&v80, "Snap", 4u);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v75, (float)(v70 * 0.5) - 110.0, v71 - 35.0);
SetupTriggerPopup::createToggleValueControl((int)this, -25, (int)&v80, (int)v75, 1, 0, 2, 1.0);
std::string::~string((int)&v80);
v80 = 0;
v81 = 0;
v82 = 0;
std::string::__init(&v80, "Split", 5u);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v75, (float)(v70 * 0.5) + 155.0, v71 - 35.0);
SetupTriggerPopup::createToggleValueControl((int)this, -28, (int)&v80, (int)v75, 1, 0, 2, 1.0);
std::string::~string((int)&v80);
}
if ( *((_BYTE *)this + 712) )
UIOptionsLayer::toggleUIGroup((int)this, 1);
SetupTriggerPopup::postSetup(this);
}
return v66;
}