//
// CommunityCreditsPage::init from 0x1400940c0 to 0x1400960b3 (8179 bytes)
//
// 5 xrefs:
// > GJShopLayer::onCommunityCredits @ 0x1402abb74
// > GJShopLayer::onCommunityCredits @ 0x1402abb7b
// > GJShopLayer::onCommunityCredits @ 0x1402abb65
// > ??> @ 0x1405404a8
// > ??> @ 0x1406c71dc
//
// 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=6
bool CommunityCreditsPage::init(CommunityCreditsPage *a1)
{
bool result; // al
__int64 v3; // rcx
cocos2d::CCDirector *v4; // rax
struct cocos2d::CCRect *v5; // rax
struct cocos2d::extension::CCScale9Sprite *v6; // rdi
__int64 v7; // rdx
cocos2d::extension::CCScale9Sprite_vtbl *v8; // rbx
const cocos2d::CCSize *v9; // rax
int v10; // r13d
cocos2d::extension::CCScale9Sprite_vtbl *v11; // rbx
const cocos2d::CCPoint *v12; // rax
int i; // esi
struct cocos2d::CCSprite *v14; // rdi
float v15; // xmm7_4
float v16; // xmm8_4
cocos2d::CCSprite_vtbl *v17; // rbx
const cocos2d::CCPoint *v18; // rax
struct cocos2d::CCLabelBMFont *v19; // rdi
cocos2d::CCLabelBMFont_vtbl *v20; // rbx
const cocos2d::CCPoint *v21; // rax
cocos2d::CCDictionary *v22; // rax
__int64 v23; // rcx
cocos2d::CCArray *v24; // rbx
__int64 v25; // rax
__int64 v26; // r8
char *v27; // rax
__int64 v28; // rax
__int64 v29; // r8
char *v30; // rax
__int64 v31; // rax
__int64 v32; // r8
char *v33; // rax
__int64 v34; // rax
__int64 v35; // r8
char *v36; // rax
__int64 v37; // rax
__int64 v38; // r8
char *v39; // rax
__int64 v40; // rax
__int64 v41; // r8
char *v42; // rax
__int64 v43; // rax
__int64 v44; // r8
char *v45; // rax
__int64 v46; // rax
__int64 v47; // r8
char *v48; // rax
__int64 v49; // rax
__int64 v50; // r8
char *v51; // rax
__int64 v52; // rax
__int64 v53; // r8
char *v54; // rax
__int64 v55; // rax
__int64 v56; // r8
char *v57; // rax
__int64 v58; // rax
__int64 v59; // r8
char *v60; // rax
__int64 v61; // rax
__int64 v62; // r8
char *v63; // rax
__int64 v64; // rax
__int64 v65; // r8
char *v66; // rax
__int64 v67; // rax
__int64 v68; // r8
char *v69; // rax
__int64 v70; // rax
__int64 v71; // r8
char *v72; // rax
__int64 v73; // rax
__int64 v74; // r8
char *v75; // rax
__int64 v76; // rax
__int64 v77; // r8
char *v78; // rax
__int64 v79; // rax
__int64 v80; // r8
char *v81; // rax
__int64 v82; // rax
__int64 v83; // r8
char *v84; // rax
__int64 v85; // rax
__int64 v86; // r8
char *v87; // rax
__int64 v88; // rax
__int64 v89; // r8
char *v90; // rax
__int64 v91; // rax
__int64 v92; // r8
char *v93; // rax
__int64 v94; // rax
__int64 v95; // r8
char *v96; // rax
__int64 v97; // r8
char *v98; // rax
__int64 v99; // r8
char *v100; // rax
__int64 v101; // r8
char *v102; // rax
__int64 v103; // r8
char *v104; // rax
__int64 v105; // r8
char *v106; // rax
__int64 v107; // r8
char *v108; // rax
__int64 v109; // r8
char *v110; // rax
__int64 v111; // r8
char *v112; // rax
__int64 v113; // r8
char *v114; // rax
__int64 v115; // r8
char *v116; // rax
__int64 v117; // r8
char *v118; // rax
__int64 v119; // r8
char *v120; // rax
__int64 v121; // r8
char *v122; // rax
__int64 v123; // r8
char *v124; // rax
__int64 v125; // r8
char *v126; // rax
__int64 v127; // r8
char *v128; // rax
__int64 v129; // r8
char *v130; // rax
__int64 v131; // r8
char *v132; // rax
__int64 v133; // r8
char *v134; // rax
__int64 v135; // r8
char *v136; // rax
__int64 v137; // r8
char *v138; // rax
__int64 v139; // r8
char *v140; // rax
__int64 v141; // r8
char *v142; // rax
__int64 v143; // r8
char *v144; // rax
__int64 v145; // r8
char *v146; // rax
__int64 v147; // r8
char *v148; // rax
__int64 v149; // r8
char *v150; // rax
__int64 v151; // r8
char *v152; // rax
__int64 v153; // r8
char *v154; // rax
__int64 v155; // r8
char *v156; // rax
__int64 v157; // r8
char *v158; // rax
__int64 v159; // r8
char *v160; // rax
__int64 v161; // r8
char *v162; // rax
__int64 v163; // r8
char *v164; // rax
__int64 v165; // r8
char *v166; // rax
__int64 v167; // r8
char *v168; // rax
__int64 v169; // r8
char *v170; // rax
__int64 v171; // r8
char *v172; // rax
__int64 v173; // r8
char *v174; // rax
__int64 v175; // r8
char *v176; // rax
__int64 v177; // r8
char *v178; // rax
__int64 v179; // r8
char *v180; // rax
__int64 v181; // r8
char *v182; // rax
__int64 v183; // r8
char *v184; // rax
__int64 v185; // r8
char *v186; // rax
__int64 v187; // r8
char *v188; // rax
__int64 v189; // rax
__int64 v190; // r8
char *v191; // rax
__int64 v192; // rax
__int64 v193; // r8
char *v194; // rax
signed int v195; // r15d
__int64 v196; // rcx
struct cocos2d::CCObject *v197; // rdi
int v198; // ebx
__int64 v199; // rcx
cocos2d::CCArray *v200; // r12
float v201; // xmm0_4
int m_nZOrder; // ebx
UnlockType m_unknown2; // edi
GJItemIcon *v204; // rsi
const char *v205; // rcx
cocos2d::CCLabelBMFont *v206; // rdi
__int64 v207; // rax
cocos2d::CCArray *v208; // r15
struct cocos2d::CCLabelBMFont *v209; // rdi
cocos2d::CCLabelBMFont_vtbl *v210; // rbx
const cocos2d::CCPoint *v211; // rax
int v212; // edi
int v213; // r12d
cocos2d::CCString *v214; // rax
const char *CString; // rax
struct cocos2d::CCSprite *v216; // rbx
const char *v217; // rcx
cocos2d::CCLabelBMFont *v218; // rsi
struct cocos2d::CCSprite *v219; // rdi
__int64 v220; // rax
struct cocos2d::CCSprite *v221; // rdi
CCMenuItemSpriteExtra *v222; // rbx
cocos2d::CCMenu *v223; // rax
cocos2d::CCMenu_vtbl *v224; // rbx
const cocos2d::CCPoint *v225; // rax
__int64 v226; // rcx
cocos2d::CCNode *v227; // rdi
float v228; // xmm7_4
struct cocos2d::CCSprite *v229; // rsi
CCMenuItemSpriteExtra *v230; // rax
CCMenuItemSpriteExtra *v231; // rbx
CCMenuItemSpriteExtra_vtbl *v232; // rbx
__int64 v233; // rcx
cocos2d::CCDirector *v234; // rax
float v235; // xmm0_4
struct cocos2d::CCPoint v236; // rax
cocos2d::CCSprite *v237; // rsi
CCMenuItemSpriteExtra *v238; // rax
CCMenuItemSpriteExtra *v239; // rbx
CCMenuItemSpriteExtra_vtbl *v240; // rbx
__int64 v241; // rcx
cocos2d::CCDirector *v242; // rax
float v243; // xmm0_4
struct cocos2d::CCPoint v244; // rax
bool v245; // [rsp+38h] [rbp-D0h]
cocos2d::ccColor3B *v246; // [rsp+48h] [rbp-C0h]
_BYTE v247[16]; // [rsp+58h] [rbp-B0h] BYREF
cocos2d::ccColor3B v248[5]; // [rsp+68h] [rbp-A0h] BYREF
float v249; // [rsp+78h] [rbp-90h]
float v250; // [rsp+7Ch] [rbp-8Ch]
cocos2d::ccColor3B v251[5]; // [rsp+88h] [rbp-80h] BYREF
__int16 v252; // [rsp+98h] [rbp-70h]
__int16 v253; // [rsp+A8h] [rbp-60h]
cocos2d::CCPoint v254; // [rsp+B8h] [rbp-50h] BYREF
cocos2d::CCArray *v255; // [rsp+C0h] [rbp-48h] BYREF
cocos2d::CCPoint v256; // [rsp+C8h] [rbp-40h] BYREF
cocos2d::CCRect v257; // [rsp+D0h] [rbp-38h] BYREF
struct cocos2d::CCObject *v258; // [rsp+E0h] [rbp-28h] BYREF
cocos2d::CCPoint v259; // [rsp+E8h] [rbp-20h] BYREF
cocos2d::CCPoint v260; // [rsp+F0h] [rbp-18h] BYREF
cocos2d::CCPoint v261; // [rsp+F8h] [rbp-10h] BYREF
GJItemIcon *v262; // [rsp+100h] [rbp-8h] BYREF
cocos2d::CCPoint v263; // [rsp+108h] [rbp+0h] BYREF
__int128 v264; // [rsp+110h] [rbp+8h] BYREF
__int64 v265; // [rsp+120h] [rbp+18h]
unsigned __int64 v266; // [rsp+128h] [rbp+20h]
result = FLAlertLayer::init_1(a1, 150);
if ( result )
{
v4 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v3);
cocos2d::CCDirector::getWinSize(v4);
cocos2d::CCRect::CCRect(&v257, 0.0, 0.0, 80.0, 80.0);
v6 = cocos2d::extension::CCScale9Sprite::create("GJ_square01.png", v5);
LOBYTE(v7) = -1;
v6->setOpacity(&v6->cocos2d::CCRGBAProtocol, v7);
v8 = v6->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v255, 420.0, 280.0);
v8->setContentSize(v6, v9);
v10 = -1;
a1->m_mainLayer->addChild_0(a1->m_mainLayer, v6, -1);
v11 = v6->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v255, v249 * 0.5, v250 * 0.5);
v11->setPosition_0(v6, v12);
for ( i = 0; i < 4; ++i )
{
v14 = cocos2d::CCSprite::createWithSpriteFrameName("dailyLevelCorner_001.png");
a1->m_mainLayer->addChild_0(a1->m_mainLayer, v14, 8);
v15 = 185.0;
v16 = 115.0;
if ( i )
{
switch ( i )
{
case 1:
v15 = -185.0;
cocos2d::CCSprite::setFlipY(v14, 1);
break;
case 2:
cocos2d::CCSprite::setFlipX(v14, 1);
cocos2d::CCSprite::setFlipY(v14, 1);
break;
case 3:
v16 = -115.0;
cocos2d::CCSprite::setFlipX(v14, 1);
break;
}
}
else
{
v15 = -185.0;
v16 = -115.0;
}
v17 = v14->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v255, (float)(v249 * 0.5) + v15, (float)(v250 * 0.5) + v16);
v17->setPosition_0(v14, v18);
}
v19 = cocos2d::CCLabelBMFont::create("Community Credits", (const char *)&qword_14052A4D8);
((void (__fastcall *)(struct cocos2d::CCLabelBMFont *))v19->setScale_0)(v19);
a1->m_mainLayer->addChild_1(a1->m_mainLayer, v19);
v20 = v19->cocos2d::CCSpriteBatchNode::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v255, v249 * 0.5, (float)((float)(v250 * 0.5) + 140.0) - 20.0);
v20->setPosition_0(v19, v21);
cocos2d::CCPoint::CCPoint(&v263, v249 * 0.5, (float)(v250 * 0.5) + 80.0);
v22 = (cocos2d::CCDictionary *)cocos2d::CCDictionary::create();
a1->m_pageObjects = v22;
cocos2d::CCObject::retain(v22);
v24 = (cocos2d::CCArray *)cocos2d::CCArray::create(v23);
v255 = v24;
v25 = sub_14003A7F0((__int64)&v264, (__int64)"Aleck08");
v27 = CommunityCreditNode::create(1, 117, v26, v25);
cocos2d::CCArray::addObject(v24, (struct cocos2d::CCObject *)v27);
v28 = sub_14003A7F0((__int64)&v264, (__int64)"Aruxd");
v30 = CommunityCreditNode::create(1, 118, v29, v28);
cocos2d::CCArray::addObject(v24, (struct cocos2d::CCObject *)v30);
v31 = sub_14003A7F0((__int64)&v264, (__int64)"RadleyMCT");
v33 = CommunityCreditNode::create(1, 119, v32, v31);
cocos2d::CCArray::addObject(v24, (struct cocos2d::CCObject *)v33);
v34 = sub_14003A7F0((__int64)&v264, (__int64)"Djoxy");
v36 = CommunityCreditNode::create(1, 120, v35, v34);
cocos2d::CCArray::addObject(v24, (struct cocos2d::CCObject *)v36);
v37 = sub_14003A7F0((__int64)&v264, (__int64)"ghostpower");
v39 = CommunityCreditNode::create(1, 121, v38, v37);
cocos2d::CCArray::addObject(v24, (struct cocos2d::CCObject *)v39);
v40 = sub_14003A7F0((__int64)&v264, (__int64)"hallymallybubu");
v42 = CommunityCreditNode::create(1, 122, v41, v40);
cocos2d::CCArray::addObject(v24, (struct cocos2d::CCObject *)v42);
v43 = sub_14003A7F0((__int64)&v264, (__int64)"Ic3Fir3");
v45 = CommunityCreditNode::create(1, 123, v44, v43);
cocos2d::CCArray::addObject(v24, (struct cocos2d::CCObject *)v45);
v46 = sub_14003A7F0((__int64)&v264, (__int64)"ItsJavi2504x");
v48 = CommunityCreditNode::create(1, 124, v47, v46);
cocos2d::CCArray::addObject(v24, (struct cocos2d::CCObject *)v48);
v49 = sub_14003A7F0((__int64)&v264, (__int64)"LaZye");
v51 = CommunityCreditNode::create(1, 125, v50, v49);
cocos2d::CCArray::addObject(v24, (struct cocos2d::CCObject *)v51);
v52 = sub_14003A7F0((__int64)&v264, (__int64)"Last67706");
v54 = CommunityCreditNode::create(1, 126, v53, v52);
cocos2d::CCArray::addObject(v24, (struct cocos2d::CCObject *)v54);
v55 = sub_14003A7F0((__int64)&v264, (__int64)"luisilloRS");
v57 = CommunityCreditNode::create(1, 127, v56, v55);
cocos2d::CCArray::addObject(v24, (struct cocos2d::CCObject *)v57);
v58 = sub_14003A7F0((__int64)&v264, (__int64)"luisilloRS");
v60 = CommunityCreditNode::create(1, 128, v59, v58);
cocos2d::CCArray::addObject(v24, (struct cocos2d::CCObject *)v60);
v61 = sub_14003A7F0((__int64)&v264, (__int64)"NeXuSGamer");
v63 = CommunityCreditNode::create(1, 129, v62, v61);
cocos2d::CCArray::addObject(v24, (struct cocos2d::CCObject *)v63);
v64 = sub_14003A7F0((__int64)&v264, (__int64)"RobBuck");
v66 = CommunityCreditNode::create(1, 130, v65, v64);
cocos2d::CCArray::addObject(v24, (struct cocos2d::CCObject *)v66);
v67 = sub_14003A7F0((__int64)&v264, (__int64)"RobBuck");
v69 = CommunityCreditNode::create(1, 131, v68, v67);
cocos2d::CCArray::addObject(v24, (struct cocos2d::CCObject *)v69);
v70 = sub_14003A7F0((__int64)&v264, (__int64)"RobBuck");
v72 = CommunityCreditNode::create(1, 132, v71, v70);
cocos2d::CCArray::addObject(v24, (struct cocos2d::CCObject *)v72);
v73 = sub_14003A7F0((__int64)&v264, (__int64)"SenpaiShika");
v75 = CommunityCreditNode::create(1, 133, v74, v73);
cocos2d::CCArray::addObject(v24, (struct cocos2d::CCObject *)v75);
v76 = sub_14003A7F0((__int64)&v264, (__int64)"SenpaiShika");
v78 = CommunityCreditNode::create(1, 134, v77, v76);
cocos2d::CCArray::addObject(v24, (struct cocos2d::CCObject *)v78);
v79 = sub_14003A7F0((__int64)&v264, (__int64)"Terron");
v81 = CommunityCreditNode::create(1, 135, v80, v79);
cocos2d::CCArray::addObject(v24, (struct cocos2d::CCObject *)v81);
v82 = sub_14003A7F0((__int64)&v264, (__int64)"Cygnus");
v84 = CommunityCreditNode::create(5, 30, v83, v82);
cocos2d::CCArray::addObject(v24, (struct cocos2d::CCObject *)v84);
v85 = sub_14003A7F0((__int64)&v264, (__int64)"slushys");
v87 = CommunityCreditNode::create(5, 31, v86, v85);
cocos2d::CCArray::addObject(v24, (struct cocos2d::CCObject *)v87);
v88 = sub_14003A7F0((__int64)&v264, (__int64)"Deraklich");
v90 = CommunityCreditNode::create(5, 32, v89, v88);
cocos2d::CCArray::addObject(v24, (struct cocos2d::CCObject *)v90);
v91 = sub_14003A7F0((__int64)&v264, (__int64)"DracTheDragon");
v93 = CommunityCreditNode::create(5, 33, v92, v91);
cocos2d::CCArray::addObject(v24, (struct cocos2d::CCObject *)v93);
v94 = sub_14003A7F0((__int64)&v264, (__int64)"DaRealDazzer");
v96 = CommunityCreditNode::create(5, 34, v95, v94);
cocos2d::CCArray::addObject(v24, (struct cocos2d::CCObject *)v96);
v265 = 12;
v266 = 15;
strcpy((char *)&v264, "Mariolego320");
BYTE13(v264) = 0;
HIWORD(v264) = 0;
v98 = CommunityCreditNode::create(5, 35, v97, (__int64)&v264);
cocos2d::CCArray::addObject(v24, (struct cocos2d::CCObject *)v98);
v265 = 12;
v266 = 15;
strcpy((char *)&v264, "Mariolego320");
BYTE13(v264) = 0;
HIWORD(v264) = 0;
v100 = CommunityCreditNode::create(5, 36, v99, (__int64)&v264);
cocos2d::CCArray::addObject(v24, (struct cocos2d::CCObject *)v100);
v265 = 7;
v266 = 15;
v264 = 0x79746E61766552uLL;
v102 = CommunityCreditNode::create(5, 37, v101, (__int64)&v264);
cocos2d::CCArray::addObject(v24, (struct cocos2d::CCObject *)v102);
*((_QWORD *)&v264 + 1) = 51;
v265 = 9;
v266 = 15;
*(_QWORD *)&v264 = 0x32366F6863656863LL;
v104 = CommunityCreditNode::create(5, 38, v103, (__int64)&v264);
cocos2d::CCArray::addObject(v24, (struct cocos2d::CCObject *)v104);
HIWORD(v264) = 0;
v265 = 7;
v266 = 15;
qmemcpy(&v264, "Aleck0", 6);
*(_QWORD *)((char *)&v264 + 6) = (unsigned __int8)aAleck08[6];
v106 = CommunityCreditNode::create(4, 36, v105, (__int64)&v264);
cocos2d::CCArray::addObject(v24, (struct cocos2d::CCObject *)v106);
v265 = 7;
v266 = 15;
v264 = 0x47502078656C41uLL;
v108 = CommunityCreditNode::create(4, 37, v107, (__int64)&v264);
cocos2d::CCArray::addObject(v24, (struct cocos2d::CCObject *)v108);
v265 = 7;
v266 = 15;
v264 = 0x78656C61696445uLL;
v110 = CommunityCreditNode::create(4, 38, v109, (__int64)&v264);
cocos2d::CCArray::addObject(v24, (struct cocos2d::CCObject *)v110);
*((_QWORD *)&v264 + 1) = 116;
v265 = 9;
v266 = 15;
*(_QWORD *)&v264 = 0x65736E7553737449LL;
v112 = CommunityCreditNode::create(4, 39, v111, (__int64)&v264);
cocos2d::CCArray::addObject(v24, (struct cocos2d::CCObject *)v112);
v265 = 10;
v266 = 15;
*(_QWORD *)&v264 = *(_QWORD *)"luisilloRS";
*((_QWORD *)&v264 + 1) = *(unsigned __int16 *)"RS";
BYTE10(v264) = 0;
v114 = CommunityCreditNode::create(4, 40, v113, (__int64)&v264);
cocos2d::CCArray::addObject(v24, (struct cocos2d::CCObject *)v114);
v265 = 10;
v266 = 15;
*(_QWORD *)&v264 = *(_QWORD *)"luisilloRS";
*((_QWORD *)&v264 + 1) = *(unsigned __int16 *)"RS";
BYTE10(v264) = 0;
v116 = CommunityCreditNode::create(4, 41, v115, (__int64)&v264);
cocos2d::CCArray::addObject(v24, (struct cocos2d::CCObject *)v116);
v265 = 10;
v266 = 15;
*(_QWORD *)&v264 = *(_QWORD *)"NeXuSGamer";
*((_QWORD *)&v264 + 1) = *(unsigned __int16 *)"er";
BYTE10(v264) = 0;
v118 = CommunityCreditNode::create(4, 42, v117, (__int64)&v264);
cocos2d::CCArray::addObject(v24, (struct cocos2d::CCObject *)v118);
v264 = 0;
v265 = 6;
v266 = 15;
strcpy((char *)&v264, "Plazda");
v120 = CommunityCreditNode::create(4, 43, v119, (__int64)&v264);
cocos2d::CCArray::addObject(v24, (struct cocos2d::CCObject *)v120);
v265 = 8;
v266 = 15;
v264 = 0x44476B6F6E676152uLL;
v122 = CommunityCreditNode::create(4, 44, v121, (__int64)&v264);
cocos2d::CCArray::addObject(v24, (struct cocos2d::CCObject *)v122);
v265 = 13;
v266 = 15;
strcpy((char *)&v264, "TheRailgunner");
HIWORD(v264) = 0;
v124 = CommunityCreditNode::create(4, 45, v123, (__int64)&v264);
cocos2d::CCArray::addObject(v24, (struct cocos2d::CCObject *)v124);
HIWORD(v264) = 0;
v265 = 7;
v266 = 15;
qmemcpy(&v264, "RobBuc", 6);
*(_QWORD *)((char *)&v264 + 6) = (unsigned __int8)aRobbuck[6];
v126 = CommunityCreditNode::create(4, 46, v125, (__int64)&v264);
cocos2d::CCArray::addObject(v24, (struct cocos2d::CCObject *)v126);
v265 = 8;
v266 = 15;
v264 = 0x78566863726F6353uLL;
v128 = CommunityCreditNode::create(4, 47, v127, (__int64)&v264);
cocos2d::CCArray::addObject(v24, (struct cocos2d::CCObject *)v128);
*((_QWORD *)&v264 + 1) = 27745;
v265 = 10;
v266 = 15;
*(_QWORD *)&v264 = 0x74656D7375726956LL;
v130 = CommunityCreditNode::create(4, 48, v129, (__int64)&v264);
cocos2d::CCArray::addObject(v24, (struct cocos2d::CCObject *)v130);
v265 = 11;
v266 = 15;
*(_QWORD *)&v264 = 0x6C69537265666144LL;
*((_QWORD *)&v264 + 1) = 7497078;
v132 = CommunityCreditNode::create(6, 29, v131, (__int64)&v264);
cocos2d::CCArray::addObject(v24, (struct cocos2d::CCObject *)v132);
v265 = 11;
v266 = 15;
*(_QWORD *)&v264 = 0x76696172756D6153LL;
*((_QWORD *)&v264 + 1) = 3354985;
v134 = CommunityCreditNode::create(6, 30, v133, (__int64)&v264);
cocos2d::CCArray::addObject(v24, (struct cocos2d::CCObject *)v134);
v264 = 0;
v265 = 4;
v266 = 15;
strcpy((char *)&v264, "haoN");
v136 = CommunityCreditNode::create(6, 31, v135, (__int64)&v264);
cocos2d::CCArray::addObject(v24, (struct cocos2d::CCObject *)v136);
v265 = 10;
v266 = 15;
*(_QWORD *)&v264 = *(_QWORD *)"luisilloRS";
*((_QWORD *)&v264 + 1) = *(unsigned __int16 *)"RS";
BYTE10(v264) = 0;
v138 = CommunityCreditNode::create(6, 32, v137, (__int64)&v264);
cocos2d::CCArray::addObject(v24, (struct cocos2d::CCObject *)v138);
v265 = 8;
v266 = 15;
v264 = 0x78566863726F6353uLL;
v140 = CommunityCreditNode::create(6, 33, v139, (__int64)&v264);
cocos2d::CCArray::addObject(v24, (struct cocos2d::CCObject *)v140);
v265 = 8;
v266 = 15;
v264 = 0x78566863726F6353uLL;
v142 = CommunityCreditNode::create(6, 34, v141, (__int64)&v264);
cocos2d::CCArray::addObject(v24, (struct cocos2d::CCObject *)v142);
v265 = 8;
v266 = 15;
v264 = 0x78566863726F6353uLL;
v144 = CommunityCreditNode::create(6, 35, v143, (__int64)&v264);
cocos2d::CCArray::addObject(v24, (struct cocos2d::CCObject *)v144);
*((_QWORD *)&v264 + 1) = 28789;
v265 = 10;
v266 = 15;
*(_QWORD *)&v264 = 0x7279536563617053LL;
v146 = CommunityCreditNode::create(7, 24, v145, (__int64)&v264);
cocos2d::CCArray::addObject(v24, (struct cocos2d::CCObject *)v146);
v265 = 8;
v266 = 15;
v264 = 0x73756E6863617241uLL;
v148 = CommunityCreditNode::create(7, 25, v147, (__int64)&v264);
cocos2d::CCArray::addObject(v24, (struct cocos2d::CCObject *)v148);
*((_QWORD *)&v264 + 1) = 116;
v265 = 9;
v266 = 15;
*(_QWORD *)&v264 = 0x73614D7265767943LL;
v150 = CommunityCreditNode::create(7, 26, v149, (__int64)&v264);
cocos2d::CCArray::addObject(v24, (struct cocos2d::CCObject *)v150);
v265 = 12;
v266 = 15;
strcpy((char *)&v264, "lordwerthers");
BYTE13(v264) = 0;
HIWORD(v264) = 0;
v152 = CommunityCreditNode::create(7, 27, v151, (__int64)&v264);
cocos2d::CCArray::addObject(v24, (struct cocos2d::CCObject *)v152);
v265 = 7;
v266 = 15;
v264 = 0x31333278746E4AuLL;
v154 = CommunityCreditNode::create(7, 28, v153, (__int64)&v264);
cocos2d::CCArray::addObject(v24, (struct cocos2d::CCObject *)v154);
HIWORD(v264) = 0;
v265 = 7;
v266 = 15;
qmemcpy(&v264, "RobBuc", 6);
*(_QWORD *)((char *)&v264 + 6) = (unsigned __int8)aRobbuck[6];
v156 = CommunityCreditNode::create(7, 29, v155, (__int64)&v264);
cocos2d::CCArray::addObject(v24, (struct cocos2d::CCObject *)v156);
v265 = 13;
v266 = 15;
strcpy((char *)&v264, "DarkFireDrago");
HIWORD(v264) = 0;
v158 = CommunityCreditNode::create(7, 30, v157, (__int64)&v264);
cocos2d::CCArray::addObject(v24, (struct cocos2d::CCObject *)v158);
v265 = 8;
v266 = 15;
v264 = 0x78566863726F6353uLL;
v160 = CommunityCreditNode::create(7, 31, v159, (__int64)&v264);
cocos2d::CCArray::addObject(v24, (struct cocos2d::CCObject *)v160);
*((_QWORD *)&v264 + 1) = 103;
v265 = 9;
v266 = 15;
*(_QWORD *)&v264 = 0x6E696D6147534E53LL;
v162 = CommunityCreditNode::create(7, 32, v161, (__int64)&v264);
cocos2d::CCArray::addObject(v24, (struct cocos2d::CCObject *)v162);
v264 = 0;
v265 = 6;
v266 = 15;
strcpy((char *)&v264, "xVexis");
v164 = CommunityCreditNode::create(7, 33, v163, (__int64)&v264);
cocos2d::CCArray::addObject(v24, (struct cocos2d::CCObject *)v164);
v264 = 0;
v265 = 6;
v266 = 15;
strcpy((char *)&v264, "Splons");
v166 = CommunityCreditNode::create(8, 18, v165, (__int64)&v264);
cocos2d::CCArray::addObject(v24, (struct cocos2d::CCObject *)v166);
v265 = 7;
v266 = 15;
v264 = 0x796B356F76336BuLL;
v168 = CommunityCreditNode::create(8, 19, v167, (__int64)&v264);
cocos2d::CCArray::addObject(v24, (struct cocos2d::CCObject *)v168);
v265 = 10;
v266 = 15;
*(_QWORD *)&v264 = *(_QWORD *)"luisilloRS";
*((_QWORD *)&v264 + 1) = *(unsigned __int16 *)"RS";
BYTE10(v264) = 0;
v170 = CommunityCreditNode::create(8, 20, v169, (__int64)&v264);
cocos2d::CCArray::addObject(v24, (struct cocos2d::CCObject *)v170);
v265 = 12;
v266 = 15;
strcpy((char *)&v264, "Mariolego320");
BYTE13(v264) = 0;
HIWORD(v264) = 0;
v172 = CommunityCreditNode::create(8, 21, v171, (__int64)&v264);
cocos2d::CCArray::addObject(v24, (struct cocos2d::CCObject *)v172);
v265 = 8;
v266 = 15;
v264 = 0x78566863726F6353uLL;
v174 = CommunityCreditNode::create(8, 22, v173, (__int64)&v264);
cocos2d::CCArray::addObject(v24, (struct cocos2d::CCObject *)v174);
v265 = 8;
v266 = 15;
v264 = 0x78566863726F6353uLL;
v176 = CommunityCreditNode::create(8, 23, v175, (__int64)&v264);
cocos2d::CCArray::addObject(v24, (struct cocos2d::CCObject *)v176);
v264 = 0;
v265 = 6;
v266 = 15;
strcpy((char *)&v264, "Shacal");
v178 = CommunityCreditNode::create(8, 24, v177, (__int64)&v264);
cocos2d::CCArray::addObject(v24, (struct cocos2d::CCObject *)v178);
v264 = 0;
v265 = 4;
v266 = 15;
strcpy((char *)&v264, "Tr1a");
v180 = CommunityCreditNode::create(8, 25, v179, (__int64)&v264);
cocos2d::CCArray::addObject(v24, (struct cocos2d::CCObject *)v180);
v265 = 11;
v266 = 15;
*(_QWORD *)&v264 = 0x6C69537265666144LL;
*((_QWORD *)&v264 + 1) = 7497078;
v182 = CommunityCreditNode::create(9, 11, v181, (__int64)&v264);
cocos2d::CCArray::addObject(v24, (struct cocos2d::CCObject *)v182);
v265 = 7;
v266 = 15;
v264 = 0x78656C61696445uLL;
v184 = CommunityCreditNode::create(9, 12, v183, (__int64)&v264);
cocos2d::CCArray::addObject(v24, (struct cocos2d::CCObject *)v184);
v265 = 7;
v266 = 15;
v264 = 0x78656C61696445uLL;
v186 = CommunityCreditNode::create(9, 13, v185, (__int64)&v264);
cocos2d::CCArray::addObject(v24, (struct cocos2d::CCObject *)v186);
v264 = 0;
v265 = 9;
v266 = 15;
std::_Char_traits::copy(&v264, "Litexotic", 9u);
BYTE9(v264) = 0;
v188 = CommunityCreditNode::create(9, 14, v187, (__int64)&v264);
cocos2d::CCArray::addObject(v24, (struct cocos2d::CCObject *)v188);
v189 = sub_14003A7F0((__int64)&v264, (__int64)&qword_140540170);
v191 = CommunityCreditNode::create(9, 15, v190, v189);
cocos2d::CCArray::addObject(v24, (struct cocos2d::CCObject *)v191);
v192 = sub_14003A7F0((__int64)&v264, (__int64)&qword_140540198);
v194 = CommunityCreditNode::create(9, 16, v193, v192);
cocos2d::CCArray::addObject(v24, (struct cocos2d::CCObject *)v194);
v195 = 0;
if ( cocos2d::CCArray::count(v24) )
{
v252 = -1;
v253 = -20561;
do
{
v197 = cocos2d::CCArray::objectAtIndex(v24, v195);
v258 = v197;
v198 = (int)floorf((float)(v195 / 12));
v200 = (cocos2d::CCArray *)cocos2d::CCDictionary::objectForKey(a1->m_pageObjects, v198);
if ( !v200 )
{
v200 = (cocos2d::CCArray *)cocos2d::CCArray::create(v199);
cocos2d::CCDictionary::setObject(a1->m_pageObjects, v200, v198);
}
if ( v198 > v10 )
v10 = v198;
v201 = floorf((float)(v195 % 12 / 4));
cocos2d::CCPoint::CCPoint(
&v256,
v249 * 0.5,
(float)((float)(v250 * 0.5) + 85.0) - (float)((float)(int)v201 * 80.0));
LODWORD(v254.x) = (int)floorf((float)(v195 % 4));
m_nZOrder = v197[5].m_nZOrder;
m_unknown2 = v197[5].m_unknown2;
v204 = (GJItemIcon *)operator new(0x278u);
v262 = v204;
cocos2d::CCSprite::CCSprite(v204);
v204->cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (GJItemIcon_vtbl *)&GJItemIcon::`vftable';
v204->cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&GJItemIcon::`vftable';
v204->cocos2d::CCSprite::cocos2d::CCTextureProtocol::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCTextureProtocol_vtbl *)&GJItemIcon::`vftable';
v204->m_player = nullptr;
v204->m_iconRequestID = 0;
cocos2d::CCSize::CCSize(&v204->m_playerSize);
v204->m_isIcon = 0;
*(_QWORD *)&v204->m_unlockID = 0;
*(_WORD *)&v251[0].r = v252;
v251[0].b = -1;
*(_WORD *)&v248[0].r = v253;
v248[0].b = -81;
if ( GJItemIcon::init(v204, m_unknown2, m_nZOrder, v248, v251, 0, v245, 0, v246) )
{
cocos2d::CCObject::autorelease(v204);
}
else
{
((void (__fastcall *)(GJItemIcon *, __int64))v204->~GJItemIcon)(v204, 1);
v204 = nullptr;
}
a1->m_mainLayer->addChild_0(a1->m_mainLayer, v204, 3);
cocos2d::CCPoint::CCPoint(&v259, (float)((float)SLODWORD(v254.x) - 1.5) * 85.0, -30.0);
cocos2d::CCPoint::operator+(&v256, &v260);
v204->setPosition_0(v204, &v260);
cocos2d::CCArray::addObject(v200, v204);
v205 = (const char *)&v258[6];
if ( *(_QWORD *)&v258[6].m_uAutoReleaseCount > 0xFu )
v205 = *(const char **)v205;
v206 = cocos2d::CCLabelBMFont::create(v205, "goldFont.fnt");
cocos2d::CCLabelBMFont::limitLabelWidth(v206, 60.0, 0.60000002, 0.0);
a1->m_mainLayer->addChild_0(a1->m_mainLayer, v206, 3);
cocos2d::CCPoint::CCPoint(&v257.origin, 0.0, 34.0);
v207 = (__int64)v204->getPosition_0(v204);
cocos2d::CCPoint::operator+(v207, v247);
v206->setPosition_0(v206, (const cocos2d::CCPoint *)v247);
cocos2d::CCArray::addObject(v200, v206);
++v195;
v24 = v255;
}
while ( v195 < cocos2d::CCArray::count(v255) );
}
v208 = (cocos2d::CCArray *)cocos2d::CCArray::create(v196);
cocos2d::CCDictionary::setObject(a1->m_pageObjects, v208, v10 + 1);
v209 = cocos2d::CCLabelBMFont::create("Special Thanks :)", (const char *)&qword_14052A4D8);
*(_WORD *)&v248[0].r = -206;
v248[0].b = 50;
v209->setColor(&v209->cocos2d::CCRGBAProtocol, v248);
((void (__fastcall *)(struct cocos2d::CCLabelBMFont *))v209->setScale_0)(v209);
v210 = v209->cocos2d::CCSpriteBatchNode::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
cocos2d::CCPoint::CCPoint(&v257.origin, v249 * 0.5, (float)(v250 * 0.5) + 80.0);
v210->setPosition_0(v209, v211);
a1->m_mainLayer->addChild_1(a1->m_mainLayer, v209);
cocos2d::CCArray::addObject(v208, v209);
cocos2d::CCPoint::CCPoint(&v261, v249 * 0.5, v250 * 0.5);
v212 = 0;
do
{
v264 = 0;
v265 = 0;
v266 = 15;
LOBYTE(v264) = 0;
if ( v212 )
{
if ( v212 == 1 )
{
v265 = 5;
strcpy((char *)&v264, "Etzer");
cocos2d::CCPoint::CCPoint(&v254, &stru_1406C18A8);
}
else
{
if ( v212 == 2 )
{
v265 = 8;
strcpy((char *)&v264, "Michigun");
}
cocos2d::CCPoint::CCPoint(&v254, &stru_1406C18A8);
}
}
else
{
v265 = 6;
strcpy((char *)&v264, "ViPriN");
cocos2d::CCPoint::CCPoint(&v254, &stru_1406C18A8);
v254.y = 5.0;
}
v213 = v212 + 1;
v214 = cocos2d::CCString::createWithFormat("communityIcon_%02d_001.png", v212 + 1);
CString = cocos2d::CCString::getCString(v214);
v216 = cocos2d::CCSprite::createWithSpriteFrameName(CString);
a1->m_mainLayer->addChild_0(a1->m_mainLayer, v216, 3);
cocos2d::CCPoint::CCPoint(&v257.origin, (float)(v212 - 1) * 90.0, 0.0);
cocos2d::CCPoint::operator+(&v261, &v256);
cocos2d::CCPoint::operator+(&v256, &v255);
v216->setPosition_0(v216, (const cocos2d::CCPoint *)&v255);
cocos2d::CCArray::addObject(v208, v216);
v217 = (const char *)&v264;
if ( v266 > 0xF )
v217 = (const char *)v264;
v218 = cocos2d::CCLabelBMFont::create(v217, "goldFont.fnt");
cocos2d::CCLabelBMFont::limitLabelWidth(v218, 60.0, 0.60000002, 0.0);
a1->m_mainLayer->addChild_0(a1->m_mainLayer, v218, 3);
cocos2d::CCPoint::CCPoint(&v259, 0.0, 40.0);
cocos2d::CCPoint::operator+(&v256, v247);
v218->setPosition_0(v218, (const cocos2d::CCPoint *)v247);
cocos2d::CCArray::addObject(v208, v218);
if ( v212 == 2 )
{
v219 = cocos2d::CCSprite::createWithSpriteFrameName("d_heart01_001.png");
*(_WORD *)&v248[0].r = -256;
*(_WORD *)&v251[0].r = -256;
v251[0].b = 0;
v219->setColor(&v219->cocos2d::CCRGBAProtocol, v251);
((void (__fastcall *)(struct cocos2d::CCSprite *))v219->setScale_0)(v219);
a1->m_mainLayer->addChild_0(a1->m_mainLayer, v219, 3);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v262, 40.0, 5.0);
v220 = (__int64)v218->getPosition_0(v218);
cocos2d::CCPoint::operator+(v220, &v258);
v219->setPosition_0(v219, (const cocos2d::CCPoint *)&v258);
cocos2d::CCArray::addObject(v208, v219);
}
sub_14003A830((__int64)&v264);
v212 = v213;
}
while ( v213 < 3 );
v221 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_closeBtn_001.png");
v257.origin = (cocos2d::CCPoint)operator new(0x208u);
v222 = CCMenuItemSpriteExtra::CCMenuItemSpriteExtra(*(CCMenuItemSpriteExtra **)&v257.origin);
if ( v222 )
{
if ( CCMenuItemSpriteExtra::init(v222, v221, nullptr, a1, (cocos2d::SEL_MenuHandler *)AudioAssetsBrowser::onClose) )
{
cocos2d::CCObject::autorelease(v222);
goto LABEL_42;
}
((void (__fastcall *)(CCMenuItemSpriteExtra *, __int64))v222->~CCMenuItemSpriteExtra)(v222, 1);
}
v222 = nullptr;
LABEL_42:
HIDWORD(v222->m_pfnSelector.adj) = 1070386381;
v223 = cocos2d::CCMenu::create(v222, 0);
a1->m_buttonMenu = v223;
v224 = v223->cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
cocos2d::CCPoint::CCPoint(
&v257.origin,
(float)((float)(v249 * 0.5) - 210.0) + 10.0,
(float)((float)(v250 * 0.5) + 140.0) - 10.0);
v224->setPosition_0(a1->m_buttonMenu, v225);
a1->m_mainLayer->addChild_0(a1->m_mainLayer, a1->m_buttonMenu, 10);
v227 = (cocos2d::CCNode *)cocos2d::CCMenu::create(v226);
v228 = v250 * 0.5;
v229 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_arrow_01_001.png");
v257.origin = (cocos2d::CCPoint)operator new(0x208u);
v230 = CCMenuItemSpriteExtra::CCMenuItemSpriteExtra(*(CCMenuItemSpriteExtra **)&v257.origin);
v231 = v230;
if ( v230 )
{
if ( CCMenuItemSpriteExtra::init(
v230,
v229,
nullptr,
a1,
(cocos2d::SEL_MenuHandler *)CommunityCreditsPage::onSwitchPage) )
{
cocos2d::CCObject::autorelease(v231);
goto LABEL_47;
}
((void (__fastcall *)(CCMenuItemSpriteExtra *, __int64))v231->~CCMenuItemSpriteExtra)(v231, 1);
}
v231 = nullptr;
LABEL_47:
a1->m_prevButton = v231;
v227->addChild_1(v227, v231);
v232 = a1->m_prevButton->__vftable;
v234 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v233);
v235 = cocos2d::CCDirector::getScreenLeft(v234) + 24.0;
cocos2d::CCPoint::CCPoint(&v257.origin, v235, v228);
v236 = cocos2d::CCNode::convertToNodeSpace(v227, &v259);
((void (__fastcall *)(CCMenuItemSpriteExtra *, struct cocos2d::CCPoint))v232->setPosition_0)(a1->m_prevButton, v236);
a1->m_prevButton->setTag(a1->m_prevButton, 0);
HIDWORD(a1->m_prevButton->m_pfnSelector.adj) = 1068708659;
v237 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_arrow_01_001.png");
cocos2d::CCSprite::setFlipX(v237, 1);
v257.origin = (cocos2d::CCPoint)operator new(0x208u);
v238 = CCMenuItemSpriteExtra::CCMenuItemSpriteExtra(*(CCMenuItemSpriteExtra **)&v257.origin);
v239 = v238;
if ( v238 )
{
if ( CCMenuItemSpriteExtra::init(
v238,
v237,
nullptr,
a1,
(cocos2d::SEL_MenuHandler *)CommunityCreditsPage::onSwitchPage) )
{
cocos2d::CCObject::autorelease(v239);
LABEL_52:
a1->m_nextButton = v239;
v227->addChild_1(v227, v239);
v240 = a1->m_nextButton->__vftable;
v242 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v241);
v243 = cocos2d::CCDirector::getScreenRight(v242) - 24.0;
cocos2d::CCPoint::CCPoint(&v257.origin, v243, v228);
v244 = cocos2d::CCNode::convertToNodeSpace(v227, &v259);
((void (__fastcall *)(CCMenuItemSpriteExtra *, struct cocos2d::CCPoint))v240->setPosition_0)(
a1->m_nextButton,
v244);
a1->m_nextButton->setTag(a1->m_nextButton, 1);
HIDWORD(a1->m_nextButton->m_pfnSelector.adj) = 1068708659;
a1->m_mainLayer->addChild_0(a1->m_mainLayer, v227, 10);
CommunityCreditsPage::goToPage(a1, 0);
return 1;
}
((void (__fastcall *)(CCMenuItemSpriteExtra *, __int64))v239->~CCMenuItemSpriteExtra)(v239, 1);
}
v239 = nullptr;
goto LABEL_52;
}
return result;
}