// // GJBaseGameLayer::updateLayerCapacity from 0x47e340 to 0x47eed4 (2964 bytes) // // 1 xrefs: // > PlayLayer::setupHasCompleted @ 0x31bbaa // // 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 GJBaseGameLayer::updateLayerCapacity(GJBaseGameLayer *a1, _DWORD *a2) { int v4; // r8 int v5; // r4 int v6; // r9 signed int v7; // r6 unsigned int i; // r4 const char **v9; // r7 signed int v10; // r9 float v11; // s15 bool v12; // nf cocos2d::CCSpriteBatchNode *v13; // r0 int v14; // r8 cocos2d::CCArray *v15; // r4 int v16; // r0 int v17; // r9 const std::string *v18; // r1 cocos2d::CCObject *v19; // r0 cocos2d::CCString *v20; // r0 int v21; // r8 cocos2d::CCString *v22; // r0 int v23; // r7 cocos2d::CCString *v24; // r0 int v25; // r6 cocos2d::CCString *v26; // r0 int v27; // r0 cocos2d::CCSpriteBatchNode *m_gameBlendingLayerT2; // r7 cocos2d::CCString *v29; // r0 int v30; // r0 cocos2d::CCSpriteBatchNode *m_gameLayerT1; // r7 cocos2d::CCString *v32; // r0 int v33; // r0 cocos2d::CCSpriteBatchNode *m_gameBlendingLayerT1; // r6 cocos2d::CCString *v35; // r0 int v36; // r0 cocos2d::CCSpriteBatchNode *m_game2LayerT1; // r6 cocos2d::CCString *v38; // r0 int v39; // r0 cocos2d::CCSpriteBatchNode *m_game2BlendingLayerT1; // r6 cocos2d::CCString *v41; // r0 int v42; // r0 cocos2d::CCSpriteBatchNode *m_gameBlendingLayerB0; // r6 cocos2d::CCString *v44; // r0 int v45; // r0 cocos2d::CCSpriteBatchNode *m_gameLayerB1; // r6 cocos2d::CCString *v47; // r0 int v48; // r0 cocos2d::CCSpriteBatchNode *m_gameBlendingLayerB1; // r6 cocos2d::CCString *v50; // r0 int v51; // r0 cocos2d::CCSpriteBatchNode *m_fireLayerB1; // r6 cocos2d::CCString *v53; // r0 int v54; // r0 cocos2d::CCSpriteBatchNode *m_fireBlendingLayerB1; // r6 cocos2d::CCString *v56; // r0 int v57; // r0 cocos2d::CCSpriteBatchNode *m_gameLayerB2; // r6 cocos2d::CCString *v59; // r0 int v60; // r0 cocos2d::CCSpriteBatchNode *m_gameBlendingLayerB2; // r6 cocos2d::CCString *v62; // r0 int v63; // r0 cocos2d::CCSpriteBatchNode *m_glowLayerT1; // r6 cocos2d::CCString *v65; // r0 int v66; // r0 cocos2d::CCSpriteBatchNode *m_glowLayerB1; // r6 cocos2d::CCString *v68; // r0 int v69; // r0 cocos2d::CCSpriteBatchNode *m_glowLayerB2; // r6 cocos2d::CCString *v71; // r0 int v72; // r0 cocos2d::CCSpriteBatchNode *m_gameLayerB4; // r6 cocos2d::CCString *v74; // r0 int v75; // r0 cocos2d::CCSpriteBatchNode *m_gameBlendingLayerB4; // r6 cocos2d::CCString *v77; // r0 int v78; // r0 cocos2d::CCSpriteBatchNode *m_glowLayerB4; // r6 cocos2d::CCString *v80; // r0 int v81; // r0 cocos2d::CCSpriteBatchNode *m_gameLayerB3; // r6 cocos2d::CCString *v83; // r0 int v84; // r0 cocos2d::CCSpriteBatchNode *m_gameBlendingLayerB3; // r6 cocos2d::CCString *v86; // r0 int v87; // r0 cocos2d::CCSpriteBatchNode *m_glowLayerB3; // r6 cocos2d::CCString *v89; // r0 int v90; // r0 cocos2d::CCSpriteBatchNode *m_gameLayerT2; // r6 cocos2d::CCString *v92; // r0 int v93; // r0 cocos2d::CCSpriteBatchNode *m_glowLayerT2; // r6 cocos2d::CCString *v95; // r0 int v96; // r0 cocos2d::CCSpriteBatchNode *m_gameLayerT3; // r6 cocos2d::CCString *v98; // r0 int v99; // r0 cocos2d::CCSpriteBatchNode *m_gameBlendingLayerT3; // r6 cocos2d::CCString *v101; // r0 int v102; // r0 cocos2d::CCSpriteBatchNode *m_glowLayerT3; // r6 cocos2d::CCString *v104; // r0 int v105; // r0 cocos2d::CCSpriteBatchNode *m_gameBlendingLayerT4; // r6 cocos2d::CCString *v107; // r0 int v108; // r0 cocos2d::CCSpriteBatchNode *m_fireLayerT3; // r6 cocos2d::CCString *v110; // r0 int v111; // r0 cocos2d::CCSpriteBatchNode *m_fireBlendingLayerT3; // r6 cocos2d::CCString *v113; // r0 int v114; // r0 cocos2d::CCSpriteBatchNode *m_fireLayerT2; // r6 cocos2d::CCString *v116; // r0 int v117; // r0 cocos2d::CCSpriteBatchNode *m_fireBlendingLayerT2; // r6 cocos2d::CCString *v119; // r0 int v120; // r0 cocos2d::CCSpriteBatchNode *m_fireLayerT1; // r6 cocos2d::CCString *v122; // r0 int v123; // r0 cocos2d::CCSpriteBatchNode *m_fireBlendingLayerT1; // r6 cocos2d::CCString *v125; // r0 int v126; // r0 cocos2d::CCSpriteBatchNode *m_fireLayerB2; // r6 cocos2d::CCString *v128; // r0 int v129; // r0 cocos2d::CCSpriteBatchNode *m_fireBlendingLayerB2; // r6 cocos2d::CCString *v131; // r0 int v132; // r0 cocos2d::CCSpriteBatchNode *m_fireLayerB3; // r6 cocos2d::CCString *v134; // r0 int v135; // r0 cocos2d::CCSpriteBatchNode *m_fireBlendingLayerB3; // r6 cocos2d::CCString *v137; // r0 int v138; // r0 cocos2d::CCSpriteBatchNode *m_fireLayerB4; // r6 cocos2d::CCString *v140; // r0 int v141; // r0 cocos2d::CCSpriteBatchNode *m_fireBlendingLayerB4; // r6 cocos2d::CCString *v143; // r0 int v144; // r0 cocos2d::CCSpriteBatchNode *m_textLayerT3; // r6 cocos2d::CCString *v146; // r0 int v147; // r0 cocos2d::CCSpriteBatchNode *m_textBlendingLayerT3; // r6 cocos2d::CCString *v149; // r0 int v150; // r0 cocos2d::CCSpriteBatchNode *m_textLayerT2; // r6 cocos2d::CCString *v152; // r0 int v153; // r0 cocos2d::CCSpriteBatchNode *m_textBlendingLayerT2; // r6 cocos2d::CCString *v155; // r0 int v156; // r0 cocos2d::CCSpriteBatchNode *m_textLayerT1; // r6 cocos2d::CCString *v158; // r0 int v159; // r0 cocos2d::CCSpriteBatchNode *m_textBlendingLayerT1; // r6 cocos2d::CCString *v161; // r0 int v162; // r0 cocos2d::CCSpriteBatchNode *m_textLayerB1; // r6 cocos2d::CCString *v164; // r0 int v165; // r0 cocos2d::CCSpriteBatchNode *m_textBlendingLayerB1; // r6 cocos2d::CCString *v167; // r0 int v168; // r0 cocos2d::CCSpriteBatchNode *m_textLayerB2; // r6 cocos2d::CCString *v170; // r0 int v171; // r0 cocos2d::CCSpriteBatchNode *m_textBlendingLayerB2; // r6 cocos2d::CCString *v173; // r0 int v174; // r0 cocos2d::CCSpriteBatchNode *m_textLayerB3; // r6 cocos2d::CCString *v176; // r0 int v177; // r0 cocos2d::CCSpriteBatchNode *m_textBlendingLayerB3; // r6 cocos2d::CCString *v179; // r0 int v180; // r0 cocos2d::CCSpriteBatchNode *m_textLayerB4; // r6 cocos2d::CCString *v182; // r0 int v183; // r0 cocos2d::CCSpriteBatchNode *m_textBlendingLayerB4; // r6 cocos2d::CCString *v185; // r0 int v186; // r0 cocos2d::CCSpriteBatchNode *m_fireBlendingLayerT4; // r5 cocos2d::CCString *v188; // r0 int v189; // r0 int v190; // [sp+8h] [bp-24h] char *v191; // [sp+14h] [bp-18h] BYREF char *v192; // [sp+18h] [bp-14h] BYREF int v193; // [sp+1Ch] [bp-10h] int v194; // [sp+20h] [bp-Ch] if ( *(_DWORD *)(*a2 - 12) ) { if ( sub_7748A0((int)a2, ",") == -1 ) { v14 = 0; v15 = (cocos2d::CCArray *)cocos2d::CCArray::create(nullptr); v16 = sub_774A78((int)a2, "_"); v190 = *(_DWORD *)(*a2 - 12); v17 = v16; while ( 1 ) { sub_776158(&v191, a2, v14, v17 - v14); if ( *((_DWORD *)v191 - 3) || v14 != v190 ) { sub_776584((int)&v192, v191); v19 = (cocos2d::CCObject *)cocos2d::CCString::create((cocos2d::CCString *)&v192, v18); cocos2d::CCArray::addObject(v15, v19); sub_774008(&v192); } if ( v17 == -1 ) break; v14 = v17 + 1; v17 = sub_774A78((int)a2, "_"); sub_774008(&v191); } sub_774008(&v191); if ( cocos2d::CCArray::count(v15) > 3u ) { if ( cocos2d::CCArray::count(v15) > 0xFu ) { a1->m_increasedLayerCapacity = 1; m_gameBlendingLayerT2 = a1->m_gameBlendingLayerT2; v29 = cocos2d::CCArray::stringAtIndex(v15, 0); v30 = cocos2d::CCString::intValue(v29); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity( m_gameBlendingLayerT2, (unsigned int)(float)((float)v30 * 1.1)); m_gameLayerT1 = a1->m_gameLayerT1; v32 = cocos2d::CCArray::stringAtIndex(v15, 1u); v33 = cocos2d::CCString::intValue(v32); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(m_gameLayerT1, (unsigned int)(float)((float)v33 * 1.1)); m_gameBlendingLayerT1 = a1->m_gameBlendingLayerT1; v35 = cocos2d::CCArray::stringAtIndex(v15, 2u); v36 = cocos2d::CCString::intValue(v35); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity( m_gameBlendingLayerT1, (unsigned int)(float)((float)v36 * 1.1)); m_game2LayerT1 = a1->m_game2LayerT1; v38 = cocos2d::CCArray::stringAtIndex(v15, 3u); v39 = cocos2d::CCString::intValue(v38); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(m_game2LayerT1, (unsigned int)(float)((float)v39 * 1.1)); m_game2BlendingLayerT1 = a1->m_game2BlendingLayerT1; v41 = cocos2d::CCArray::stringAtIndex(v15, 4u); v42 = cocos2d::CCString::intValue(v41); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity( m_game2BlendingLayerT1, (unsigned int)(float)((float)v42 * 1.1)); m_gameBlendingLayerB0 = a1->m_gameBlendingLayerB0; v44 = cocos2d::CCArray::stringAtIndex(v15, 5u); v45 = cocos2d::CCString::intValue(v44); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity( m_gameBlendingLayerB0, (unsigned int)(float)((float)v45 * 1.1)); m_gameLayerB1 = a1->m_gameLayerB1; v47 = cocos2d::CCArray::stringAtIndex(v15, 6u); v48 = cocos2d::CCString::intValue(v47); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(m_gameLayerB1, (unsigned int)(float)((float)v48 * 1.1)); m_gameBlendingLayerB1 = a1->m_gameBlendingLayerB1; v50 = cocos2d::CCArray::stringAtIndex(v15, 7u); v51 = cocos2d::CCString::intValue(v50); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity( m_gameBlendingLayerB1, (unsigned int)(float)((float)v51 * 1.1)); m_fireLayerB1 = a1->m_fireLayerB1; v53 = cocos2d::CCArray::stringAtIndex(v15, 8u); v54 = cocos2d::CCString::intValue(v53); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(m_fireLayerB1, (unsigned int)(float)((float)v54 * 1.1)); m_fireBlendingLayerB1 = a1->m_fireBlendingLayerB1; v56 = cocos2d::CCArray::stringAtIndex(v15, 9u); v57 = cocos2d::CCString::intValue(v56); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity( m_fireBlendingLayerB1, (unsigned int)(float)((float)v57 * 1.1)); m_gameLayerB2 = a1->m_gameLayerB2; v59 = cocos2d::CCArray::stringAtIndex(v15, 0xAu); v60 = cocos2d::CCString::intValue(v59); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(m_gameLayerB2, (unsigned int)(float)((float)v60 * 1.1)); m_gameBlendingLayerB2 = a1->m_gameBlendingLayerB2; v62 = cocos2d::CCArray::stringAtIndex(v15, 0xBu); v63 = cocos2d::CCString::intValue(v62); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity( m_gameBlendingLayerB2, (unsigned int)(float)((float)v63 * 1.1)); m_glowLayerT1 = a1->m_glowLayerT1; v65 = cocos2d::CCArray::stringAtIndex(v15, 0xCu); v66 = cocos2d::CCString::intValue(v65); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(m_glowLayerT1, (unsigned int)(float)((float)v66 * 1.1)); m_glowLayerB1 = a1->m_glowLayerB1; v68 = cocos2d::CCArray::stringAtIndex(v15, 0xEu); v69 = cocos2d::CCString::intValue(v68); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(m_glowLayerB1, (unsigned int)(float)((float)v69 * 1.1)); m_glowLayerB2 = a1->m_glowLayerB2; v71 = cocos2d::CCArray::stringAtIndex(v15, 0xFu); v72 = cocos2d::CCString::intValue(v71); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(m_glowLayerB2, (unsigned int)(float)((float)v72 * 1.1)); if ( cocos2d::CCArray::count(v15) > 0x36u ) { a1->m_increasedLayerCapacity = 0; m_gameLayerB4 = a1->m_gameLayerB4; v74 = cocos2d::CCArray::stringAtIndex(v15, 0x10u); v75 = cocos2d::CCString::intValue(v74); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(m_gameLayerB4, (unsigned int)(float)((float)v75 * 1.1)); m_gameBlendingLayerB4 = a1->m_gameBlendingLayerB4; v77 = cocos2d::CCArray::stringAtIndex(v15, 0x11u); v78 = cocos2d::CCString::intValue(v77); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity( m_gameBlendingLayerB4, (unsigned int)(float)((float)v78 * 1.1)); m_glowLayerB4 = a1->m_glowLayerB4; v80 = cocos2d::CCArray::stringAtIndex(v15, 0x12u); v81 = cocos2d::CCString::intValue(v80); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(m_glowLayerB4, (unsigned int)(float)((float)v81 * 1.1)); m_gameLayerB3 = a1->m_gameLayerB3; v83 = cocos2d::CCArray::stringAtIndex(v15, 0x13u); v84 = cocos2d::CCString::intValue(v83); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(m_gameLayerB3, (unsigned int)(float)((float)v84 * 1.1)); m_gameBlendingLayerB3 = a1->m_gameBlendingLayerB3; v86 = cocos2d::CCArray::stringAtIndex(v15, 0x14u); v87 = cocos2d::CCString::intValue(v86); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity( m_gameBlendingLayerB3, (unsigned int)(float)((float)v87 * 1.1)); m_glowLayerB3 = a1->m_glowLayerB3; v89 = cocos2d::CCArray::stringAtIndex(v15, 0x15u); v90 = cocos2d::CCString::intValue(v89); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(m_glowLayerB3, (unsigned int)(float)((float)v90 * 1.1)); m_gameLayerT2 = a1->m_gameLayerT2; v92 = cocos2d::CCArray::stringAtIndex(v15, 0x16u); v93 = cocos2d::CCString::intValue(v92); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(m_gameLayerT2, (unsigned int)(float)((float)v93 * 1.1)); m_glowLayerT2 = a1->m_glowLayerT2; v95 = cocos2d::CCArray::stringAtIndex(v15, 0x17u); v96 = cocos2d::CCString::intValue(v95); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(m_glowLayerT2, (unsigned int)(float)((float)v96 * 1.1)); m_gameLayerT3 = a1->m_gameLayerT3; v98 = cocos2d::CCArray::stringAtIndex(v15, 0x18u); v99 = cocos2d::CCString::intValue(v98); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(m_gameLayerT3, (unsigned int)(float)((float)v99 * 1.1)); m_gameBlendingLayerT3 = a1->m_gameBlendingLayerT3; v101 = cocos2d::CCArray::stringAtIndex(v15, 0x19u); v102 = cocos2d::CCString::intValue(v101); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity( m_gameBlendingLayerT3, (unsigned int)(float)((float)v102 * 1.1)); m_glowLayerT3 = a1->m_glowLayerT3; v104 = cocos2d::CCArray::stringAtIndex(v15, 0x1Au); v105 = cocos2d::CCString::intValue(v104); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(m_glowLayerT3, (unsigned int)(float)((float)v105 * 1.1)); m_gameBlendingLayerT4 = a1->m_gameBlendingLayerT4; v107 = cocos2d::CCArray::stringAtIndex(v15, 0x1Bu); v108 = cocos2d::CCString::intValue(v107); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity( m_gameBlendingLayerT4, (unsigned int)(float)((float)v108 * 1.1)); m_fireLayerT3 = a1->m_fireLayerT3; v110 = cocos2d::CCArray::stringAtIndex(v15, 0x1Cu); v111 = cocos2d::CCString::intValue(v110); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(m_fireLayerT3, (unsigned int)(float)((float)v111 * 1.1)); m_fireBlendingLayerT3 = a1->m_fireBlendingLayerT3; v113 = cocos2d::CCArray::stringAtIndex(v15, 0x1Du); v114 = cocos2d::CCString::intValue(v113); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity( m_fireBlendingLayerT3, (unsigned int)(float)((float)v114 * 1.1)); m_fireLayerT2 = a1->m_fireLayerT2; v116 = cocos2d::CCArray::stringAtIndex(v15, 0x1Eu); v117 = cocos2d::CCString::intValue(v116); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(m_fireLayerT2, (unsigned int)(float)((float)v117 * 1.1)); m_fireBlendingLayerT2 = a1->m_fireBlendingLayerT2; v119 = cocos2d::CCArray::stringAtIndex(v15, 0x1Fu); v120 = cocos2d::CCString::intValue(v119); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity( m_fireBlendingLayerT2, (unsigned int)(float)((float)v120 * 1.1)); m_fireLayerT1 = a1->m_fireLayerT1; v122 = cocos2d::CCArray::stringAtIndex(v15, 0x20u); v123 = cocos2d::CCString::intValue(v122); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(m_fireLayerT1, (unsigned int)(float)((float)v123 * 1.1)); m_fireBlendingLayerT1 = a1->m_fireBlendingLayerT1; v125 = cocos2d::CCArray::stringAtIndex(v15, 0x21u); v126 = cocos2d::CCString::intValue(v125); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity( m_fireBlendingLayerT1, (unsigned int)(float)((float)v126 * 1.1)); m_fireLayerB2 = a1->m_fireLayerB2; v128 = cocos2d::CCArray::stringAtIndex(v15, 0x22u); v129 = cocos2d::CCString::intValue(v128); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(m_fireLayerB2, (unsigned int)(float)((float)v129 * 1.1)); m_fireBlendingLayerB2 = a1->m_fireBlendingLayerB2; v131 = cocos2d::CCArray::stringAtIndex(v15, 0x23u); v132 = cocos2d::CCString::intValue(v131); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity( m_fireBlendingLayerB2, (unsigned int)(float)((float)v132 * 1.1)); m_fireLayerB3 = a1->m_fireLayerB3; v134 = cocos2d::CCArray::stringAtIndex(v15, 0x24u); v135 = cocos2d::CCString::intValue(v134); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(m_fireLayerB3, (unsigned int)(float)((float)v135 * 1.1)); m_fireBlendingLayerB3 = a1->m_fireBlendingLayerB3; v137 = cocos2d::CCArray::stringAtIndex(v15, 0x25u); v138 = cocos2d::CCString::intValue(v137); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity( m_fireBlendingLayerB3, (unsigned int)(float)((float)v138 * 1.1)); m_fireLayerB4 = a1->m_fireLayerB4; v140 = cocos2d::CCArray::stringAtIndex(v15, 0x26u); v141 = cocos2d::CCString::intValue(v140); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(m_fireLayerB4, (unsigned int)(float)((float)v141 * 1.1)); m_fireBlendingLayerB4 = a1->m_fireBlendingLayerB4; v143 = cocos2d::CCArray::stringAtIndex(v15, 0x27u); v144 = cocos2d::CCString::intValue(v143); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity( m_fireBlendingLayerB4, (unsigned int)(float)((float)v144 * 1.1)); m_textLayerT3 = a1->m_textLayerT3; v146 = cocos2d::CCArray::stringAtIndex(v15, 0x28u); v147 = cocos2d::CCString::intValue(v146); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(m_textLayerT3, (unsigned int)(float)((float)v147 * 1.1)); m_textBlendingLayerT3 = a1->m_textBlendingLayerT3; v149 = cocos2d::CCArray::stringAtIndex(v15, 0x29u); v150 = cocos2d::CCString::intValue(v149); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity( m_textBlendingLayerT3, (unsigned int)(float)((float)v150 * 1.1)); m_textLayerT2 = a1->m_textLayerT2; v152 = cocos2d::CCArray::stringAtIndex(v15, 0x2Au); v153 = cocos2d::CCString::intValue(v152); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(m_textLayerT2, (unsigned int)(float)((float)v153 * 1.1)); m_textBlendingLayerT2 = a1->m_textBlendingLayerT2; v155 = cocos2d::CCArray::stringAtIndex(v15, 0x2Bu); v156 = cocos2d::CCString::intValue(v155); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity( m_textBlendingLayerT2, (unsigned int)(float)((float)v156 * 1.1)); m_textLayerT1 = a1->m_textLayerT1; v158 = cocos2d::CCArray::stringAtIndex(v15, 0x2Cu); v159 = cocos2d::CCString::intValue(v158); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(m_textLayerT1, (unsigned int)(float)((float)v159 * 1.1)); m_textBlendingLayerT1 = a1->m_textBlendingLayerT1; v161 = cocos2d::CCArray::stringAtIndex(v15, 0x2Du); v162 = cocos2d::CCString::intValue(v161); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity( m_textBlendingLayerT1, (unsigned int)(float)((float)v162 * 1.1)); m_textLayerB1 = a1->m_textLayerB1; v164 = cocos2d::CCArray::stringAtIndex(v15, 0x2Eu); v165 = cocos2d::CCString::intValue(v164); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(m_textLayerB1, (unsigned int)(float)((float)v165 * 1.1)); m_textBlendingLayerB1 = a1->m_textBlendingLayerB1; v167 = cocos2d::CCArray::stringAtIndex(v15, 0x2Fu); v168 = cocos2d::CCString::intValue(v167); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity( m_textBlendingLayerB1, (unsigned int)(float)((float)v168 * 1.1)); m_textLayerB2 = a1->m_textLayerB2; v170 = cocos2d::CCArray::stringAtIndex(v15, 0x30u); v171 = cocos2d::CCString::intValue(v170); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(m_textLayerB2, (unsigned int)(float)((float)v171 * 1.1)); m_textBlendingLayerB2 = a1->m_textBlendingLayerB2; v173 = cocos2d::CCArray::stringAtIndex(v15, 0x31u); v174 = cocos2d::CCString::intValue(v173); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity( m_textBlendingLayerB2, (unsigned int)(float)((float)v174 * 1.1)); m_textLayerB3 = a1->m_textLayerB3; v176 = cocos2d::CCArray::stringAtIndex(v15, 0x32u); v177 = cocos2d::CCString::intValue(v176); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(m_textLayerB3, (unsigned int)(float)((float)v177 * 1.1)); m_textBlendingLayerB3 = a1->m_textBlendingLayerB3; v179 = cocos2d::CCArray::stringAtIndex(v15, 0x33u); v180 = cocos2d::CCString::intValue(v179); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity( m_textBlendingLayerB3, (unsigned int)(float)((float)v180 * 1.1)); m_textLayerB4 = a1->m_textLayerB4; v182 = cocos2d::CCArray::stringAtIndex(v15, 0x34u); v183 = cocos2d::CCString::intValue(v182); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(m_textLayerB4, (unsigned int)(float)((float)v183 * 1.1)); m_textBlendingLayerB4 = a1->m_textBlendingLayerB4; v185 = cocos2d::CCArray::stringAtIndex(v15, 0x35u); v186 = cocos2d::CCString::intValue(v185); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity( m_textBlendingLayerB4, (unsigned int)(float)((float)v186 * 1.1)); m_fireBlendingLayerT4 = a1->m_fireBlendingLayerT4; v188 = cocos2d::CCArray::stringAtIndex(v15, 0x36u); v189 = cocos2d::CCString::intValue(v188); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity( m_fireBlendingLayerT4, (unsigned int)(float)((float)v189 * 1.1)); } } else if ( cocos2d::CCArray::count(v15) > 3u ) { v20 = cocos2d::CCArray::stringAtIndex(v15, 0); v21 = cocos2d::CCString::intValue(v20); v22 = cocos2d::CCArray::stringAtIndex(v15, 1u); v23 = cocos2d::CCString::intValue(v22); v24 = cocos2d::CCArray::stringAtIndex(v15, 2u); v25 = cocos2d::CCString::intValue(v24); v26 = cocos2d::CCArray::stringAtIndex(v15, 3u); v27 = cocos2d::CCString::intValue(v26); GJBaseGameLayer::updateLegacyLayerCapacity(a1, v21, v23, v25, v27); } } } else { v192 = nullptr; v193 = 0; v194 = 0; v4 = sub_774A78((int)a2, ","); v5 = 0; v6 = *(_DWORD *)(*a2 - 12); while ( 1 ) { sub_776158(&v191, a2, v5, v4 - v5); if ( *((_DWORD *)v191 - 3) || v5 != v6 ) { if ( v193 == v194 ) { std::vector::_M_emplace_back_aux((int)&v192, (int)&v191); } else { if ( v193 ) sub_775C20(v193); v193 += 4; } } if ( v4 == -1 ) break; v5 = v4 + 1; v4 = sub_774A78((int)a2, ","); sub_774008(&v191); } sub_774008(&v191); v7 = cocos2d::CCArray::count(a1->m_batchNodes); for ( i = 0; i < ((v193 - (int)v192) >> 2) - 1; i += 2 ) { v9 = (const char **)&v192[4 * i]; v10 = atoi(*v9); v11 = (float)atoi(v9[1]) * 1.1; v12 = v11 < 10000.0; if ( v11 >= 10000.0 ) v9 = (const char **)(&stru_270C + 4); else LODWORD(v11) = (int)v11; if ( v12 ) v9 = (const char **)LODWORD(v11); if ( v10 < v7 ) { v13 = (cocos2d::CCSpriteBatchNode *)cocos2d::CCArray::objectAtIndex(a1->m_batchNodes, v10); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(v13, (unsigned int)v9); } } std::vector::~vector((void **)&v192); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source