// // SecretLayer2::onSubmit from 0x10030a760 to 0x10030b698 (3896 bytes) // // 1 xrefs: // > SecretLayer2::init @ 0x100309ee0 // // 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 // void __fastcall SecretLayer2::onSubmit(SecretLayer2 *a1, cocos2d::CCObject *a2) { std::string::size_type size; // x9 __int64 v4; // x19 unsigned __int64 v5; // x8 unsigned int v6; // w20 std::string *p_dst; // x8 std::string::value_type v8; // w0 std::string *v9; // x8 std::string::size_type v10; // x9 std::string::size_type v12; // x20 std::string::size_type v13; // x8 std::string *v14; // x28 std::string::size_type v15; // x27 unsigned __int64 v16; // x24 std::string::size_type v17; // x19 void **v18; // x21 signed __int64 v19; // x22 signed __int64 v20; // x9 char *v21; // x25 char *v22; // x0 int v23; // w20 char *v24; // x0 char *v25; // x23 std::string::size_type v26; // x2 const std::string::value_type *v27; // x3 std::string::size_type v28; // x4 std::string::size_type v29; // x8 SecretLayer2 *v30; // x21 CCTextInputNode *m_searchInput; // x20 _BOOL4 v32; // w0 _BOOL4 v33; // w20 AchievementManager *v34; // x0 int m_selectedThread; // w19 void *v36; // x1 GameManager *v37; // x0 std::string *v38; // x0 int v39; // w20 GameManager *v40; // x0 AchievementManager *v41; // x0 GameManager *v42; // x0 cocos2d::CCLabelBMFont *v43; // x0 GameManager *v44; // x0 _BOOL4 v45; // w0 _BOOL4 v46; // w20 AchievementManager *v47; // x0 FMODAudioEngine *v48; // x20 GameManager *v49; // x0 GameStatsManager *v50; // x0 GameStatsManager *v51; // x0 GameManager *v52; // x0 cocos2d::CCLabelBMFont *m_messageLabel; // x0 _BOOL4 v54; // w0 _BOOL4 v55; // w20 AchievementManager *v56; // x0 GameManager *v57; // x0 cocos2d::CCLabelBMFont *v58; // x0 GameStatsManager *v59; // x0 int Stat; // w0 cocos2d::CCString *v61; // x0 char *CString; // x0 _BOOL4 v63; // w0 _BOOL4 v64; // w20 AchievementManager *v65; // x0 GameManager *v66; // x0 cocos2d::CCLabelBMFont *v67; // x0 _BOOL4 v68; // w20 AchievementManager *v69; // x0 GameManager *v70; // x0 cocos2d::CCLabelBMFont *v71; // x0 _BOOL4 v72; // w20 AchievementManager *v73; // x0 GameManager *v74; // x0 cocos2d::CCLabelBMFont *v75; // x0 _BOOL4 v76; // w20 AchievementManager *v77; // x0 GameManager *v78; // x0 cocos2d::CCLabelBMFont *v79; // x0 _BOOL4 v80; // w20 AchievementManager *v81; // x0 GameManager *v82; // x0 cocos2d::CCLabelBMFont *v83; // x0 _BOOL4 v84; // w20 AchievementManager *v85; // x0 GameManager *v86; // x0 cocos2d::CCLabelBMFont *v87; // x0 _BOOL4 v88; // w20 GameManager *v89; // x0 cocos2d::CCLabelBMFont *v90; // x0 _BOOL4 v91; // w20 GameManager *v92; // x0 GameManager *v93; // x0 SecretNumberLayer *v94; // x20 GameManager *v95; // x0 std::string::size_type v96; // x8 _BOOL4 v97; // w20 __int64 *v98; // x8 _BOOL4 v99; // w20 _BOOL4 v100; // w20 _BOOL4 v101; // w20 _BOOL4 v102; // w20 cocos2d::CCLabelBMFont *v103; // x0 SecretLayer2 *v104; // [xsp+10h] [xbp-2C0h] void *__p; // [xsp+18h] [xbp-2B8h] BYREF char v106; // [xsp+2Fh] [xbp-2A1h] __int64 v107[2]; // [xsp+30h] [xbp-2A0h] BYREF char v108; // [xsp+47h] [xbp-289h] __int64 v109[2]; // [xsp+48h] [xbp-288h] BYREF char v110; // [xsp+5Fh] [xbp-271h] __int64 v111[2]; // [xsp+60h] [xbp-270h] BYREF char v112; // [xsp+77h] [xbp-259h] __int64 v113[2]; // [xsp+78h] [xbp-258h] BYREF char v114; // [xsp+8Fh] [xbp-241h] __int64 v115[2]; // [xsp+90h] [xbp-240h] BYREF char v116; // [xsp+A7h] [xbp-229h] __int64 v117[2]; // [xsp+A8h] [xbp-228h] BYREF char v118; // [xsp+BFh] [xbp-211h] void *v119[2]; // [xsp+C0h] [xbp-210h] BYREF char v120; // [xsp+D7h] [xbp-1F9h] void *v121[2]; // [xsp+D8h] [xbp-1F8h] BYREF char v122; // [xsp+EFh] [xbp-1E1h] void *v123[2]; // [xsp+F0h] [xbp-1E0h] BYREF char v124; // [xsp+107h] [xbp-1C9h] void *v125[2]; // [xsp+108h] [xbp-1C8h] BYREF char v126; // [xsp+11Fh] [xbp-1B1h] void *v127[2]; // [xsp+120h] [xbp-1B0h] BYREF char v128; // [xsp+137h] [xbp-199h] void *v129[2]; // [xsp+138h] [xbp-198h] BYREF char v130; // [xsp+14Fh] [xbp-181h] void *v131[2]; // [xsp+150h] [xbp-180h] BYREF char v132; // [xsp+167h] [xbp-169h] void *v133[2]; // [xsp+168h] [xbp-168h] BYREF char v134; // [xsp+17Fh] [xbp-151h] void *v135[2]; // [xsp+180h] [xbp-150h] BYREF char v136; // [xsp+197h] [xbp-139h] void *v137[2]; // [xsp+198h] [xbp-138h] BYREF char v138; // [xsp+1AFh] [xbp-121h] void *v139[2]; // [xsp+1B0h] [xbp-120h] BYREF char v140; // [xsp+1C7h] [xbp-109h] void *v141[2]; // [xsp+1C8h] [xbp-108h] BYREF char v142; // [xsp+1DFh] [xbp-F1h] void *v143[2]; // [xsp+1E0h] [xbp-F0h] BYREF char v144; // [xsp+1F7h] [xbp-D9h] __int64 *v145[2]; // [xsp+1F8h] [xbp-D8h] BYREF char v146; // [xsp+20Fh] [xbp-C1h] std::string::value_type *v147; // [xsp+210h] [xbp-C0h] BYREF std::string::size_type v148; // [xsp+218h] [xbp-B8h] unsigned __int8 v149; // [xsp+227h] [xbp-A9h] void **v150; // [xsp+228h] [xbp-A8h] BYREF signed __int64 v151; // [xsp+230h] [xbp-A0h] char v152; // [xsp+23Fh] [xbp-91h] std::string __dst; // [xsp+240h] [xbp-90h] BYREF std::string v154; // [xsp+260h] [xbp-70h] BYREF CCTextInputNode::getString((__int64)a1->m_searchInput, &v154); if ( SHIBYTE(v154.__r_.__value_.__r.__words[2]) < 0 ) sub_1000097D0(&__dst, v154.__r_.__value_.__l.__data_, v154.__r_.__value_.__l.__size_); else __dst = v154; size = __dst.__r_.__value_.__l.__size_; if ( (__dst.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) == 0LL ) size = SHIBYTE(__dst.__r_.__value_.__r.__words[2]); if ( size ) { v4 = 0; v5 = (unsigned __int64)SHIBYTE(__dst.__r_.__value_.__r.__words[2]) >> 63; v6 = 1; do { if ( (v5 & 1) != 0 ) p_dst = (std::string *)__dst.__r_.__value_.__r.__words[0]; else p_dst = &__dst; v8 = __tolower(p_dst->__r_.__value_.__s.__data_[v4]); if ( (__dst.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) == 0LL ) v9 = &__dst; else v9 = (std::string *)__dst.__r_.__value_.__r.__words[0]; v9->__r_.__value_.__s.__data_[v4] = v8; v4 = v6; v10 = SHIBYTE(__dst.__r_.__value_.__r.__words[2]); v5 = (unsigned __int64)SHIBYTE(__dst.__r_.__value_.__r.__words[2]) >> 63; if ( (__dst.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) != 0LL ) v10 = __dst.__r_.__value_.__l.__size_; } while ( v10 > v6++ ); } sub_100009900(&v150, " "); v104 = a1; sub_100009900(&v147, ""); v12 = 0; v13 = HIBYTE(__dst.__r_.__value_.__r.__words[2]); if ( (__dst.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) == 0LL ) v14 = &__dst; else v14 = (std::string *)__dst.__r_.__value_.__r.__words[0]; if ( (__dst.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) != 0LL ) v13 = __dst.__r_.__value_.__l.__size_; v15 = v152; v16 = (unsigned __int64)v152 >> 63; v17 = v151; if ( v152 >= 0 ) v18 = (void **)&v150; else v18 = v150; if ( v152 >= 0 ) v19 = v152; else v19 = v151; while ( !v19 ) { LABEL_38: if ( v12 != -1 ) { if ( (v16 & 1) != 0 ) v26 = v17; else v26 = v15; if ( (v149 & 0x80u) == 0 ) v27 = (const std::string::value_type *)&v147; else v27 = v147; if ( (v149 & 0x80u) == 0 ) v28 = v149; else v28 = v148; std::string::replace(&__dst, v12, v26, v27, v28); v29 = v149; if ( (v149 & 0x80u) != 0 ) v29 = v148; v12 += v29; v13 = HIBYTE(__dst.__r_.__value_.__r.__words[2]); if ( (__dst.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) == 0LL ) v14 = &__dst; else v14 = (std::string *)__dst.__r_.__value_.__r.__words[0]; if ( (__dst.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) != 0LL ) v13 = __dst.__r_.__value_.__l.__size_; v15 = v152; v16 = (unsigned __int64)v152 >> 63; v17 = v151; v18 = v152 >= 0 ? (void **)&v150 : v150; v19 = v152 >= 0 ? v152 : v151; if ( v13 >= v12 ) continue; } goto LABEL_62; } v20 = v13 - v12; if ( (__int64)(v13 - v12) >= v19 ) { v21 = (char *)v14 + v13; v22 = (char *)v14 + v12; v23 = *(char *)v18; do { if ( v20 - v19 == -1 ) break; v24 = (char *)memchr(v22, v23, v20 - v19 + 1); if ( !v24 ) break; v25 = v24; if ( !memcmp(v24, v18, v19) ) { if ( v25 == v21 ) break; v12 = v25 - (char *)v14; goto LABEL_38; } v22 = v25 + 1; v20 = v21 - (v25 + 1); } while ( v20 >= v19 ); } LABEL_62: if ( (char)v149 < 0 ) { operator delete(v147); LOBYTE(v15) = v152; } v30 = v104; if ( (v15 & 0x80) != 0 ) operator delete(v150); m_searchInput = v104->m_searchInput; sub_100009900(v145, ""); CCTextInputNode::setString(m_searchInput, v145); if ( v146 < 0 ) operator delete(v145[0]); sub_100009900(&v150, "brainpower"); v32 = sub_1000045BC(&__dst, &v150); v33 = v32; if ( v152 < 0 ) { operator delete(v150); if ( v33 ) goto LABEL_70; } else if ( v32 ) { LABEL_70: v34 = AchievementManager::sharedState(); if ( AchievementManager::isAchievementEarned(v34, "geometry.ach.v2.secret01") ) { LABEL_71: m_selectedThread = v104->m_selectedThread; SecretLayer2::getMessage(v104); SecretLayer2::updateMessageLabel((__int64)v104, (__int64 *)&__p); if ( v106 < 0 ) operator delete(__p); v36 = &unk_100644E4B; if ( m_selectedThread <= 0 && v104->m_selectedThread <= 0 ) v36 = &unk_100644E48; ((void (__fastcall *)(cocos2d::CCLabelBMFont *, void *))v104->m_messageLabel->setColor)(v104->m_messageLabel, v36); goto LABEL_150; } v52 = GameManager::sharedState(); GameManager::reportAchievementWithID(v52, "geometry.ach.v2.secret01", 100, 0); sub_100009900(v143, "O-oooooooooo AAAAE-A-A-I-A-U- JO-oooooooooooo!"); SecretLayer2::updateMessageLabel((__int64)v104, (__int64 *)v143); if ( v144 < 0 ) operator delete(v143[0]); m_messageLabel = v104->m_messageLabel; BYTE2(v150) = -1; LOWORD(v150) = -256; ((void (__fastcall *)(cocos2d::CCLabelBMFont *, void ***))m_messageLabel->setColor)(m_messageLabel, &v150); cocos2d::CCLabelBMFont::limitLabelWidth(v104->m_messageLabel, 400.0, 0.8, 0.0); LABEL_149: v104->m_selectedThread = 0; goto LABEL_150; } v37 = GameManager::sharedState(); if ( v37->m_secretNumber.seed > v37->m_secretNumber.random ) { v38 = (v154.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) == 0LL ? &v154 : (std::string *)v154.__r_.__value_.__r.__words[0]; v39 = atoi((const char *)v38); v40 = GameManager::sharedState(); if ( v39 == v40->m_secretNumber.seed - v40->m_secretNumber.random ) { v41 = AchievementManager::sharedState(); if ( AchievementManager::isAchievementEarned(v41, "geometry.ach.v2.secret02") ) goto LABEL_71; v42 = GameManager::sharedState(); GameManager::reportAchievementWithID(v42, "geometry.ach.v2.secret02", 100, 0); sub_100009900(v141, "Impressive..."); SecretLayer2::updateMessageLabel((__int64)v104, (__int64 *)v141); if ( v142 < 0 ) operator delete(v141[0]); v43 = v104->m_messageLabel; BYTE2(v150) = -1; LOWORD(v150) = -256; ((void (__fastcall *)(cocos2d::CCLabelBMFont *, void ***))v43->setColor)(v43, &v150); goto LABEL_149; } } v44 = GameManager::sharedState(); if ( GameManager::getUGV(v44, "3") ) { sub_100009900(&v150, "glubfub"); v45 = sub_1000045BC(&__dst, &v150); v46 = v45; if ( v152 < 0 ) { operator delete(v150); if ( v46 ) goto LABEL_90; } else if ( v45 ) { LABEL_90: v47 = AchievementManager::sharedState(); if ( AchievementManager::isAchievementEarned(v47, "geometry.ach.v2.secret03") ) goto LABEL_71; v48 = FMODAudioEngine::sharedEngine(); sub_100009900(v139, "highscoreGet02.ogg"); FMODAudioEngine::playEffect_1((__int64)v48, (__int64)v139); if ( v140 < 0 ) operator delete(v139[0]); v49 = GameManager::sharedState(); GameManager::reportAchievementWithID(v49, "geometry.ach.v2.secret03", 100, 0); v50 = GameStatsManager::sharedState(); GameStatsManager::storeSecretCoin(v50, "secretB03"); v51 = GameStatsManager::sharedState(); GameStatsManager::incrementStat_1(v51, "8"); sub_100009900(v137, "NOOOO!! THIEF! THIEF!"); SecretLayer2::updateMessageLabel((__int64)v104, (__int64 *)v137); if ( v138 < 0 ) operator delete(v137[0]); SecretLayer2::playCoinEffect(v104); goto LABEL_149; } } sub_100009900(&v150, "octocube"); v54 = sub_1000045BC(&__dst, &v150); v55 = v54; if ( v152 < 0 ) { operator delete(v150); if ( v55 ) goto LABEL_102; } else if ( v54 ) { LABEL_102: v56 = AchievementManager::sharedState(); if ( AchievementManager::isAchievementEarned(v56, "geometry.ach.v2.secret04") ) goto LABEL_150; v57 = GameManager::sharedState(); GameManager::reportAchievementWithID(v57, "geometry.ach.v2.secret04", 100, 0); sub_100009900(v135, "Ugh... Slippery"); SecretLayer2::updateMessageLabel((__int64)v104, (__int64 *)v135); if ( v136 < 0 ) operator delete(v135[0]); v58 = v104->m_messageLabel; BYTE2(v150) = -1; LOWORD(v150) = -256; ((void (__fastcall *)(cocos2d::CCLabelBMFont *, void ***))v58->setColor)(v58, &v150); cocos2d::CCLabelBMFont::limitLabelWidth(v104->m_messageLabel, 400.0, 0.8, 0.0); goto LABEL_149; } v59 = GameStatsManager::sharedState(); Stat = GameStatsManager::getStat(v59, "6"); v61 = (cocos2d::CCString *)sub_100268F4C("%i", Stat); CString = (char *)cocos2d::CCString::getCString(v61); sub_100009900(&v150, CString); v63 = sub_1000045BC(&v154, &v150); v64 = v63; if ( v152 < 0 ) { operator delete(v150); if ( v64 ) goto LABEL_109; } else if ( v63 ) { LABEL_109: v65 = AchievementManager::sharedState(); if ( AchievementManager::isAchievementEarned(v65, "geometry.ach.v2.secret05") ) goto LABEL_71; v66 = GameManager::sharedState(); GameManager::reportAchievementWithID(v66, "geometry.ach.v2.secret05", 100, 0); sub_100009900(v133, "I wish I had that many shinies..."); SecretLayer2::updateMessageLabel((__int64)v104, (__int64 *)v133); if ( v134 < 0 ) operator delete(v133[0]); v67 = v104->m_messageLabel; BYTE2(v150) = -1; LOWORD(v150) = -256; ((void (__fastcall *)(cocos2d::CCLabelBMFont *, void ***))v67->setColor)(v67, &v150); goto LABEL_149; } sub_100009900(&v150, "seven"); v68 = sub_1000045BC(&__dst, &v150); if ( v152 < 0 ) operator delete(v150); if ( v68 ) { v69 = AchievementManager::sharedState(); if ( AchievementManager::isAchievementEarned(v69, "geometry.ach.v2.secret06") ) goto LABEL_150; v70 = GameManager::sharedState(); GameManager::reportAchievementWithID(v70, "geometry.ach.v2.secret06", 100, 0); sub_100009900(v131, "I should have been a doctor..."); SecretLayer2::updateMessageLabel((__int64)v104, (__int64 *)v131); if ( v132 < 0 ) operator delete(v131[0]); v71 = v104->m_messageLabel; BYTE2(v150) = -1; LOWORD(v150) = -256; ((void (__fastcall *)(cocos2d::CCLabelBMFont *, void ***))v71->setColor)(v71, &v150); cocos2d::CCLabelBMFont::limitLabelWidth(v104->m_messageLabel, 300.0, 0.8, 0.0); goto LABEL_149; } sub_100009900(&v150, "gimmiethecolor"); v72 = sub_1000045BC(&__dst, &v150); if ( v152 < 0 ) operator delete(v150); if ( v72 ) { v73 = AchievementManager::sharedState(); if ( AchievementManager::isAchievementEarned(v73, "geometry.ach.v2.secret07") ) goto LABEL_150; v74 = GameManager::sharedState(); GameManager::reportAchievementWithID(v74, "geometry.ach.v2.secret07", 100, 0); sub_100009900(v129, "How many colors do you need?"); SecretLayer2::updateMessageLabel((__int64)v104, (__int64 *)v129); if ( v130 < 0 ) operator delete(v129[0]); v75 = v104->m_messageLabel; BYTE2(v150) = -1; LOWORD(v150) = -256; ((void (__fastcall *)(cocos2d::CCLabelBMFont *, void ***))v75->setColor)(v75, &v150); cocos2d::CCLabelBMFont::limitLabelWidth(v104->m_messageLabel, 300.0, 0.8, 0.0); goto LABEL_149; } sub_100009900(&v150, "thechickenisonfire"); v76 = sub_1000045BC(&__dst, &v150); if ( v152 < 0 ) operator delete(v150); if ( v76 ) { v77 = AchievementManager::sharedState(); if ( AchievementManager::isAchievementEarned(v77, "geometry.ach.v2.secret08") ) goto LABEL_150; v78 = GameManager::sharedState(); GameManager::reportAchievementWithID(v78, "geometry.ach.v2.secret08", 100, 0); sub_100009900(v127, "Indeed it is..."); SecretLayer2::updateMessageLabel((__int64)v104, (__int64 *)v127); if ( v128 < 0 ) operator delete(v127[0]); v79 = v104->m_messageLabel; BYTE2(v150) = -1; LOWORD(v150) = -256; ((void (__fastcall *)(cocos2d::CCLabelBMFont *, void ***))v79->setColor)(v79, &v150); cocos2d::CCLabelBMFont::limitLabelWidth(v104->m_messageLabel, 300.0, 0.8, 0.0); goto LABEL_149; } sub_100009900(&v150, "d4shg30me7ry"); v80 = sub_1000045BC(&__dst, &v150); if ( v152 < 0 ) operator delete(v150); if ( v80 ) { v81 = AchievementManager::sharedState(); if ( AchievementManager::isAchievementEarned(v81, "geometry.ach.v2.secret09") ) goto LABEL_71; v82 = GameManager::sharedState(); GameManager::reportAchievementWithID(v82, "geometry.ach.v2.secret09", 100, 0); sub_100009900(v125, "Good times"); SecretLayer2::updateMessageLabel((__int64)v104, (__int64 *)v125); if ( v126 < 0 ) operator delete(v125[0]); v83 = v104->m_messageLabel; BYTE2(v150) = -1; LOWORD(v150) = -256; ((void (__fastcall *)(cocos2d::CCLabelBMFont *, void ***))v83->setColor)(v83, &v150); cocos2d::CCLabelBMFont::limitLabelWidth(v104->m_messageLabel, 300.0, 0.8, 0.0); goto LABEL_149; } sub_100009900(&v150, "thechickenisready"); v84 = sub_1000045BC(&__dst, &v150); if ( v152 < 0 ) operator delete(v150); if ( v84 ) { v85 = AchievementManager::sharedState(); if ( AchievementManager::isAchievementEarned(v85, "geometry.ach.v2.secret10") ) goto LABEL_71; v86 = GameManager::sharedState(); GameManager::reportAchievementWithID(v86, "geometry.ach.v2.secret10", 100, 0); sub_100009900(v123, "You overcooked it again!"); SecretLayer2::updateMessageLabel((__int64)v104, (__int64 *)v123); if ( v124 < 0 ) operator delete(v123[0]); v87 = v104->m_messageLabel; BYTE2(v150) = -1; LOWORD(v150) = -256; ((void (__fastcall *)(cocos2d::CCLabelBMFont *, void ***))v87->setColor)(v87, &v150); cocos2d::CCLabelBMFont::limitLabelWidth(v104->m_messageLabel, 300.0, 0.8, 0.0); goto LABEL_149; } sub_100009900(&v150, "thechallenge"); v88 = sub_1000045BC(&__dst, &v150); if ( v152 < 0 ) operator delete(v150); if ( !v88 ) { sub_100009900(&v150, "cod3breaker"); v91 = sub_1000045BC(&__dst, &v150); if ( v152 < 0 ) operator delete(v150); if ( v91 ) { sub_100009900(v119, " "); SecretLayer2::updateMessageLabel((__int64)v104, (__int64 *)v119); if ( v120 < 0 ) operator delete(v119[0]); v104->m_selectedThread = 0; v92 = GameManager::sharedState(); if ( v92->m_secretNumber.seed <= v92->m_secretNumber.random ) { v93 = GameManager::sharedState(); GameManager::generateSecretNumber(v93); } v94 = SecretNumberLayer::create(); ((void (__fastcall *)(SecretLayer2 *, SecretNumberLayer *, __int64))v104->addChild_0)(v104, v94, 100); v95 = GameManager::sharedState(); SecretNumberLayer::playNumberEffect(v94, v95->m_secretNumber.seed - v95->m_secretNumber.random); goto LABEL_150; } v96 = HIBYTE(v154.__r_.__value_.__r.__words[2]); if ( (v154.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) != 0LL ) v96 = v154.__r_.__value_.__l.__size_; if ( !v96 ) goto LABEL_71; sub_100009900(&v150, "unicorn"); v97 = sub_1000045BC(&__dst, &v150); if ( v152 < 0 ) operator delete(v150); if ( v97 ) { sub_100009900(v117, "Why do they have a horn?"); SecretLayer2::updateMessageLabel((__int64)v104, v117); if ( v118 < 0 ) { v98 = v117; LABEL_200: operator delete((void *)*v98); } } else { sub_100009900(&v150, "rubrubpowah123"); v99 = sub_1000045BC(&__dst, &v150); if ( v152 < 0 ) operator delete(v150); if ( v99 ) { sub_100009900(v115, "Ultimate Haxxor mode enabled. Not..."); SecretLayer2::updateMessageLabel((__int64)v104, v115); if ( v116 < 0 ) { v98 = v115; goto LABEL_200; } } else { sub_100009900(&v150, "battop"); v100 = sub_1000045BC(&__dst, &v150); if ( v152 < 0 ) operator delete(v150); if ( v100 ) { sub_100009900(v113, "He could be watching us right now..."); SecretLayer2::updateMessageLabel((__int64)v104, v113); v30 = v104; if ( v114 < 0 ) { v98 = v113; goto LABEL_200; } } else { sub_100009900(&v150, "kappa"); v101 = sub_1000045BC(&__dst, &v150); if ( v152 < 0 ) operator delete(v150); if ( v101 ) { sub_100009900(v111, "There is no Kappa icon..."); SecretLayer2::updateMessageLabel((__int64)v104, v111); v30 = v104; if ( v112 < 0 ) { v98 = v111; goto LABEL_200; } } else { sub_100009900(&v150, "robtop"); v102 = sub_1000045BC(&__dst, &v150); if ( v152 < 0 ) operator delete(v150); if ( v102 ) { sub_100009900(v109, "RUBRUBRUBRUBRUBRUB"); SecretLayer2::updateMessageLabel((__int64)v104, v109); v30 = v104; if ( v110 < 0 ) { v98 = v109; goto LABEL_200; } } else { SecretLayer2::getErrorMessage(v107, v104); SecretLayer2::updateMessageLabel((__int64)v104, v107); v30 = v104; if ( v108 < 0 ) { v98 = v107; goto LABEL_200; } } } } } } v30->m_selectedThread = 0; v103 = v30->m_messageLabel; BYTE2(v150) = 0; LOWORD(v150) = -26881; ((void (__fastcall *)(cocos2d::CCLabelBMFont *, void ***))v103->setColor)(v103, &v150); goto LABEL_150; } v89 = GameManager::sharedState(); if ( GameManager::getUGV(v89, "1") ) goto LABEL_71; sub_100009900(v121, "My level? You want to try it!?"); SecretLayer2::updateMessageLabel((__int64)v104, (__int64 *)v121); if ( v122 < 0 ) operator delete(v121[0]); v90 = v104->m_messageLabel; BYTE2(v150) = -1; LOWORD(v150) = -256; ((void (__fastcall *)(cocos2d::CCLabelBMFont *, void ***))v90->setColor)(v90, &v150); v104->m_selectedThread = 0; SecretLayer2::showSecretLevel(v104); LABEL_150: if ( SHIBYTE(__dst.__r_.__value_.__r.__words[2]) < 0 ) operator delete(__dst.__r_.__value_.__l.__data_); if ( SHIBYTE(v154.__r_.__value_.__r.__words[2]) < 0 ) operator delete(v154.__r_.__value_.__l.__data_); }
GD Web Decomp Icon

GD Web Decomp

Raw Source