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