// // SecretLayer2::onSubmit from 0x61e6c8 to 0x61f2cc (3076 bytes) // // 0 xrefs: // // 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:55:03 +0000 // int __fastcall SecretLayer2::onSubmit(SecretLayer2 *this, cocos2d::CCObject *a2) { unsigned int v3; // r5 char *v4; // r3 char *v5; // r6 char *v6; // r3 int v7; // r0 size_t i; // r9 unsigned __int8 *v9; // lr unsigned int v10; // r2 int v11; // r1 unsigned __int8 *v12; // r2 unsigned __int8 *v13; // r1 unsigned __int8 *v14; // r12 unsigned __int8 *v15; // r9 int v16; // t1 unsigned int v17; // r2 char *v18; // r3 size_t v19; // r1 int v20; // r3 int v21; // r6 _BOOL4 v22; // r7 GameManager *v23; // r0 AchievementManager *v24; // r0 GameManager *v25; // r0 int *v26; // r7 int v27; // r0 void (__fastcall *v28)(int, char *); // r2 cocos2d::CCLabelBMFont *v29; // r0 float v30; // r1 AchievementManager *v31; // r0 const char *v32; // r0 GameManager *v33; // r7 AchievementManager *v34; // r0 int v35; // r8 int v36; // r0 void (*v37)(void); // r3 GameManager *v38; // r0 _BOOL4 v39; // r8 AchievementManager *v40; // r0 AchievementManager *v41; // r0 _BOOL4 v43; // r8 AchievementManager *v44; // r0 AchievementManager *v45; // r0 FMODAudioEngine *v46; // r8 GameManager *v47; // r0 GameManager *v48; // r0 GameStatsManager *v49; // r0 GameStatsManager *v50; // r0 int v51; // r2 int v52; // r3 GameStatsManager *v53; // r0 GameStatsManager *v54; // r0 GameManager *v55; // r0 GameStatsManager *v56; // r0 const char *Stat; // r0 cocos2d::CCString *v58; // r0 const char *CString; // r8 size_t v60; // r0 _BOOL4 v61; // r8 AchievementManager *v62; // r0 AchievementManager *v63; // r0 GameManager *v64; // r0 int *v65; // r7 int v66; // r0 void (__fastcall *v67)(int, char *); // r12 _BOOL4 v68; // r8 AchievementManager *v69; // r0 AchievementManager *v70; // r0 GameManager *v71; // r0 int *v72; // r7 _BOOL4 v73; // r8 AchievementManager *v74; // r0 AchievementManager *v75; // r0 GameManager *v76; // r0 _BOOL4 v77; // r8 AchievementManager *v78; // r0 AchievementManager *v79; // r0 GameManager *v80; // r0 _BOOL4 v81; // r7 AchievementManager *v82; // r0 AchievementManager *v83; // r0 GameManager *v84; // r0 _BOOL4 v85; // r7 AchievementManager *v86; // r0 AchievementManager *v87; // r0 GameManager *v88; // r0 int v89; // r0 void (__fastcall *v90)(int, char *); // r2 _BOOL4 v91; // r7 GameManager *v92; // r0 GameManager *v93; // r0 int v94; // r0 void (__fastcall *v95)(int, char *); // r12 _BOOL4 v96; // r8 GameManager *v97; // r0 GameManager *SecretNumber; // r0 cocos2d::CCLayer *v99; // r7 GameManager *v100; // r0 GameManager *v101; // r0 int v102; // r0 int v103; // r3 _BOOL4 v104; // r8 int *v105; // r7 _BOOL4 v106; // r8 _BOOL4 v107; // r8 _BOOL4 v108; // r8 _BOOL4 v109; // r7 int v110; // r0 void (__fastcall *v111)(int, char *); // r2 GameManager *v112; // r0 unsigned __int8 *v113; // [sp+8h] [bp-214h] char *v114; // [sp+Ch] [bp-210h] char *v115; // [sp+10h] [bp-20Ch] unsigned __int8 *v116; // [sp+1Ch] [bp-200h] char v117; // [sp+24h] [bp-1F8h] BYREF __int16 v118; // [sp+25h] [bp-1F7h] unsigned __int8 v119; // [sp+28h] [bp-1F4h] BYREF char v120; // [sp+29h] [bp-1F3h] BYREF int v121; // [sp+2Ch] [bp-1F0h] char *v122; // [sp+30h] [bp-1ECh] int v123; // [sp+34h] [bp-1E8h] BYREF unsigned int v124; // [sp+38h] [bp-1E4h] unsigned __int8 *v125; // [sp+3Ch] [bp-1E0h] int v126; // [sp+40h] [bp-1DCh] BYREF unsigned int v127; // [sp+44h] [bp-1D8h] unsigned __int8 *v128; // [sp+48h] [bp-1D4h] int v129; // [sp+4Ch] [bp-1D0h] BYREF size_t v130; // [sp+50h] [bp-1CCh] char *v131; // [sp+54h] [bp-1C8h] int v132[3]; // [sp+58h] [bp-1C4h] BYREF int v133[3]; // [sp+64h] [bp-1B8h] BYREF int v134[3]; // [sp+70h] [bp-1ACh] BYREF int v135[3]; // [sp+7Ch] [bp-1A0h] BYREF int v136[3]; // [sp+88h] [bp-194h] BYREF int v137[3]; // [sp+94h] [bp-188h] BYREF int v138[3]; // [sp+A0h] [bp-17Ch] BYREF int v139[3]; // [sp+ACh] [bp-170h] BYREF int v140[3]; // [sp+B8h] [bp-164h] BYREF int v141[3]; // [sp+C4h] [bp-158h] BYREF int v142[3]; // [sp+D0h] [bp-14Ch] BYREF int v143[3]; // [sp+DCh] [bp-140h] BYREF int v144[3]; // [sp+E8h] [bp-134h] BYREF int v145[3]; // [sp+F4h] [bp-128h] BYREF int v146[3]; // [sp+100h] [bp-11Ch] BYREF int v147[3]; // [sp+10Ch] [bp-110h] BYREF int v148[3]; // [sp+118h] [bp-104h] BYREF int v149[3]; // [sp+124h] [bp-F8h] BYREF int v150[3]; // [sp+130h] [bp-ECh] BYREF int v151[3]; // [sp+13Ch] [bp-E0h] BYREF int v152[3]; // [sp+148h] [bp-D4h] BYREF int v153[3]; // [sp+154h] [bp-C8h] BYREF int v154[3]; // [sp+160h] [bp-BCh] BYREF int v155[3]; // [sp+16Ch] [bp-B0h] BYREF int v156[3]; // [sp+178h] [bp-A4h] BYREF int v157[3]; // [sp+184h] [bp-98h] BYREF int v158[3]; // [sp+190h] [bp-8Ch] BYREF int v159[3]; // [sp+19Ch] [bp-80h] BYREF int v160[3]; // [sp+1A8h] [bp-74h] BYREF int v161[3]; // [sp+1B4h] [bp-68h] BYREF int v162[3]; // [sp+1C0h] [bp-5Ch] BYREF int v163[3]; // [sp+1CCh] [bp-50h] BYREF int v164[3]; // [sp+1D8h] [bp-44h] BYREF int v165[3]; // [sp+1E4h] [bp-38h] BYREF int v166[3]; // [sp+1F0h] [bp-2Ch] BYREF _BYTE v167[12]; // [sp+1FCh] [bp-20h] BYREF _BYTE v168[12]; // [sp+208h] [bp-14h] BYREF CCTextInputNode::getString((CCTextInputNode *)&v119, *((_DWORD *)this + 88)); std::string::basic_string(&v123, (int)&v119); v3 = 0; while ( (v123 & 1) != 0 ) { if ( v3 >= v124 ) goto LABEL_11; v4 = (char *)v125; LABEL_7: v5 = &v4[v3]; if ( (v123 & 1) != 0 ) v6 = (char *)v125; else v6 = (char *)&v123 + 1; v7 = (unsigned __int8)v6[v3++]; *v5 = tolower(v7); } if ( v3 < (unsigned __int8)v123 >> 1 ) { v4 = (char *)&v123 + 1; goto LABEL_7; } LABEL_11: v126 = 0; v127 = 0; v128 = nullptr; std::string::__init(&v126, " ", 1u); v129 = 0; v130 = 0; v131 = nullptr; std::string::__init(&v129, &unk_B6B226, 0); for ( i = 0; ; i += v20 ) { if ( (v123 & 1) != 0 ) { v9 = v125; v10 = v124; } else { v10 = (int)(unsigned __int8)v123 >> 1; v9 = (unsigned __int8 *)&v123 + 1; } if ( (v126 & 1) != 0 ) { v113 = v128; v11 = v127; } else { v11 = (int)(unsigned __int8)v126 >> 1; v113 = (unsigned __int8 *)&v126 + 1; } if ( i > v10 || v10 - i < v11 ) break; if ( v11 ) { v12 = &v9[v10]; if ( v12 - &v9[i] >= v11 ) { v114 = (char *)&v9[i]; v115 = (char *)&v12[1 - v11]; v116 = &v113[v11]; LABEL_21: while ( 1 ) { v13 = (unsigned __int8 *)v114; if ( v114 == v115 ) break; ++v114; if ( *v13 == *v113 ) { v14 = v113; v15 = v13; while ( ++v14 != v116 ) { v16 = *++v15; if ( v16 != *v14 ) goto LABEL_21; } goto LABEL_28; } } } v13 = v12; LABEL_28: if ( v13 == v12 ) break; i = v13 - v9; } if ( i == -1 ) break; if ( (v126 & 1) != 0 ) v17 = v127; else v17 = (int)(unsigned __int8)v126 >> 1; if ( (v129 & 1) != 0 ) { v18 = v131; v19 = v130; } else { v19 = (int)(unsigned __int8)v129 >> 1; v18 = (char *)&v129 + 1; } std::string::replace(&v123, i, v17, v18, v19); if ( (v129 & 1) != 0 ) v20 = v130; else v20 = (int)(unsigned __int8)v129 >> 1; } std::string::~string((int)&v129); std::string::~string((int)&v126); memset(v132, 0, sizeof(v132)); v21 = *((_DWORD *)this + 88); std::string::__init(v132, &unk_B6B226, 0); CCTextInputNode::setString(v21, (int)v132); std::string::~string((int)v132); memset(v133, 0, sizeof(v133)); std::string::__init(v133, "brainpower", 0xAu); v22 = sub_61A3BC((unsigned __int8 *)&v123, (unsigned __int8 *)v133); v23 = (GameManager *)std::string::~string((int)v133); if ( !v22 ) { v31 = (AchievementManager *)GameManager::sharedState(v23); if ( *((_DWORD *)v31 + 176) - *((_DWORD *)v31 + 177) > 0 ) { v32 = (v119 & 1) != 0 ? v122 : &v120; v33 = (GameManager *)atoi(v32); v31 = (AchievementManager *)GameManager::sharedState(v33); if ( v33 == (GameManager *)(*((_DWORD *)v31 + 176) - *((_DWORD *)v31 + 177)) ) { v34 = (AchievementManager *)AchievementManager::sharedState(v31); if ( AchievementManager::isAchievementEarned(v34, "geometry.ach.v2.secret02") ) goto LABEL_52; v112 = (GameManager *)GameManager::sharedState(nullptr); GameManager::reportAchievementWithID(v112, "geometry.ach.v2.secret02", (const char *)&dword_64, 0); v65 = v135; memset(v135, 0, sizeof(v135)); std::string::__init(v135, "Impressive...", 0xDu); SecretLayer2::updateMessageLabel((int)this, (int)v135); goto LABEL_71; } } v38 = (GameManager *)GameManager::sharedState(v31); if ( GameManager::getUGV(v38, (char *)&a1i2r3e45s789g[4]) && (memset(v136, 0, sizeof(v136)), std::string::__init(v136, "glubfub", 7u), v43 = sub_61A3BC((unsigned __int8 *)&v123, (unsigned __int8 *)v136), v44 = (AchievementManager *)std::string::~string((int)v136), v43) ) { v45 = (AchievementManager *)AchievementManager::sharedState(v44); if ( AchievementManager::isAchievementEarned(v45, "geometry.ach.v2.secret03") ) goto LABEL_52; v46 = (FMODAudioEngine *)FMODAudioEngine::sharedEngine(nullptr); memset(v137, 0, sizeof(v137)); std::string::__init(v137, "highscoreGet02.ogg", 0x12u); FMODAudioEngine::playEffect(v46, (int)v137); v47 = (GameManager *)std::string::~string((int)v137); v48 = (GameManager *)GameManager::sharedState(v47); v49 = (GameStatsManager *)GameManager::reportAchievementWithID( v48, "geometry.ach.v2.secret03", (const char *)&dword_64, 0); v50 = (GameStatsManager *)GameStatsManager::sharedState(v49); v53 = (GameStatsManager *)GameStatsManager::storeSecretCoin(v50, "secretB03", v51, v52); v54 = (GameStatsManager *)GameStatsManager::sharedState(v53); GameStatsManager::incrementStat(v54, (const char *)&a1i2r3e45s789g[10]); memset(v138, 0, sizeof(v138)); std::string::__init(v138, "NOOOO!! THIEF! THIEF!", 0x15u); SecretLayer2::updateMessageLabel((int)this, (int)v138); std::string::~string((int)v138); SecretLayer2::playCoinEffect(this); } else { memset(v139, 0, sizeof(v139)); std::string::__init(v139, "octocube", 8u); v39 = sub_61A3BC((unsigned __int8 *)&v123, (unsigned __int8 *)v139); v40 = (AchievementManager *)std::string::~string((int)v139); if ( v39 ) { v41 = (AchievementManager *)AchievementManager::sharedState(v40); if ( AchievementManager::isAchievementEarned(v41, "geometry.ach.v2.secret04") ) goto LABEL_60; v55 = (GameManager *)GameManager::sharedState(nullptr); GameManager::reportAchievementWithID(v55, "geometry.ach.v2.secret04", (const char *)&dword_64, 0); v26 = v140; memset(v140, 0, sizeof(v140)); std::string::__init(v140, "Ugh... Slippery", 0xFu); SecretLayer2::updateMessageLabel((int)this, (int)v140); LABEL_43: std::string::~string((int)v26); v27 = *((_DWORD *)this + 89); v28 = *(void (__fastcall **)(int, char *))(*(_DWORD *)v27 + 536); v117 = 0; v118 = -1; v28(v27, &v117); v29 = *((cocos2d::CCLabelBMFont **)this + 89); v30 = 400.0; } else { v56 = (GameStatsManager *)GameStatsManager::sharedState(v40); Stat = (const char *)GameStatsManager::getStat(v56, "6"); v58 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", Stat); CString = (const char *)cocos2d::CCString::getCString(v58); memset(v141, 0, sizeof(v141)); v60 = strlen(CString); std::string::__init(v141, CString, v60); v61 = sub_61A3BC(&v119, (unsigned __int8 *)v141); v62 = (AchievementManager *)std::string::~string((int)v141); if ( v61 ) { v63 = (AchievementManager *)AchievementManager::sharedState(v62); if ( AchievementManager::isAchievementEarned(v63, "geometry.ach.v2.secret05") ) goto LABEL_52; v64 = (GameManager *)GameManager::sharedState(nullptr); GameManager::reportAchievementWithID(v64, "geometry.ach.v2.secret05", (const char *)&dword_64, 0); v65 = v142; memset(v142, 0, sizeof(v142)); std::string::__init(v142, "I wish I had that many shinies...", 0x21u); SecretLayer2::updateMessageLabel((int)this, (int)v142); LABEL_71: std::string::~string((int)v65); v66 = *((_DWORD *)this + 89); v67 = *(void (__fastcall **)(int, char *))(*(_DWORD *)v66 + 536); v118 = -1; v117 = 0; v67(v66, &v117); *((_DWORD *)this + 84) = 0; goto LABEL_60; } memset(v143, 0, sizeof(v143)); std::string::__init(v143, "seven", 5u); v68 = sub_61A3BC((unsigned __int8 *)&v123, (unsigned __int8 *)v143); v69 = (AchievementManager *)std::string::~string((int)v143); if ( v68 ) { v70 = (AchievementManager *)AchievementManager::sharedState(v69); if ( AchievementManager::isAchievementEarned(v70, "geometry.ach.v2.secret06") ) goto LABEL_60; v71 = (GameManager *)GameManager::sharedState(nullptr); GameManager::reportAchievementWithID(v71, "geometry.ach.v2.secret06", (const char *)&dword_64, 0); v72 = v144; memset(v144, 0, sizeof(v144)); std::string::__init(v144, "I should have been a doctor...", 0x1Eu); SecretLayer2::updateMessageLabel((int)this, (int)v144); } else { memset(v145, 0, sizeof(v145)); std::string::__init(v145, "gimmiethecolor", 0xEu); v73 = sub_61A3BC((unsigned __int8 *)&v123, (unsigned __int8 *)v145); v74 = (AchievementManager *)std::string::~string((int)v145); if ( v73 ) { v75 = (AchievementManager *)AchievementManager::sharedState(v74); if ( AchievementManager::isAchievementEarned(v75, "geometry.ach.v2.secret07") ) goto LABEL_60; v76 = (GameManager *)GameManager::sharedState(nullptr); GameManager::reportAchievementWithID(v76, "geometry.ach.v2.secret07", (const char *)&dword_64, 0); v72 = v146; memset(v146, 0, sizeof(v146)); std::string::__init(v146, "How many colors do you need?", 0x1Cu); SecretLayer2::updateMessageLabel((int)this, (int)v146); } else { memset(v147, 0, sizeof(v147)); std::string::__init(v147, "thechickenisonfire", 0x12u); v77 = sub_61A3BC((unsigned __int8 *)&v123, (unsigned __int8 *)v147); v78 = (AchievementManager *)std::string::~string((int)v147); if ( v77 ) { v79 = (AchievementManager *)AchievementManager::sharedState(v78); if ( AchievementManager::isAchievementEarned(v79, "geometry.ach.v2.secret08") ) goto LABEL_60; v80 = (GameManager *)GameManager::sharedState(nullptr); GameManager::reportAchievementWithID(v80, "geometry.ach.v2.secret08", (const char *)&dword_64, 0); v72 = v148; memset(v148, 0, sizeof(v148)); std::string::__init(v148, "Indeed it is...", 0xFu); SecretLayer2::updateMessageLabel((int)this, (int)v148); } else { memset(v149, 0, sizeof(v149)); std::string::__init(v149, "d4shg30me7ry", 0xCu); v81 = sub_61A3BC((unsigned __int8 *)&v123, (unsigned __int8 *)v149); v82 = (AchievementManager *)std::string::~string((int)v149); if ( v81 ) { v83 = (AchievementManager *)AchievementManager::sharedState(v82); if ( AchievementManager::isAchievementEarned(v83, "geometry.ach.v2.secret09") ) goto LABEL_52; v84 = (GameManager *)GameManager::sharedState(nullptr); GameManager::reportAchievementWithID(v84, "geometry.ach.v2.secret09", (const char *)&dword_64, 0); v72 = v150; memset(v150, 0, sizeof(v150)); std::string::__init(v150, "Good times", 0xAu); SecretLayer2::updateMessageLabel((int)this, (int)v150); } else { memset(v151, 0, sizeof(v151)); std::string::__init(v151, "thechickenisready", 0x11u); v85 = sub_61A3BC((unsigned __int8 *)&v123, (unsigned __int8 *)v151); v86 = (AchievementManager *)std::string::~string((int)v151); if ( !v85 ) { memset(v153, 0, sizeof(v153)); std::string::__init(v153, "thechallenge", 0xCu); v91 = sub_61A3BC((unsigned __int8 *)&v123, (unsigned __int8 *)v153); v92 = (GameManager *)std::string::~string((int)v153); if ( v91 ) { v93 = (GameManager *)GameManager::sharedState(v92); if ( GameManager::getUGV(v93, (char *)a1i2r3e45s789g) ) goto LABEL_52; memset(v154, 0, sizeof(v154)); std::string::__init(v154, "My level? You want to try it!?", 0x1Eu); SecretLayer2::updateMessageLabel((int)this, (int)v154); std::string::~string((int)v154); v94 = *((_DWORD *)this + 89); v95 = *(void (__fastcall **)(int, char *))(*(_DWORD *)v94 + 536); v118 = -1; v117 = 0; v95(v94, &v117); *((_DWORD *)this + 84) = 0; SecretLayer2::showSecretLevel((cocos2d::CCArray **)this); } else { memset(v155, 0, sizeof(v155)); std::string::__init(v155, "cod3breaker", 0xBu); v96 = sub_61A3BC((unsigned __int8 *)&v123, (unsigned __int8 *)v155); std::string::~string((int)v155); if ( v96 ) { memset(v156, 0, sizeof(v156)); std::string::__init(v156, " ", 1u); SecretLayer2::updateMessageLabel((int)this, (int)v156); v97 = (GameManager *)std::string::~string((int)v156); *((_DWORD *)this + 84) = 0; SecretNumber = (GameManager *)GameManager::sharedState(v97); if ( *((_DWORD *)SecretNumber + 176) - *((_DWORD *)SecretNumber + 177) <= 0 ) { v101 = (GameManager *)GameManager::sharedState(SecretNumber); SecretNumber = (GameManager *)GameManager::generateSecretNumber(v101); } v99 = SecretNumberLayer::create(SecretNumber); v100 = (GameManager *)(*(int (__fastcall **)(SecretLayer2 *, cocos2d::CCLayer *, int))(*(_DWORD *)this + 232))( this, v99, 100); v102 = GameManager::sharedState(v100); SecretNumberLayer::playNumberEffect( v99, (const char *)(*(_DWORD *)(v102 + 704) - *(_DWORD *)(v102 + 708))); } else { if ( (v119 & 1) != 0 ) v103 = v121; else v103 = (int)v119 >> 1; if ( !v103 ) goto LABEL_52; memset(v157, 0, sizeof(v157)); std::string::__init(v157, "unicorn", 7u); v104 = sub_61A3BC((unsigned __int8 *)&v123, (unsigned __int8 *)v157); std::string::~string((int)v157); if ( v104 ) { v105 = v158; memset(v158, 0, sizeof(v158)); std::string::__init(v158, "Why do they have a horn?", 0x18u); SecretLayer2::updateMessageLabel((int)this, (int)v158); } else { memset(v159, 0, sizeof(v159)); std::string::__init(v159, "rubrubpowah123", 0xEu); v106 = sub_61A3BC((unsigned __int8 *)&v123, (unsigned __int8 *)v159); std::string::~string((int)v159); if ( v106 ) { v105 = v160; memset(v160, 0, sizeof(v160)); std::string::__init(v160, "Ultimate Haxxor mode enabled. Not...", 0x24u); SecretLayer2::updateMessageLabel((int)this, (int)v160); } else { memset(v161, 0, sizeof(v161)); std::string::__init(v161, "battop", 6u); v107 = sub_61A3BC((unsigned __int8 *)&v123, (unsigned __int8 *)v161); std::string::~string((int)v161); if ( v107 ) { v105 = v162; memset(v162, 0, sizeof(v162)); std::string::__init(v162, "He could be watching us right now...", 0x24u); SecretLayer2::updateMessageLabel((int)this, (int)v162); } else { memset(v163, 0, sizeof(v163)); std::string::__init(v163, "kappa", 5u); v108 = sub_61A3BC((unsigned __int8 *)&v123, (unsigned __int8 *)v163); std::string::~string((int)v163); if ( v108 ) { v105 = v164; memset(v164, 0, sizeof(v164)); std::string::__init(v164, "There is no Kappa icon...", 0x19u); SecretLayer2::updateMessageLabel((int)this, (int)v164); } else { memset(v165, 0, sizeof(v165)); std::string::__init(v165, "robtop", 6u); v109 = sub_61A3BC((unsigned __int8 *)&v123, (unsigned __int8 *)v165); std::string::~string((int)v165); if ( v109 ) { v105 = v166; memset(v166, 0, sizeof(v166)); std::string::__init(v166, "RUBRUBRUBRUBRUBRUB", 0x12u); SecretLayer2::updateMessageLabel((int)this, (int)v166); } else { v105 = (int *)v167; SecretLayer2::getErrorMessage((SecretLayer2 *)v167, (int)this); SecretLayer2::updateMessageLabel((int)this, (int)v167); } } } } } std::string::~string((int)v105); v110 = *((_DWORD *)this + 89); *((_DWORD *)this + 84) = 0; v111 = *(void (__fastcall **)(int, char *))(*(_DWORD *)v110 + 536); v117 = -1; v118 = 150; v111(v110, &v117); } } goto LABEL_60; } v87 = (AchievementManager *)AchievementManager::sharedState(v86); if ( AchievementManager::isAchievementEarned(v87, "geometry.ach.v2.secret10") ) goto LABEL_52; v88 = (GameManager *)GameManager::sharedState(nullptr); GameManager::reportAchievementWithID(v88, "geometry.ach.v2.secret10", (const char *)&dword_64, 0); v72 = v152; memset(v152, 0, sizeof(v152)); std::string::__init(v152, "You overcooked it again!", 0x18u); SecretLayer2::updateMessageLabel((int)this, (int)v152); } } } } std::string::~string((int)v72); v89 = *((_DWORD *)this + 89); v90 = *(void (__fastcall **)(int, char *))(*(_DWORD *)v89 + 536); v117 = 0; v118 = -1; v90(v89, &v117); v29 = *((cocos2d::CCLabelBMFont **)this + 89); v30 = 300.0; } cocos2d::CCLabelBMFont::limitLabelWidth(v29, v30, 0.8, 0.0); } *((_DWORD *)this + 84) = 0; goto LABEL_60; } v24 = (AchievementManager *)AchievementManager::sharedState(v23); if ( !AchievementManager::isAchievementEarned(v24, "geometry.ach.v2.secret01") ) { v25 = (GameManager *)GameManager::sharedState(nullptr); GameManager::reportAchievementWithID(v25, "geometry.ach.v2.secret01", (const char *)&dword_64, 0); v26 = v134; memset(v134, 0, sizeof(v134)); std::string::__init(v134, "O-oooooooooo AAAAE-A-A-I-A-U- JO-oooooooooooo!", 0x2Eu); SecretLayer2::updateMessageLabel((int)this, (int)v134); goto LABEL_43; } LABEL_52: v35 = *((_DWORD *)this + 84); SecretLayer2::getMessage((SecretLayer2 *)v168, this); SecretLayer2::updateMessageLabel((int)this, (int)v168); std::string::~string((int)v168); v36 = *((_DWORD *)this + 89); if ( v35 <= 0 && *((int *)this + 84) <= 0 ) v37 = *(void (**)(void))(*(_DWORD *)v36 + 536); else v37 = *(void (**)(void))(*(_DWORD *)v36 + 536); v37(); LABEL_60: std::string::~string((int)&v123); return std::string::~string((int)&v119); }
GD Web Decomp Icon

GD Web Decomp

Raw Source