//
// GJGarageLayer::setupIconSelect from 0x50f6e0 to 0x50fe9a (1978 bytes)
//
// 1 xrefs:
// > GJGarageLayer::init @ 0x510642
//
// 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:51:31 +0000
//
int *__fastcall GJGarageLayer::setupIconSelect(GJGarageLayer *this)
{
float v2; // s17
int v3; // r6
void (__fastcall *v4)(int, int *); // r5
const char *v5; // r1
int v6; // r10
void (__fastcall *v7)(int, int *); // r5
int (__fastcall *v8)(int, int *); // r7
int v9; // r8
cocos2d::CCArray *v10; // r0
unsigned int v11; // r7
cocos2d::CCObject *v12; // r0
cocos2d::CCMenu *v13; // r0
cocos2d::CCMenu *v14; // r5
const char *v15; // r1
int v16; // r10
const char *v17; // r1
int v18; // r0
cocos2d::CCNodeRGBA *v19; // r10
const char *v20; // r1
int v21; // r10
const char *v22; // r1
int v23; // r0
cocos2d::CCNodeRGBA *v24; // r10
const char *v25; // r1
int v26; // r10
const char *v27; // r1
int v28; // r0
cocos2d::CCNodeRGBA *v29; // r10
const char *v30; // r1
int v31; // r10
const char *v32; // r1
int v33; // r0
cocos2d::CCNodeRGBA *v34; // r10
const char *v35; // r1
int v36; // r10
const char *v37; // r1
int v38; // r0
cocos2d::CCNodeRGBA *v39; // r10
const char *v40; // r1
int v41; // r10
const char *v42; // r1
int v43; // r0
cocos2d::CCNodeRGBA *v44; // r10
const char *v45; // r1
int v46; // r10
const char *v47; // r1
int v48; // r0
cocos2d::CCNodeRGBA *v49; // r10
const char *v50; // r1
int v51; // r10
const char *v52; // r1
int v53; // r0
cocos2d::CCNodeRGBA *v54; // r10
const char *v55; // r1
int v56; // r10
const char *v57; // r1
int v58; // r0
cocos2d::CCNodeRGBA *v59; // r10
const char *v60; // r1
int v61; // r10
const char *v62; // r1
int v63; // r0
cocos2d::CCNodeRGBA *v64; // r10
const char *v65; // r1
int v66; // r10
const char *v67; // r1
int v68; // r0
cocos2d::CCNodeRGBA *v69; // r8
int v70; // r0
int v71; // r11
int v72; // r0
int v73; // r0
void (__fastcall *v74)(cocos2d::CCMenu *, int *); // r7
const char *v75; // r1
int v76; // r0
const char *v77; // r1
int v78; // r0
cocos2d::CCString *v79; // r0
const char *v80; // r1
int v81; // r8
int v82; // r0
const char *v83; // r1
cocos2d::CCSprite *v84; // r11
int v85; // r0
int v86; // r9
int v87; // r11
cocos2d::CCArray *v88; // r0
cocos2d::CCObject *v89; // r0
cocos2d::CCMenu *v90; // r0
int v91; // r0
int v92; // r3
int v93; // r5
void (__fastcall *v94)(int, _BYTE *); // r6
int v95; // r2
cocos2d::CCSprite *CString; // [sp+Ch] [bp-B8h]
cocos2d::CCSprite *v98; // [sp+Ch] [bp-B8h]
void (__fastcall *v99)(int, int *); // [sp+10h] [bp-B4h]
int v100; // [sp+18h] [bp-ACh]
int v101; // [sp+1Ch] [bp-A8h]
float v102; // [sp+24h] [bp-A0h] BYREF
float v103; // [sp+28h] [bp-9Ch]
_BYTE v104[4]; // [sp+2Ch] [bp-98h] BYREF
float v105; // [sp+30h] [bp-94h]
_BYTE v106[8]; // [sp+34h] [bp-90h] BYREF
_BYTE v107[8]; // [sp+3Ch] [bp-88h] BYREF
_BYTE v108[8]; // [sp+44h] [bp-80h] BYREF
_DWORD (*v109)(GJGarageLayer *__hidden, cocos2d::CCObject *); // [sp+4Ch] [bp-78h]
int v110; // [sp+50h] [bp-74h]
_DWORD (*v111)(GJGarageLayer *__hidden, cocos2d::CCObject *); // [sp+54h] [bp-70h]
int v112; // [sp+58h] [bp-6Ch]
_DWORD (*v113)(GJGarageLayer *__hidden, cocos2d::CCObject *); // [sp+5Ch] [bp-68h]
int v114; // [sp+60h] [bp-64h]
_DWORD (*v115)(GJGarageLayer *__hidden, cocos2d::CCObject *); // [sp+64h] [bp-60h]
int v116; // [sp+68h] [bp-5Ch]
_DWORD (*v117)(GJGarageLayer *__hidden, cocos2d::CCObject *); // [sp+6Ch] [bp-58h]
int v118; // [sp+70h] [bp-54h]
_DWORD (*v119)(GJGarageLayer *__hidden, cocos2d::CCObject *); // [sp+74h] [bp-50h]
int v120; // [sp+78h] [bp-4Ch]
_DWORD (*v121)(GJGarageLayer *__hidden, cocos2d::CCObject *); // [sp+7Ch] [bp-48h]
int v122; // [sp+80h] [bp-44h]
_DWORD (*v123)(GJGarageLayer *__hidden, cocos2d::CCObject *); // [sp+84h] [bp-40h]
int v124; // [sp+88h] [bp-3Ch]
_DWORD (*v125)(GJGarageLayer *__hidden, cocos2d::CCObject *); // [sp+8Ch] [bp-38h]
int v126; // [sp+90h] [bp-34h]
_DWORD (*v127)(GJGarageLayer *__hidden, cocos2d::CCObject *); // [sp+94h] [bp-30h]
int v128; // [sp+98h] [bp-2Ch]
_DWORD (*v129)(GJGarageLayer *__hidden, cocos2d::CCObject *); // [sp+9Ch] [bp-28h]
int v130; // [sp+A0h] [bp-24h]
_DWORD v131[2]; // [sp+A4h] [bp-20h] BYREF
int v132[4]; // [sp+ACh] [bp-18h] BYREF
cocos2d::CCDirector::sharedDirector(this);
cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)&v102);
v2 = (float)(v103 * 0.5) - 5.0;
cocos2d::CCRect::CCRect((cocos2d::CCRect *)v132, 0.0, 0.0, 80.0, 80.0);
v3 = cocos2d::extension::CCScale9Sprite::create("square02_001.png", v132);
(*(void (__fastcall **)(int, int))(*(_DWORD *)v3 + 456))(v3, 75);
cocos2d::CCSize::CCSize((cocos2d::CCSize *)v104, 385.0, 100.0);
(*(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v3 + 160))(v3, v104);
(*(void (__fastcall **)(GJGarageLayer *, int, int))(*(_DWORD *)this + 232))(this, v3, -1);
v4 = *(void (__fastcall **)(int, int *))(*(_DWORD *)v3 + 92);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v132, v102 * 0.5, v2 - 60.0);
v4(v3, v132);
v6 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_unlockTxt_001.png", v5);
(*(void (__fastcall **)(GJGarageLayer *, int))(*(_DWORD *)this + 228))(this, v6);
v7 = *(void (__fastcall **)(int, int *))(*(_DWORD *)v6 + 148);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v132, 0.5, 0.5);
v7(v6, v132);
v8 = *(int (__fastcall **)(int, int *))(*(_DWORD *)v6 + 92);
v9 = (*(int (__fastcall **)(int))(*(_DWORD *)v3 + 96))(v3);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v131, 0.0, (float)(v105 * 0.5) + 12.0);
cocos2d::CCPoint::operator+(v132, v9, v131);
v10 = (cocos2d::CCArray *)v8(v6, v132);
v11 = 0;
v12 = (cocos2d::CCObject *)cocos2d::CCArray::create(v10);
*((_DWORD *)this + 88) = v12;
v13 = (cocos2d::CCMenu *)cocos2d::CCObject::retain(v12);
v14 = (cocos2d::CCMenu *)cocos2d::CCMenu::create(v13);
(*(void (__fastcall **)(GJGarageLayer *, cocos2d::CCMenu *, int))(*(_DWORD *)this + 232))(this, v14, 100);
v16 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"gj_iconBtn_off_001.png", v15);
v18 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"gj_iconBtn_on_001.png", v17);
v109 = GJGarageLayer::onSelectTab;
v110 = 0;
v19 = CCMenuItemToggler::create(v16, v18, (int)this, (int)GJGarageLayer::onSelectTab, 0);
CCMenuItemToggler::setSizeMult(v19, 1.2);
(*(void (__fastcall **)(cocos2d::CCMenu *, cocos2d::CCNodeRGBA *))(*(_DWORD *)v14 + 228))(v14, v19);
(*(void (__fastcall **)(cocos2d::CCNodeRGBA *, _DWORD))(*(_DWORD *)v19 + 36))(v19, 0);
cocos2d::CCArray::addObject(*((cocos2d::CCArray **)this + 88), v19);
v21 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"gj_shipBtn_off_001.png", v20);
v23 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"gj_shipBtn_on_001.png", v22);
v111 = GJGarageLayer::onSelectTab;
v112 = 0;
v24 = CCMenuItemToggler::create(v21, v23, (int)this, (int)GJGarageLayer::onSelectTab, 0);
CCMenuItemToggler::setSizeMult(v24, 1.2);
(*(void (__fastcall **)(cocos2d::CCMenu *, cocos2d::CCNodeRGBA *))(*(_DWORD *)v14 + 228))(v14, v24);
(*(void (__fastcall **)(cocos2d::CCNodeRGBA *, int))(*(_DWORD *)v24 + 36))(v24, 1);
cocos2d::CCArray::addObject(*((cocos2d::CCArray **)this + 88), v24);
v26 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"gj_ballBtn_off_001.png", v25);
v28 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"gj_ballBtn_on_001.png", v27);
v113 = GJGarageLayer::onSelectTab;
v114 = 0;
v29 = CCMenuItemToggler::create(v26, v28, (int)this, (int)GJGarageLayer::onSelectTab, 0);
CCMenuItemToggler::setSizeMult(v29, 1.2);
(*(void (__fastcall **)(cocos2d::CCMenu *, cocos2d::CCNodeRGBA *))(*(_DWORD *)v14 + 228))(v14, v29);
(*(void (__fastcall **)(cocos2d::CCNodeRGBA *, int))(*(_DWORD *)v29 + 36))(v29, 2);
cocos2d::CCArray::addObject(*((cocos2d::CCArray **)this + 88), v29);
v31 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"gj_birdBtn_off_001.png", v30);
v33 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"gj_birdBtn_on_001.png", v32);
v115 = GJGarageLayer::onSelectTab;
v116 = 0;
v34 = CCMenuItemToggler::create(v31, v33, (int)this, (int)GJGarageLayer::onSelectTab, 0);
CCMenuItemToggler::setSizeMult(v34, 1.2);
(*(void (__fastcall **)(cocos2d::CCMenu *, cocos2d::CCNodeRGBA *))(*(_DWORD *)v14 + 228))(v14, v34);
(*(void (__fastcall **)(cocos2d::CCNodeRGBA *, int))(*(_DWORD *)v34 + 36))(v34, 3);
cocos2d::CCArray::addObject(*((cocos2d::CCArray **)this + 88), v34);
v36 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"gj_dartBtn_off_001.png", v35);
v38 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"gj_dartBtn_on_001.png", v37);
v117 = GJGarageLayer::onSelectTab;
v118 = 0;
v39 = CCMenuItemToggler::create(v36, v38, (int)this, (int)GJGarageLayer::onSelectTab, 0);
CCMenuItemToggler::setSizeMult(v39, 1.2);
(*(void (__fastcall **)(cocos2d::CCMenu *, cocos2d::CCNodeRGBA *))(*(_DWORD *)v14 + 228))(v14, v39);
(*(void (__fastcall **)(cocos2d::CCNodeRGBA *, int))(*(_DWORD *)v39 + 36))(v39, 4);
cocos2d::CCArray::addObject(*((cocos2d::CCArray **)this + 88), v39);
v41 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"gj_robotBtn_off_001.png", v40);
v43 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"gj_robotBtn_on_001.png", v42);
v119 = GJGarageLayer::onSelectTab;
v120 = 0;
v44 = CCMenuItemToggler::create(v41, v43, (int)this, (int)GJGarageLayer::onSelectTab, 0);
CCMenuItemToggler::setSizeMult(v44, 1.2);
(*(void (__fastcall **)(cocos2d::CCMenu *, cocos2d::CCNodeRGBA *))(*(_DWORD *)v14 + 228))(v14, v44);
(*(void (__fastcall **)(cocos2d::CCNodeRGBA *, int))(*(_DWORD *)v44 + 36))(v44, 5);
cocos2d::CCArray::addObject(*((cocos2d::CCArray **)this + 88), v44);
v46 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"gj_spiderBtn_off_001.png", v45);
v48 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"gj_spiderBtn_on_001.png", v47);
v121 = GJGarageLayer::onSelectTab;
v122 = 0;
v49 = CCMenuItemToggler::create(v46, v48, (int)this, (int)GJGarageLayer::onSelectTab, 0);
CCMenuItemToggler::setSizeMult(v49, 1.2);
(*(void (__fastcall **)(cocos2d::CCMenu *, cocos2d::CCNodeRGBA *))(*(_DWORD *)v14 + 228))(v14, v49);
(*(void (__fastcall **)(cocos2d::CCNodeRGBA *, int))(*(_DWORD *)v49 + 36))(v49, 6);
cocos2d::CCArray::addObject(*((cocos2d::CCArray **)this + 88), v49);
v51 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"gj_swingBtn_off_001.png", v50);
v53 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"gj_swingBtn_on_001.png", v52);
v123 = GJGarageLayer::onSelectTab;
v124 = 0;
v54 = CCMenuItemToggler::create(v51, v53, (int)this, (int)GJGarageLayer::onSelectTab, 0);
CCMenuItemToggler::setSizeMult(v54, 1.2);
(*(void (__fastcall **)(cocos2d::CCMenu *, cocos2d::CCNodeRGBA *))(*(_DWORD *)v14 + 228))(v14, v54);
(*(void (__fastcall **)(cocos2d::CCNodeRGBA *, int))(*(_DWORD *)v54 + 36))(v54, 7);
cocos2d::CCArray::addObject(*((cocos2d::CCArray **)this + 88), v54);
v56 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"gj_jetpackBtn_off_001.png", v55);
v58 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"gj_jetpackBtn_on_001.png", v57);
v125 = GJGarageLayer::onSelectTab;
v126 = 0;
v59 = CCMenuItemToggler::create(v56, v58, (int)this, (int)GJGarageLayer::onSelectTab, 0);
CCMenuItemToggler::setSizeMult(v59, 1.2);
(*(void (__fastcall **)(cocos2d::CCMenu *, cocos2d::CCNodeRGBA *))(*(_DWORD *)v14 + 228))(v14, v59);
(*(void (__fastcall **)(cocos2d::CCNodeRGBA *, int))(*(_DWORD *)v59 + 36))(v59, 8);
cocos2d::CCArray::addObject(*((cocos2d::CCArray **)this + 88), v59);
v61 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"gj_streakBtn_off_001.png", v60);
v63 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"gj_streakBtn_on_001.png", v62);
v127 = GJGarageLayer::onSelectTab;
v128 = 0;
v64 = CCMenuItemToggler::create(v61, v63, (int)this, (int)GJGarageLayer::onSelectTab, 0);
CCMenuItemToggler::setSizeMult(v64, 1.2);
(*(void (__fastcall **)(cocos2d::CCMenu *, cocos2d::CCNodeRGBA *))(*(_DWORD *)v14 + 228))(v14, v64);
(*(void (__fastcall **)(cocos2d::CCNodeRGBA *, int))(*(_DWORD *)v64 + 36))(v64, 99);
cocos2d::CCArray::addObject(*((cocos2d::CCArray **)this + 88), v64);
v66 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"gj_explosionBtn_off_001.png", v65);
v68 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"gj_explosionBtn_on_001.png", v67);
v129 = GJGarageLayer::onSelectTab;
v130 = 0;
v69 = CCMenuItemToggler::create(v66, v68, (int)this, (int)GJGarageLayer::onSelectTab, 0);
CCMenuItemToggler::setSizeMult(v69, 1.2);
(*(void (__fastcall **)(cocos2d::CCMenu *, cocos2d::CCNodeRGBA *))(*(_DWORD *)v14 + 228))(v14, v69);
(*(void (__fastcall **)(cocos2d::CCNodeRGBA *, int))(*(_DWORD *)v69 + 36))(v69, 98);
cocos2d::CCArray::addObject(*((cocos2d::CCArray **)this + 88), v69);
while ( v11 < cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 88)) )
{
v70 = cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 88), v11++);
v71 = v70;
v132[0] = (*(int (__fastcall **)(int))(*(_DWORD *)v70 + 32))(v70);
v72 = (*(int (__fastcall **)(_DWORD))(**(_DWORD **)(v71 + 300) + 536))(*(_DWORD *)(v71 + 300));
(*(void (__fastcall **)(int, int))(*(_DWORD *)v72 + 80))(v72, 1063675494);
v73 = (*(int (__fastcall **)(_DWORD))(**(_DWORD **)(v71 + 304) + 536))(*(_DWORD *)(v71 + 304));
(*(void (__fastcall **)(int, int))(*(_DWORD *)v73 + 80))(v73, 1063675494);
*std::map::operator[]((int **)this + 94, v132) = -1;
}
cocos2d::CCMenu::alignItemsHorizontallyWithPadding(v14, 2.0);
v74 = *(void (__fastcall **)(cocos2d::CCMenu *, int *))(*(_DWORD *)v14 + 92);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v132, v102 * 0.5, (float)(v103 * 0.5) + 30.0);
v74(v14, v132);
v76 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_select_001.png", v75);
*((_DWORD *)this + 97) = v76;
(*(void (__fastcall **)(int, int))(*(_DWORD *)v76 + 80))(v76, 1062836634);
(*(void (__fastcall **)(GJGarageLayer *, _DWORD, int))(*(_DWORD *)this + 232))(this, *((_DWORD *)this + 97), 1);
v78 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_select_001.png", v77);
*((_DWORD *)this + 98) = v78;
(*(void (__fastcall **)(int, int))(*(_DWORD *)v78 + 80))(v78, 1062836634);
(*(void (__fastcall **)(GJGarageLayer *, _DWORD, int))(*(_DWORD *)this + 232))(this, *((_DWORD *)this + 98), 1);
v79 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"GJ_arrow_%02d_001.png",
(const char *)&dword_0 + 1);
CString = (cocos2d::CCSprite *)cocos2d::CCString::getCString(v79);
v81 = cocos2d::CCSprite::createWithSpriteFrameName(CString, v80);
(*(void (__fastcall **)(int, int))(*(_DWORD *)v81 + 80))(v81, 1061997773);
v131[0] = GJGarageLayer::onArrow;
v131[1] = 0;
v82 = CCMenuItemSpriteExtra::create(v81, 0, (int)this, (int)GJGarageLayer::onArrow, 0);
*((_DWORD *)this + 101) = v82;
(*(void (__fastcall **)(cocos2d::CCMenu *, int))(*(_DWORD *)v14 + 228))(v14, v82);
CCMenuItemSpriteExtra::setSizeMult(*((_DWORD *)this + 101), 2.2);
v101 = *((_DWORD *)this + 101);
v99 = *(void (__fastcall **)(int, int *))(*(_DWORD *)v101 + 92);
v100 = (*(int (__fastcall **)(int))(*(_DWORD *)v3 + 96))(v3);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v107, -220.0, 0.0);
cocos2d::CCPoint::operator+(v108, v100, v107);
cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)v132, v14);
v99(v101, v132);
v84 = (cocos2d::CCSprite *)cocos2d::CCSprite::createWithSpriteFrameName(CString, v83);
(*(void (__fastcall **)(cocos2d::CCSprite *, int))(*(_DWORD *)v84 + 80))(v84, 1061997773);
cocos2d::CCSprite::setFlipX(v84, 1);
v132[0] = (int)GJGarageLayer::onArrow;
v132[1] = 0;
v85 = CCMenuItemSpriteExtra::create((int)v84, 0, (int)this, (int)GJGarageLayer::onArrow, 0);
*((_DWORD *)this + 102) = v85;
(*(void (__fastcall **)(cocos2d::CCMenu *, int))(*(_DWORD *)v14 + 228))(v14, v85);
(*(void (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 102) + 36))(*((_DWORD *)this + 102), 1);
v86 = *((_DWORD *)this + 102);
v98 = *(cocos2d::CCSprite **)(*(_DWORD *)v86 + 92);
v87 = (*(int (__fastcall **)(int))(*(_DWORD *)v3 + 96))(v3);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v106, 220.0, 0.0);
cocos2d::CCPoint::operator+(v107, v87, v106);
cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)v108, v14);
((void (__fastcall *)(int, _BYTE *))v98)(v86, v108);
v88 = (cocos2d::CCArray *)CCMenuItemSpriteExtra::setSizeMult(*((_DWORD *)this + 102), 2.2);
v89 = (cocos2d::CCObject *)cocos2d::CCArray::create(v88);
*((_DWORD *)this + 89) = v89;
v90 = (cocos2d::CCMenu *)cocos2d::CCObject::retain(v89);
v91 = cocos2d::CCMenu::create(v90);
v92 = *(_DWORD *)this;
*((_DWORD *)this + 103) = v91;
(*(void (__fastcall **)(GJGarageLayer *, int))(v92 + 228))(this, v91);
v93 = *((_DWORD *)this + 103);
v94 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v93 + 92);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v108, v102 * 0.5, 25.0);
v94(v93, v108);
return GJGarageLayer::selectTab((int)this, 0, v95);
}