// // GJBaseGameLayer::setupLayers from 0x140208aa0 to 0x14020b046 (9638 bytes) // // 3 xrefs: // > LevelEditorLayer::init @ 0x1402d27a8 // > PlayLayer::init @ 0x1403a6157 // > @ 0x1406ccccc // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // // Hidden C++ exception states: #wind=3 void GJBaseGameLayer::setupLayers(GJBaseGameLayer *a1) { cocos2d::CCTextureCache *v2; // rax struct cocos2d::CCTexture2D *v3; // rsi cocos2d::CCTextureCache *v4; // rax struct cocos2d::CCTexture2D *v5; // r15 cocos2d::CCTextureCache *v6; // rax struct cocos2d::CCTexture2D *v7; // rbp cocos2d::CCTextureCache *v8; // rax struct cocos2d::CCTexture2D *v9; // rdi cocos2d::CCTextureCache *v10; // rax struct cocos2d::CCTexture2D *v11; // r12 cocos2d::CCTextureCache *v12; // rax cocos2d::CCTexture2D *v13; // r14 cocos2d::CCLayer *v14; // rax cocos2d::CCLayer *v15; // rax cocos2d::CCLayer *v16; // rax __int64 v17; // rcx cocos2d::CCDictionary *v18; // rax __int64 v19; // rcx cocos2d::CCDictionary *v20; // rax __int64 v21; // rdx __int64 v22; // rcx cocos2d::CCNode *v23; // rax struct cocos2d::CCSpriteBatchNode *v24; // rax cocos2d::CCSpriteBatchNode *v25; // rax struct cocos2d::CCSpriteBatchNode *v26; // rax struct cocos2d::CCSpriteBatchNode *v27; // rax cocos2d::CCSpriteBatchNode *v28; // rax struct cocos2d::CCSpriteBatchNode *v29; // rax cocos2d::CCSpriteBatchNode *v30; // rax struct cocos2d::CCSpriteBatchNode *v31; // rax cocos2d::CCSpriteBatchNode *v32; // rax struct cocos2d::CCSpriteBatchNode *v33; // rax struct cocos2d::CCSpriteBatchNode *v34; // rax struct cocos2d::CCSpriteBatchNode *v35; // rax struct cocos2d::CCSpriteBatchNode *v36; // rax struct cocos2d::CCSpriteBatchNode *v37; // rax struct cocos2d::CCSpriteBatchNode *v38; // rax struct cocos2d::CCSpriteBatchNode *v39; // rax struct cocos2d::CCSpriteBatchNode *v40; // rax struct cocos2d::CCSpriteBatchNode *v41; // rax struct cocos2d::CCSpriteBatchNode *v42; // rax cocos2d::CCSpriteBatchNode *v43; // rax struct cocos2d::CCSpriteBatchNode *v44; // rax cocos2d::CCSpriteBatchNode *v45; // rax struct cocos2d::CCSpriteBatchNode *v46; // rax cocos2d::CCSpriteBatchNode *v47; // rax struct cocos2d::CCSpriteBatchNode *v48; // rax cocos2d::CCSpriteBatchNode *v49; // rax cocos2d::CCSpriteBatchNode *v50; // rax struct cocos2d::CCSpriteBatchNode *v51; // rax cocos2d::CCSpriteBatchNode *v52; // rax struct cocos2d::CCSpriteBatchNode *v53; // rax struct cocos2d::CCSpriteBatchNode *v54; // rax struct cocos2d::CCSpriteBatchNode *v55; // rax struct cocos2d::CCSpriteBatchNode *v56; // rax cocos2d::CCSpriteBatchNode *v57; // rax struct cocos2d::CCSpriteBatchNode *v58; // rax cocos2d::CCSpriteBatchNode *v59; // rax struct cocos2d::CCSpriteBatchNode *v60; // rax cocos2d::CCSpriteBatchNode *v61; // rax struct cocos2d::CCSpriteBatchNode *v62; // rax cocos2d::CCSpriteBatchNode *v63; // rax struct cocos2d::CCSpriteBatchNode *v64; // rax cocos2d::CCSpriteBatchNode *v65; // rax struct cocos2d::CCSpriteBatchNode *v66; // rax cocos2d::CCSpriteBatchNode *v67; // rax struct cocos2d::CCSpriteBatchNode *v68; // rax cocos2d::CCSpriteBatchNode *v69; // rax struct cocos2d::CCSpriteBatchNode *v70; // rax cocos2d::CCSpriteBatchNode *v71; // rax struct cocos2d::CCSpriteBatchNode *v72; // rax CCNodeContainer *v73; // rax CCNodeContainer *v74; // rax CCNodeContainer *v75; // rax CCNodeContainer *v76; // rax CCNodeContainer *v77; // rax CCNodeContainer *v78; // rax CCNodeContainer *v79; // rax CCNodeContainer *v80; // rax CCNodeContainer *v81; // rax struct cocos2d::CCSpriteBatchNode *v82; // rax cocos2d::CCSpriteBatchNode *v83; // rax struct cocos2d::CCSpriteBatchNode *v84; // rax cocos2d::CCSpriteBatchNode *v85; // rax struct cocos2d::CCSpriteBatchNode *v86; // rax cocos2d::CCSpriteBatchNode *v87; // rax struct cocos2d::CCSpriteBatchNode *v88; // rax cocos2d::CCSpriteBatchNode *v89; // rax struct cocos2d::CCSpriteBatchNode *v90; // rax cocos2d::CCSpriteBatchNode *v91; // rax struct cocos2d::CCSpriteBatchNode *v92; // rax cocos2d::CCSpriteBatchNode *v93; // rax struct cocos2d::CCSpriteBatchNode *v94; // rax cocos2d::CCSpriteBatchNode *v95; // rax struct cocos2d::CCSpriteBatchNode *v96; // rax cocos2d::CCSpriteBatchNode *v97; // rax struct cocos2d::CCSpriteBatchNode *v98; // rax cocos2d::CCSpriteBatchNode *v99; // rax struct cocos2d::CCSpriteBatchNode *v100; // rax struct cocos2d::CCSpriteBatchNode *v101; // rax struct cocos2d::CCSpriteBatchNode *v102; // rax cocos2d::CCSpriteBatchNode *v103; // rax struct cocos2d::CCSpriteBatchNode *v104; // rax cocos2d::CCSpriteBatchNode *v105; // rax struct cocos2d::CCSpriteBatchNode *v106; // rax cocos2d::CCSpriteBatchNode *v107; // rax struct cocos2d::CCSpriteBatchNode *v108; // rax cocos2d::CCSpriteBatchNode *v109; // rax struct cocos2d::CCSpriteBatchNode *v110; // rax struct cocos2d::CCSpriteBatchNode *v111; // rax cocos2d::CCSpriteBatchNode *v112; // rax cocos2d::CCSpriteBatchNode *v113; // rax struct cocos2d::CCSpriteBatchNode *v114; // rax cocos2d::CCSpriteBatchNode *v115; // rax struct cocos2d::CCSpriteBatchNode *v116; // rax cocos2d::CCSpriteBatchNode *v117; // rax struct cocos2d::CCSpriteBatchNode *v118; // rax cocos2d::CCSpriteBatchNode *v119; // rax struct cocos2d::CCSpriteBatchNode *v120; // rax cocos2d::CCSpriteBatchNode *v121; // rax struct cocos2d::CCSpriteBatchNode *v122; // rax struct cocos2d::CCSpriteBatchNode *v123; // rax cocos2d::CCSpriteBatchNode *v124; // rax struct cocos2d::CCSpriteBatchNode *v125; // rax cocos2d::CCSpriteBatchNode *v126; // rax struct cocos2d::CCSpriteBatchNode *v127; // rax cocos2d::CCSpriteBatchNode *v128; // rax struct cocos2d::CCSpriteBatchNode *v129; // rax cocos2d::CCSpriteBatchNode *v130; // rax struct cocos2d::CCSpriteBatchNode *v131; // rax cocos2d::CCSpriteBatchNode *v132; // rax struct cocos2d::CCSpriteBatchNode *v133; // rax cocos2d::CCSpriteBatchNode *v134; // rax struct cocos2d::CCSpriteBatchNode *v135; // rax cocos2d::CCSpriteBatchNode *v136; // rax struct cocos2d::CCSpriteBatchNode *v137; // rax cocos2d::CCSpriteBatchNode *v138; // rax struct cocos2d::CCSpriteBatchNode *v139; // rax cocos2d::CCSpriteBatchNode *v140; // rax struct cocos2d::CCSpriteBatchNode *v141; // rax struct cocos2d::CCSpriteBatchNode *v142; // rax struct cocos2d::CCSpriteBatchNode *v143; // rax struct cocos2d::CCSpriteBatchNode *v144; // rax cocos2d::CCArray *m_batchNodes; // rbx cocos2d::ccArray *data; // rbx __int64 num; // rax cocos2d::CCNode **arr; // rbx cocos2d::CCNode **i; // rdi ShaderLayer *v150; // rbx bool (*init)(ShaderLayer *); // rdx bool v152; // al v2 = (cocos2d::CCTextureCache *)cocos2d::CCTextureCache::sharedTextureCache(); v3 = cocos2d::CCTextureCache::addImage(v2, "GJ_GameSheet.png", 0); v4 = (cocos2d::CCTextureCache *)cocos2d::CCTextureCache::sharedTextureCache(); v5 = cocos2d::CCTextureCache::addImage(v4, "GJ_GameSheet02.png", 0); v6 = (cocos2d::CCTextureCache *)cocos2d::CCTextureCache::sharedTextureCache(); v7 = cocos2d::CCTextureCache::addImage(v6, "GJ_ParticleSheet.png", 0); v8 = (cocos2d::CCTextureCache *)cocos2d::CCTextureCache::sharedTextureCache(); v9 = cocos2d::CCTextureCache::addImage(v8, "GJ_GameSheetGlow.png", 0); v10 = (cocos2d::CCTextureCache *)cocos2d::CCTextureCache::sharedTextureCache(); v11 = cocos2d::CCTextureCache::addImage(v10, "FireSheet_01.png", 0); v12 = (cocos2d::CCTextureCache *)cocos2d::CCTextureCache::sharedTextureCache(); v13 = cocos2d::CCTextureCache::addImage(v12, "PixelSheet_01.png", 0); v14 = (cocos2d::CCLayer *)cocos2d::CCLayer::create(); a1->m_objectLayer = v14; a1->m_objectParent->addChild_0(a1->m_objectParent, v14, 1); a1->m_objectLayer->setContentSize(a1->m_objectLayer, &stru_1406C1D40); v15 = (cocos2d::CCLayer *)cocos2d::CCLayer::create(); a1->m_inShaderObjectLayer = v15; a1->m_inShaderParent->addChild_0(a1->m_inShaderParent, v15, 1); a1->m_inShaderObjectLayer->setContentSize(a1->m_inShaderObjectLayer, &stru_1406C1D40); v16 = (cocos2d::CCLayer *)cocos2d::CCLayer::create(); a1->m_aboveShaderObjectLayer = v16; a1->m_aboveShaderParent->addChild_0(a1->m_aboveShaderParent, v16, 1); a1->m_aboveShaderObjectLayer->setContentSize(a1->m_aboveShaderObjectLayer, &stru_1406C1D40); v18 = (cocos2d::CCDictionary *)cocos2d::CCDictionary::create(v17); a1->m_gradientLayers = v18; cocos2d::CCObject::retain(v18); v20 = (cocos2d::CCDictionary *)cocos2d::CCDictionary::create(v19); a1->m_uiObjectLayers = v20; cocos2d::CCObject::retain(v20); v23 = (cocos2d::CCNode *)cocos2d::CCNode::create(v22, v21); a1->m_uiTriggerUI = v23; a1->m_objectParent->addChild_0(a1->m_objectParent, v23, 50); v24 = cocos2d::CCSpriteBatchNode::createWithTexture(v3); a1->m_gameBlendingLayerT2 = v24; ((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))v24->setBlendFunc)( &v24->cocos2d::CCTextureProtocol, 0x100000302LL); a1->m_objectLayer->addChild_0(a1->m_objectLayer, a1->m_gameBlendingLayerT2, 640); a1->m_gameBlendingLayerT2->setTag(a1->m_gameBlendingLayerT2, 1001); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_gameBlendingLayerT2); v25 = cocos2d::CCSpriteBatchNode::createWithTexture(v3); a1->m_gameLayerT1 = v25; a1->m_objectLayer->addChild_0(a1->m_objectLayer, v25, 360); a1->m_gameLayerT1->setTag(a1->m_gameLayerT1, 1002); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_gameLayerT1); v26 = cocos2d::CCSpriteBatchNode::createWithTexture(v3); a1->m_gameBlendingLayerT1 = v26; ((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))v26->setBlendFunc)( &v26->cocos2d::CCTextureProtocol, 0x100000302LL); a1->m_objectLayer->addChild_0(a1->m_objectLayer, a1->m_gameBlendingLayerT1, 340); a1->m_gameBlendingLayerT1->setTag(a1->m_gameBlendingLayerT1, 1004); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_gameBlendingLayerT1); v27 = cocos2d::CCSpriteBatchNode::createWithTexture(v3); a1->m_gameBlendingLayerB0 = v27; ((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))v27->setBlendFunc)( &v27->cocos2d::CCTextureProtocol, 0x100000302LL); a1->m_objectLayer->addChild_0(a1->m_objectLayer, a1->m_gameBlendingLayerB0, -10); a1->m_gameBlendingLayerB0->setTag(a1->m_gameBlendingLayerB0, 1009); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_gameBlendingLayerB0); v28 = cocos2d::CCSpriteBatchNode::createWithTexture(v3); a1->m_gameLayerB1 = v28; a1->m_objectLayer->addChild_0(a1->m_objectLayer, v28, -20); a1->m_gameLayerB1->setTag(a1->m_gameLayerB1, 1005); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_gameLayerB1); v29 = cocos2d::CCSpriteBatchNode::createWithTexture(v3); a1->m_gameBlendingLayerB1 = v29; ((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))v29->setBlendFunc)( &v29->cocos2d::CCTextureProtocol, 0x100000302LL); a1->m_objectLayer->addChild_0(a1->m_objectLayer, a1->m_gameBlendingLayerB1, -40); a1->m_gameBlendingLayerB1->setTag(a1->m_gameBlendingLayerB1, 1006); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_gameBlendingLayerB1); v30 = cocos2d::CCSpriteBatchNode::createWithTexture(v11); a1->m_fireLayerB1 = v30; a1->m_objectLayer->addChild_0(a1->m_objectLayer, v30, -120); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_fireLayerB1); v31 = cocos2d::CCSpriteBatchNode::createWithTexture(v11); a1->m_fireBlendingLayerB1 = v31; ((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))v31->setBlendFunc)( &v31->cocos2d::CCTextureProtocol, 0x100000302LL); a1->m_objectLayer->addChild_0(a1->m_objectLayer, a1->m_fireBlendingLayerB1, -140); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_fireBlendingLayerB1); v32 = cocos2d::CCSpriteBatchNode::createWithTexture(v3); a1->m_gameLayerB2 = v32; a1->m_objectLayer->addChild_0(a1->m_objectLayer, v32, -320); a1->m_gameLayerB2->setTag(a1->m_gameLayerB2, 1007); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_gameLayerB2); v33 = cocos2d::CCSpriteBatchNode::createWithTexture(v3); a1->m_gameBlendingLayerB2 = v33; ((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))v33->setBlendFunc)( &v33->cocos2d::CCTextureProtocol, 0x100000302LL); a1->m_objectLayer->addChild_0(a1->m_objectLayer, a1->m_gameBlendingLayerB2, -340); a1->m_gameBlendingLayerB2->setTag(a1->m_gameBlendingLayerB2, 1009); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_gameBlendingLayerB2); v34 = cocos2d::CCSpriteBatchNode::createWithTexture(v9); a1->m_glowLayerT1 = v34; ((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))v34->setBlendFunc)( &v34->cocos2d::CCTextureProtocol, 0x100000302LL); a1->m_objectLayer->addChild_0(a1->m_objectLayer, a1->m_glowLayerT1, 120); a1->m_glowLayerT1->setTag(a1->m_glowLayerT1, 1010); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_glowLayerT1); v35 = cocos2d::CCSpriteBatchNode::createWithTexture(v9); a1->m_glowLayerB1 = v35; ((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))v35->setBlendFunc)( &v35->cocos2d::CCTextureProtocol, 0x100000302LL); a1->m_objectLayer->addChild_0(a1->m_objectLayer, a1->m_glowLayerB1, -280); a1->m_glowLayerB1->setTag(a1->m_glowLayerB1, 1012); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_glowLayerB1); v36 = cocos2d::CCSpriteBatchNode::createWithTexture(v9); a1->m_glowLayerB2 = v36; ((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))v36->setBlendFunc)( &v36->cocos2d::CCTextureProtocol, 0x100000302LL); a1->m_objectLayer->addChild_0(a1->m_objectLayer, a1->m_glowLayerB2, -580); a1->m_glowLayerB2->setTag(a1->m_glowLayerB2, 1013); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_glowLayerB2); v37 = cocos2d::CCSpriteBatchNode::createWithTexture(v9); a1->m_glowLayerB5 = v37; ((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))v37->setBlendFunc)( &v37->cocos2d::CCTextureProtocol, 0x100000302LL); a1->m_objectLayer->addChild_0(a1->m_objectLayer, a1->m_glowLayerB5, -1480); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_glowLayerB5); v38 = cocos2d::CCSpriteBatchNode::createWithTexture(v9); a1->m_glowLayerB4 = v38; ((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))v38->setBlendFunc)( &v38->cocos2d::CCTextureProtocol, 0x100000302LL); a1->m_objectLayer->addChild_0(a1->m_objectLayer, a1->m_glowLayerB4, -1180); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_glowLayerB4); v39 = cocos2d::CCSpriteBatchNode::createWithTexture(v9); a1->m_glowLayerB3 = v39; ((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))v39->setBlendFunc)( &v39->cocos2d::CCTextureProtocol, 0x100000302LL); a1->m_objectLayer->addChild_0(a1->m_objectLayer, a1->m_glowLayerB3, -880); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_glowLayerB3); v40 = cocos2d::CCSpriteBatchNode::createWithTexture(v9); a1->m_glowLayerT2 = v40; ((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))v40->setBlendFunc)( &v40->cocos2d::CCTextureProtocol, 0x100000302LL); a1->m_objectLayer->addChild_0(a1->m_objectLayer, a1->m_glowLayerT2, 410); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_glowLayerT2); v41 = cocos2d::CCSpriteBatchNode::createWithTexture(v9); a1->m_glowLayerT3 = v41; ((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))v41->setBlendFunc)( &v41->cocos2d::CCTextureProtocol, 0x100000302LL); a1->m_objectLayer->addChild_0(a1->m_objectLayer, a1->m_glowLayerT3, 710); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_glowLayerT3); v42 = cocos2d::CCSpriteBatchNode::createWithTexture(v9); a1->m_glowLayerT4 = v42; ((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))v42->setBlendFunc)( &v42->cocos2d::CCTextureProtocol, 0x100000302LL); a1->m_objectLayer->addChild_0(a1->m_objectLayer, a1->m_glowLayerT4, 1010); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_glowLayerT4); v43 = cocos2d::CCSpriteBatchNode::createWithTexture(v3); a1->m_gameLayerB5 = v43; a1->m_objectLayer->addChild_0(a1->m_objectLayer, v43, -1220); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_gameLayerB5); v44 = cocos2d::CCSpriteBatchNode::createWithTexture(v3); a1->m_gameBlendingLayerB5 = v44; ((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))v44->setBlendFunc)( &v44->cocos2d::CCTextureProtocol, 0x100000302LL); a1->m_objectLayer->addChild_0(a1->m_objectLayer, a1->m_gameBlendingLayerB5, -1240); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_gameBlendingLayerB5); v45 = cocos2d::CCSpriteBatchNode::createWithTexture(v3); a1->m_gameLayerB4 = v45; a1->m_objectLayer->addChild_0(a1->m_objectLayer, v45, -920); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_gameLayerB4); v46 = cocos2d::CCSpriteBatchNode::createWithTexture(v3); a1->m_gameBlendingLayerB4 = v46; ((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))v46->setBlendFunc)( &v46->cocos2d::CCTextureProtocol, 0x100000302LL); a1->m_objectLayer->addChild_0(a1->m_objectLayer, a1->m_gameBlendingLayerB4, -940); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_gameBlendingLayerB4); v47 = cocos2d::CCSpriteBatchNode::createWithTexture(v3); a1->m_gameLayerB3 = v47; a1->m_objectLayer->addChild_0(a1->m_objectLayer, v47, -620); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_gameLayerB3); v48 = cocos2d::CCSpriteBatchNode::createWithTexture(v3); a1->m_gameBlendingLayerB3 = v48; ((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))v48->setBlendFunc)( &v48->cocos2d::CCTextureProtocol, 0x100000302LL); a1->m_objectLayer->addChild_0(a1->m_objectLayer, a1->m_gameBlendingLayerB3, -640); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_gameBlendingLayerB3); v49 = cocos2d::CCSpriteBatchNode::createWithTexture(v3); a1->m_gameLayerT2 = v49; a1->m_objectLayer->addChild_0(a1->m_objectLayer, v49, 660); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_gameLayerT2); v50 = cocos2d::CCSpriteBatchNode::createWithTexture(v3); a1->m_gameLayerT3 = v50; a1->m_objectLayer->addChild_0(a1->m_objectLayer, v50, 960); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_gameLayerT3); v51 = cocos2d::CCSpriteBatchNode::createWithTexture(v3); a1->m_gameBlendingLayerT3 = v51; ((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))v51->setBlendFunc)( &v51->cocos2d::CCTextureProtocol, 0x100000302LL); a1->m_objectLayer->addChild_0(a1->m_objectLayer, a1->m_gameBlendingLayerT3, 940); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_gameBlendingLayerT3); v52 = cocos2d::CCSpriteBatchNode::createWithTexture(v3); a1->m_gameLayerT4 = v52; a1->m_objectLayer->addChild_0(a1->m_objectLayer, v52, 1340); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_gameLayerT4); v53 = cocos2d::CCSpriteBatchNode::createWithTexture(v3); a1->m_gameBlendingLayerT4 = v53; ((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))v53->setBlendFunc)( &v53->cocos2d::CCTextureProtocol, 0x100000302LL); a1->m_objectLayer->addChild_0(a1->m_objectLayer, a1->m_gameBlendingLayerT4, 1320); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_gameBlendingLayerT4); v54 = cocos2d::CCSpriteBatchNode::createWithTexture(v3); a1->m_gameBlendingLayerT5 = v54; ((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))v54->setBlendFunc)( &v54->cocos2d::CCTextureProtocol, 0x100000302LL); a1->m_objectLayer->addChild_0(a1->m_objectLayer, a1->m_gameBlendingLayerT5, 1360); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_gameBlendingLayerT5); v55 = cocos2d::CCSpriteBatchNode::createWithTexture(v11); a1->m_fireBlendingLayerT5 = v55; ((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))v55->setBlendFunc)( &v55->cocos2d::CCTextureProtocol, 0x100000302LL); a1->m_objectLayer->addChild_0(a1->m_objectLayer, a1->m_fireBlendingLayerT5, 1240); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_fireBlendingLayerT5); v56 = cocos2d::CCSpriteBatchNode::createWithTexture(v11); a1->m_fireBlendingLayerT4 = v56; ((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))v56->setBlendFunc)( &v56->cocos2d::CCTextureProtocol, 0x100000302LL); a1->m_objectLayer->addChild_0(a1->m_objectLayer, a1->m_fireBlendingLayerT4, 1200); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_fireBlendingLayerT4); v57 = cocos2d::CCSpriteBatchNode::createWithTexture(v11); a1->m_fireLayerT4 = v57; a1->m_objectLayer->addChild_0(a1->m_objectLayer, v57, 1220); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_fireLayerT4); v58 = cocos2d::CCSpriteBatchNode::createWithTexture(v11); a1->m_fireBlendingLayerT4 = v58; ((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))v58->setBlendFunc)( &v58->cocos2d::CCTextureProtocol, 0x100000302LL); a1->m_objectLayer->addChild_0(a1->m_objectLayer, a1->m_fireBlendingLayerT4, 1200); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_fireBlendingLayerT4); v59 = cocos2d::CCSpriteBatchNode::createWithTexture(v11); a1->m_fireLayerT3 = v59; a1->m_objectLayer->addChild_0(a1->m_objectLayer, v59, 860); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_fireLayerT3); v60 = cocos2d::CCSpriteBatchNode::createWithTexture(v11); a1->m_fireBlendingLayerT3 = v60; ((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))v60->setBlendFunc)( &v60->cocos2d::CCTextureProtocol, 0x100000302LL); a1->m_objectLayer->addChild_0(a1->m_objectLayer, a1->m_fireBlendingLayerT3, 840); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_fireBlendingLayerT3); v61 = cocos2d::CCSpriteBatchNode::createWithTexture(v11); a1->m_fireLayerT2 = v61; a1->m_objectLayer->addChild_0(a1->m_objectLayer, v61, 560); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_fireLayerT2); v62 = cocos2d::CCSpriteBatchNode::createWithTexture(v11); a1->m_fireBlendingLayerT2 = v62; ((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))v62->setBlendFunc)( &v62->cocos2d::CCTextureProtocol, 0x100000302LL); a1->m_objectLayer->addChild_0(a1->m_objectLayer, a1->m_fireBlendingLayerT2, 540); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_fireBlendingLayerT2); v63 = cocos2d::CCSpriteBatchNode::createWithTexture(v11); a1->m_fireLayerT1 = v63; a1->m_objectLayer->addChild_0(a1->m_objectLayer, v63, 260); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_fireLayerT1); v64 = cocos2d::CCSpriteBatchNode::createWithTexture(v11); a1->m_fireBlendingLayerT1 = v64; ((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))v64->setBlendFunc)( &v64->cocos2d::CCTextureProtocol, 0x100000302LL); a1->m_objectLayer->addChild_0(a1->m_objectLayer, a1->m_fireBlendingLayerT1, 240); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_fireBlendingLayerT1); v65 = cocos2d::CCSpriteBatchNode::createWithTexture(v11); a1->m_fireLayerB2 = v65; a1->m_objectLayer->addChild_0(a1->m_objectLayer, v65, -420); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_fireLayerB2); v66 = cocos2d::CCSpriteBatchNode::createWithTexture(v11); a1->m_fireBlendingLayerB2 = v66; ((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))v66->setBlendFunc)( &v66->cocos2d::CCTextureProtocol, 0x100000302LL); a1->m_objectLayer->addChild_0(a1->m_objectLayer, a1->m_fireBlendingLayerB2, -440); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_fireBlendingLayerB2); v67 = cocos2d::CCSpriteBatchNode::createWithTexture(v11); a1->m_fireLayerB3 = v67; a1->m_objectLayer->addChild_0(a1->m_objectLayer, v67, -720); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_fireLayerB3); v68 = cocos2d::CCSpriteBatchNode::createWithTexture(v11); a1->m_fireBlendingLayerB3 = v68; ((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))v68->setBlendFunc)( &v68->cocos2d::CCTextureProtocol, 0x100000302LL); a1->m_objectLayer->addChild_0(a1->m_objectLayer, a1->m_fireBlendingLayerB3, -740); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_fireBlendingLayerB3); v69 = cocos2d::CCSpriteBatchNode::createWithTexture(v11); a1->m_fireLayerB4 = v69; a1->m_objectLayer->addChild_0(a1->m_objectLayer, v69, -1020); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_fireLayerB4); v70 = cocos2d::CCSpriteBatchNode::createWithTexture(v11); a1->m_fireBlendingLayerB4 = v70; ((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))v70->setBlendFunc)( &v70->cocos2d::CCTextureProtocol, 0x100000302LL); a1->m_objectLayer->addChild_0(a1->m_objectLayer, a1->m_fireBlendingLayerB4, -1040); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_fireBlendingLayerB4); v71 = cocos2d::CCSpriteBatchNode::createWithTexture(v11); a1->m_fireLayerB5 = v71; a1->m_objectLayer->addChild_0(a1->m_objectLayer, v71, -1320); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_fireLayerB5); v72 = cocos2d::CCSpriteBatchNode::createWithTexture(v11); a1->m_fireBlendingLayerB5 = v72; ((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))v72->setBlendFunc)( &v72->cocos2d::CCTextureProtocol, 0x100000302LL); a1->m_objectLayer->addChild_0(a1->m_objectLayer, a1->m_fireBlendingLayerB5, -1340); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_fireBlendingLayerB5); v73 = CCNodeContainer::create(); a1->m_specialLayerB5 = v73; a1->m_objectLayer->addChild_0(a1->m_objectLayer, v73, -1260); v74 = CCNodeContainer::create(); a1->m_specialLayerB4 = v74; a1->m_objectLayer->addChild_0(a1->m_objectLayer, v74, -960); v75 = CCNodeContainer::create(); a1->m_specialLayerB3 = v75; a1->m_objectLayer->addChild_0(a1->m_objectLayer, v75, -660); v76 = CCNodeContainer::create(); a1->m_specialLayerB2 = v76; a1->m_objectLayer->addChild_0(a1->m_objectLayer, v76, -360); v77 = CCNodeContainer::create(); a1->m_specialLayerB1 = v77; a1->m_objectLayer->addChild_0(a1->m_objectLayer, v77, -60); v78 = CCNodeContainer::create(); a1->m_specialLayerT1 = v78; a1->m_objectLayer->addChild_0(a1->m_objectLayer, v78, 320); v79 = CCNodeContainer::create(); a1->m_specialLayerT2 = v79; a1->m_objectLayer->addChild_0(a1->m_objectLayer, v79, 620); v80 = CCNodeContainer::create(); a1->m_specialLayerT3 = v80; a1->m_objectLayer->addChild_0(a1->m_objectLayer, v80, 920); v81 = CCNodeContainer::create(); a1->m_specialLayerT4 = v81; a1->m_objectLayer->addChild_0(a1->m_objectLayer, v81, 1300); cocos2d::CCTexture2D::setAliasTexParameters(v13); v82 = cocos2d::CCSpriteBatchNode::createWithTexture(v13); a1->m_pixelBlendingLayerT5 = v82; ((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))v82->setBlendFunc)( &v82->cocos2d::CCTextureProtocol, 0x100000302LL); a1->m_objectLayer->addChild_0(a1->m_objectLayer, a1->m_pixelBlendingLayerT5, 1120); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_pixelBlendingLayerT5); v83 = cocos2d::CCSpriteBatchNode::createWithTexture(v13); a1->m_pixelLayerT4 = v83; a1->m_objectLayer->addChild_0(a1->m_objectLayer, v83, 1100); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_pixelLayerT4); v84 = cocos2d::CCSpriteBatchNode::createWithTexture(v13); a1->m_pixelBlendingLayerT4 = v84; ((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))v84->setBlendFunc)( &v84->cocos2d::CCTextureProtocol, 0x100000302LL); a1->m_objectLayer->addChild_0(a1->m_objectLayer, a1->m_pixelBlendingLayerT4, 1080); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_pixelBlendingLayerT4); v85 = cocos2d::CCSpriteBatchNode::createWithTexture(v13); a1->m_pixelLayerT3 = v85; a1->m_objectLayer->addChild_0(a1->m_objectLayer, v85, 780); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_pixelLayerT3); v86 = cocos2d::CCSpriteBatchNode::createWithTexture(v13); a1->m_pixelBlendingLayerT3 = v86; ((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))v86->setBlendFunc)( &v86->cocos2d::CCTextureProtocol, 0x100000302LL); a1->m_objectLayer->addChild_0(a1->m_objectLayer, a1->m_pixelBlendingLayerT3, 760); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_pixelBlendingLayerT3); v87 = cocos2d::CCSpriteBatchNode::createWithTexture(v13); a1->m_pixelLayerT2 = v87; a1->m_objectLayer->addChild_0(a1->m_objectLayer, v87, 480); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_pixelLayerT2); v88 = cocos2d::CCSpriteBatchNode::createWithTexture(v13); a1->m_pixelBlendingLayerT2 = v88; ((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))v88->setBlendFunc)( &v88->cocos2d::CCTextureProtocol, 0x100000302LL); a1->m_objectLayer->addChild_0(a1->m_objectLayer, a1->m_pixelBlendingLayerT2, 460); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_pixelBlendingLayerT2); v89 = cocos2d::CCSpriteBatchNode::createWithTexture(v13); a1->m_pixelLayerT1 = v89; a1->m_objectLayer->addChild_0(a1->m_objectLayer, v89, 180); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_pixelLayerT1); v90 = cocos2d::CCSpriteBatchNode::createWithTexture(v13); a1->m_pixelBlendingLayerT1 = v90; ((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))v90->setBlendFunc)( &v90->cocos2d::CCTextureProtocol, 0x100000302LL); a1->m_objectLayer->addChild_0(a1->m_objectLayer, a1->m_pixelBlendingLayerT1, 160); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_pixelBlendingLayerT1); v91 = cocos2d::CCSpriteBatchNode::createWithTexture(v13); a1->m_pixelLayerB1 = v91; a1->m_objectLayer->addChild_0(a1->m_objectLayer, v91, -200); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_pixelLayerB1); v92 = cocos2d::CCSpriteBatchNode::createWithTexture(v13); a1->m_pixelBlendingLayerB1 = v92; ((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))v92->setBlendFunc)( &v92->cocos2d::CCTextureProtocol, 0x100000302LL); a1->m_objectLayer->addChild_0(a1->m_objectLayer, a1->m_pixelBlendingLayerB1, -220); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_pixelBlendingLayerB1); v93 = cocos2d::CCSpriteBatchNode::createWithTexture(v13); a1->m_pixelLayerB2 = v93; a1->m_objectLayer->addChild_0(a1->m_objectLayer, v93, -500); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_pixelLayerB2); v94 = cocos2d::CCSpriteBatchNode::createWithTexture(v13); a1->m_pixelBlendingLayerB2 = v94; ((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))v94->setBlendFunc)( &v94->cocos2d::CCTextureProtocol, 0x100000302LL); a1->m_objectLayer->addChild_0(a1->m_objectLayer, a1->m_pixelBlendingLayerB2, -520); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_pixelBlendingLayerB2); v95 = cocos2d::CCSpriteBatchNode::createWithTexture(v13); a1->m_pixelLayerB3 = v95; a1->m_objectLayer->addChild_0(a1->m_objectLayer, v95, -800); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_pixelLayerB3); v96 = cocos2d::CCSpriteBatchNode::createWithTexture(v13); a1->m_pixelBlendingLayerB3 = v96; ((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))v96->setBlendFunc)( &v96->cocos2d::CCTextureProtocol, 0x100000302LL); a1->m_objectLayer->addChild_0(a1->m_objectLayer, a1->m_pixelBlendingLayerB3, -820); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_pixelBlendingLayerB3); v97 = cocos2d::CCSpriteBatchNode::createWithTexture(v13); a1->m_pixelLayerB4 = v97; a1->m_objectLayer->addChild_0(a1->m_objectLayer, v97, -1100); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_pixelLayerB4); v98 = cocos2d::CCSpriteBatchNode::createWithTexture(v13); a1->m_pixelBlendingLayerB4 = v98; ((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))v98->setBlendFunc)( &v98->cocos2d::CCTextureProtocol, 0x100000302LL); a1->m_objectLayer->addChild_0(a1->m_objectLayer, a1->m_pixelBlendingLayerB4, -1120); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_pixelBlendingLayerB4); v99 = cocos2d::CCSpriteBatchNode::createWithTexture(v13); a1->m_pixelLayerB5 = v99; a1->m_objectLayer->addChild_0(a1->m_objectLayer, v99, -1400); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_pixelLayerB5); v100 = cocos2d::CCSpriteBatchNode::createWithTexture(v13); a1->m_pixelBlendingLayerB5 = v100; ((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))v100->setBlendFunc)( &v100->cocos2d::CCTextureProtocol, 0x100000302LL); a1->m_objectLayer->addChild_0(a1->m_objectLayer, a1->m_pixelBlendingLayerB5, -1420); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_pixelBlendingLayerB5); v101 = cocos2d::CCSpriteBatchNode::createWithTexture(v5); a1->m_game2BlendingLayerT5 = v101; ((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))v101->setBlendFunc)( &v101->cocos2d::CCTextureProtocol, 0x100000302LL); a1->m_objectLayer->addChild_0(a1->m_objectLayer, a1->m_game2BlendingLayerT5, 1180); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_game2BlendingLayerT5); v102 = cocos2d::CCSpriteBatchNode::createWithTexture(v5); a1->m_game2BlendingLayerT4 = v102; ((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))v102->setBlendFunc)( &v102->cocos2d::CCTextureProtocol, 0x100000302LL); a1->m_objectLayer->addChild_0(a1->m_objectLayer, a1->m_game2BlendingLayerT4, 1140); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_game2BlendingLayerT4); v103 = cocos2d::CCSpriteBatchNode::createWithTexture(v5); a1->m_game2LayerT4 = v103; a1->m_objectLayer->addChild_0(a1->m_objectLayer, v103, 1160); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_game2LayerT4); v104 = cocos2d::CCSpriteBatchNode::createWithTexture(v5); a1->m_game2BlendingLayerT4 = v104; ((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))v104->setBlendFunc)( &v104->cocos2d::CCTextureProtocol, 0x100000302LL); a1->m_objectLayer->addChild_0(a1->m_objectLayer, a1->m_game2BlendingLayerT4, 1140); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_game2BlendingLayerT4); v105 = cocos2d::CCSpriteBatchNode::createWithTexture(v5); a1->m_game2LayerT3 = v105; a1->m_objectLayer->addChild_0(a1->m_objectLayer, v105, 820); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_game2LayerT3); v106 = cocos2d::CCSpriteBatchNode::createWithTexture(v5); a1->m_game2BlendingLayerT3 = v106; ((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))v106->setBlendFunc)( &v106->cocos2d::CCTextureProtocol, 0x100000302LL); a1->m_objectLayer->addChild_0(a1->m_objectLayer, a1->m_game2BlendingLayerT3, 800); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_game2BlendingLayerT3); v107 = cocos2d::CCSpriteBatchNode::createWithTexture(v5); a1->m_game2LayerT2 = v107; a1->m_objectLayer->addChild_0(a1->m_objectLayer, v107, 520); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_game2LayerT2); v108 = cocos2d::CCSpriteBatchNode::createWithTexture(v5); a1->m_game2BlendingLayerT2 = v108; ((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))v108->setBlendFunc)( &v108->cocos2d::CCTextureProtocol, 0x100000302LL); a1->m_objectLayer->addChild_0(a1->m_objectLayer, a1->m_game2BlendingLayerT2, 500); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_game2BlendingLayerT2); v109 = cocos2d::CCSpriteBatchNode::createWithTexture(v5); a1->m_game2LayerT1 = v109; a1->m_objectLayer->addChild_0(a1->m_objectLayer, v109, 220); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_game2LayerT1); v110 = cocos2d::CCSpriteBatchNode::createWithTexture(v5); a1->m_game2BlendingLayerT1 = v110; ((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))v110->setBlendFunc)( &v110->cocos2d::CCTextureProtocol, 0x100000302LL); a1->m_objectLayer->addChild_0(a1->m_objectLayer, a1->m_game2BlendingLayerT1, 200); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_game2BlendingLayerT1); v111 = cocos2d::CCSpriteBatchNode::createWithTexture(v5); a1->m_game2BlendingLayerT5 = v111; ((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))v111->setBlendFunc)( &v111->cocos2d::CCTextureProtocol, 0x100000302LL); a1->m_objectLayer->addChild_0(a1->m_objectLayer, a1->m_game2BlendingLayerT5, 1180); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_game2BlendingLayerT5); v112 = cocos2d::CCSpriteBatchNode::createWithTexture(v5); a1->m_game2LayerB0 = v112; a1->m_objectLayer->addChild_0(a1->m_objectLayer, v112, -5); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_game2LayerB0); v113 = cocos2d::CCSpriteBatchNode::createWithTexture(v5); a1->m_game2LayerB1 = v113; a1->m_objectLayer->addChild_0(a1->m_objectLayer, v113, -160); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_game2LayerB1); v114 = cocos2d::CCSpriteBatchNode::createWithTexture(v5); a1->m_game2BlendingLayerB1 = v114; ((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))v114->setBlendFunc)( &v114->cocos2d::CCTextureProtocol, 0x100000302LL); a1->m_objectLayer->addChild_0(a1->m_objectLayer, a1->m_game2BlendingLayerB1, -180); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_game2BlendingLayerB1); v115 = cocos2d::CCSpriteBatchNode::createWithTexture(v5); a1->m_game2LayerB2 = v115; a1->m_objectLayer->addChild_0(a1->m_objectLayer, v115, -460); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_game2LayerB2); v116 = cocos2d::CCSpriteBatchNode::createWithTexture(v5); a1->m_game2BlendingLayerB2 = v116; ((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))v116->setBlendFunc)( &v116->cocos2d::CCTextureProtocol, 0x100000302LL); a1->m_objectLayer->addChild_0(a1->m_objectLayer, a1->m_game2BlendingLayerB2, -480); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_game2BlendingLayerB2); v117 = cocos2d::CCSpriteBatchNode::createWithTexture(v5); a1->m_game2LayerB3 = v117; a1->m_objectLayer->addChild_0(a1->m_objectLayer, v117, -760); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_game2LayerB3); v118 = cocos2d::CCSpriteBatchNode::createWithTexture(v5); a1->m_game2BlendingLayerB3 = v118; ((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))v118->setBlendFunc)( &v118->cocos2d::CCTextureProtocol, 0x100000302LL); a1->m_objectLayer->addChild_0(a1->m_objectLayer, a1->m_game2BlendingLayerB3, -780); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_game2BlendingLayerB3); v119 = cocos2d::CCSpriteBatchNode::createWithTexture(v5); a1->m_game2LayerB4 = v119; a1->m_objectLayer->addChild_0(a1->m_objectLayer, v119, -1060); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_game2LayerB4); v120 = cocos2d::CCSpriteBatchNode::createWithTexture(v5); a1->m_game2BlendingLayerB4 = v120; ((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))v120->setBlendFunc)( &v120->cocos2d::CCTextureProtocol, 0x100000302LL); a1->m_objectLayer->addChild_0(a1->m_objectLayer, a1->m_game2BlendingLayerB4, -1080); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_game2BlendingLayerB4); v121 = cocos2d::CCSpriteBatchNode::createWithTexture(v5); a1->m_game2LayerB5 = v121; a1->m_objectLayer->addChild_0(a1->m_objectLayer, v121, -1360); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_game2LayerB5); v122 = cocos2d::CCSpriteBatchNode::createWithTexture(v5); a1->m_game2BlendingLayerB5 = v122; ((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))v122->setBlendFunc)( &v122->cocos2d::CCTextureProtocol, 0x100000302LL); a1->m_objectLayer->addChild_0(a1->m_objectLayer, a1->m_game2BlendingLayerB5, -1380); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_game2BlendingLayerB5); v123 = cocos2d::CCSpriteBatchNode::createWithTexture(v7); a1->m_particleBlendingLayerT5 = v123; ((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))v123->setBlendFunc)( &v123->cocos2d::CCTextureProtocol, 0x100000302LL); a1->m_objectLayer->addChild_0(a1->m_objectLayer, a1->m_particleBlendingLayerT5, 1074); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_particleBlendingLayerT5); v124 = cocos2d::CCSpriteBatchNode::createWithTexture(v7); a1->m_particleLayerT4 = v124; a1->m_objectLayer->addChild_0(a1->m_objectLayer, v124, 1070); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_particleLayerT4); v125 = cocos2d::CCSpriteBatchNode::createWithTexture(v7); a1->m_particleBlendingLayerT4 = v125; ((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))v125->setBlendFunc)( &v125->cocos2d::CCTextureProtocol, 0x100000302LL); a1->m_objectLayer->addChild_0(a1->m_objectLayer, a1->m_particleBlendingLayerT4, 1066); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_particleBlendingLayerT4); v126 = cocos2d::CCSpriteBatchNode::createWithTexture(v7); a1->m_particleLayerT3 = v126; a1->m_objectLayer->addChild_0(a1->m_objectLayer, v126, 754); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_particleLayerT3); v127 = cocos2d::CCSpriteBatchNode::createWithTexture(v7); a1->m_particleBlendingLayerT3 = v127; ((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))v127->setBlendFunc)( &v127->cocos2d::CCTextureProtocol, 0x100000302LL); a1->m_objectLayer->addChild_0(a1->m_objectLayer, a1->m_particleBlendingLayerT3, 750); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_particleBlendingLayerT3); v128 = cocos2d::CCSpriteBatchNode::createWithTexture(v7); a1->m_particleLayerT2 = v128; a1->m_objectLayer->addChild_0(a1->m_objectLayer, v128, 454); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_particleLayerT2); v129 = cocos2d::CCSpriteBatchNode::createWithTexture(v7); a1->m_particleBlendingLayerT2 = v129; ((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))v129->setBlendFunc)( &v129->cocos2d::CCTextureProtocol, 0x100000302LL); a1->m_objectLayer->addChild_0(a1->m_objectLayer, a1->m_particleBlendingLayerT2, 450); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_particleBlendingLayerT2); v130 = cocos2d::CCSpriteBatchNode::createWithTexture(v7); a1->m_particleLayerT1 = v130; a1->m_objectLayer->addChild_0(a1->m_objectLayer, v130, 154); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_particleLayerT1); v131 = cocos2d::CCSpriteBatchNode::createWithTexture(v7); a1->m_particleBlendingLayerT1 = v131; ((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))v131->setBlendFunc)( &v131->cocos2d::CCTextureProtocol, 0x100000302LL); a1->m_objectLayer->addChild_0(a1->m_objectLayer, a1->m_particleBlendingLayerT1, 150); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_particleBlendingLayerT1); v132 = cocos2d::CCSpriteBatchNode::createWithTexture(v7); a1->m_particleLayerB1 = v132; a1->m_objectLayer->addChild_0(a1->m_objectLayer, v132, -224); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_particleLayerB1); v133 = cocos2d::CCSpriteBatchNode::createWithTexture(v7); a1->m_particleBlendingLayerB1 = v133; ((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))v133->setBlendFunc)( &v133->cocos2d::CCTextureProtocol, 0x100000302LL); a1->m_objectLayer->addChild_0(a1->m_objectLayer, a1->m_particleBlendingLayerB1, -226); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_particleBlendingLayerB1); v134 = cocos2d::CCSpriteBatchNode::createWithTexture(v7); a1->m_particleLayerB2 = v134; a1->m_objectLayer->addChild_0(a1->m_objectLayer, v134, -530); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_particleLayerB2); v135 = cocos2d::CCSpriteBatchNode::createWithTexture(v7); a1->m_particleBlendingLayerB2 = v135; ((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))v135->setBlendFunc)( &v135->cocos2d::CCTextureProtocol, 0x100000302LL); a1->m_objectLayer->addChild_0(a1->m_objectLayer, a1->m_particleBlendingLayerB2, -532); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_particleBlendingLayerB2); v136 = cocos2d::CCSpriteBatchNode::createWithTexture(v7); a1->m_particleLayerB3 = v136; a1->m_objectLayer->addChild_0(a1->m_objectLayer, v136, -830); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_particleLayerB3); v137 = cocos2d::CCSpriteBatchNode::createWithTexture(v7); a1->m_particleBlendingLayerB3 = v137; ((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))v137->setBlendFunc)( &v137->cocos2d::CCTextureProtocol, 0x100000302LL); a1->m_objectLayer->addChild_0(a1->m_objectLayer, a1->m_particleBlendingLayerB3, -832); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_particleBlendingLayerB3); v138 = cocos2d::CCSpriteBatchNode::createWithTexture(v7); a1->m_particleLayerB4 = v138; a1->m_objectLayer->addChild_0(a1->m_objectLayer, v138, -1130); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_particleLayerB4); v139 = cocos2d::CCSpriteBatchNode::createWithTexture(v7); a1->m_particleBlendingLayerB4 = v139; ((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))v139->setBlendFunc)( &v139->cocos2d::CCTextureProtocol, 0x100000302LL); a1->m_objectLayer->addChild_0(a1->m_objectLayer, a1->m_particleBlendingLayerB4, -1132); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_particleBlendingLayerB4); v140 = cocos2d::CCSpriteBatchNode::createWithTexture(v7); a1->m_particleLayerB5 = v140; a1->m_objectLayer->addChild_0(a1->m_objectLayer, v140, -1430); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_particleLayerB5); v141 = cocos2d::CCSpriteBatchNode::createWithTexture(v7); a1->m_particleBlendingLayerB5 = v141; ((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))v141->setBlendFunc)( &v141->cocos2d::CCTextureProtocol, 0x100000302LL); a1->m_objectLayer->addChild_0(a1->m_objectLayer, a1->m_particleBlendingLayerB5, -1432); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_particleBlendingLayerB5); v142 = cocos2d::CCSpriteBatchNode::createWithTexture(v5); a1->m_game2BlendingLayerB0 = v142; ((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))v142->setBlendFunc)( &v142->cocos2d::CCTextureProtocol, 0x100000302LL); a1->m_objectLayer->addChild_0(a1->m_objectLayer, a1->m_game2BlendingLayerB0, -150); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_game2BlendingLayerB0); v143 = cocos2d::CCSpriteBatchNode::createWithTexture(v13); a1->m_pixelBlendingLayerB0 = v143; ((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))v143->setBlendFunc)( &v143->cocos2d::CCTextureProtocol, 0x100000302LL); a1->m_objectLayer->addChild_0(a1->m_objectLayer, a1->m_pixelBlendingLayerB0, -190); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_pixelBlendingLayerB0); v144 = cocos2d::CCSpriteBatchNode::createWithTexture(v11); a1->m_fireBlendingLayerB0 = v144; ((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))v144->setBlendFunc)( &v144->cocos2d::CCTextureProtocol, 0x100000302LL); a1->m_objectLayer->addChild_0(a1->m_objectLayer, a1->m_fireBlendingLayerB0, -110); cocos2d::CCArray::addObject(a1->m_batchNodes, a1->m_fireBlendingLayerB0); m_batchNodes = a1->m_batchNodes; if ( m_batchNodes ) { data = m_batchNodes->data; num = data->num; if ( (_DWORD)num ) { arr = (cocos2d::CCNode **)data->arr; for ( i = &arr[num - 1]; arr <= i; ++arr ) { if ( !*arr ) break; cocos2d::CCNode::setUseChildIndex(*arr, 1); } } } v150 = (ShaderLayer *)operator new(0x668u); cocos2d::CCLayer::CCLayer(v150); v150->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (ShaderLayer_vtbl *)&ShaderLayer::`vftable'; v150->cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&ShaderLayer::`vftable'; v150->cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&ShaderLayer::`vftable'; v150->cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&ShaderLayer::`vftable'; v150->cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&ShaderLayer::`vftable'; v150->cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&ShaderLayer::`vftable'; GJShaderState::GJShaderState(&v150->m_state); v150->m_timesyncShaderActions = 0; v150->m_shader = nullptr; v150->m_renderTexture = nullptr; v150->m_sprite = nullptr; *(_WORD *)&v150->m_antiAlias = 0; v150->m_gameLayer = nullptr; cocos2d::CCPoint::CCPoint(&v150->m_savedCameraPosition); v150->m_savedCameraRotation = 0.0; v150->m_shockWaveTimeMult = 1.0; v150->m_scaleFactor = 1.0; cocos2d::CCSize::CCSize(&v150->m_screenSize); cocos2d::CCSize::CCSize(&v150->m_textureContentSize); cocos2d::CCSize::CCSize(&v150->m_targetTextureSize); cocos2d::CCSize::CCSize(&v150->m_targetTextureSizeExtra); init = (bool (*)(ShaderLayer *))v150->init; if ( init == ShaderLayer::init ) v152 = ShaderLayer::init(v150); else v152 = init(v150); if ( v152 ) { cocos2d::CCObject::autorelease(v150); } else { ((void (__fastcall *)(ShaderLayer *, __int64))v150->~ShaderLayer)(v150, 1); v150 = nullptr; } a1->m_shaderLayer = v150; cocos2d::CCObject::retain(v150); ((void (__fastcall *)(ShaderLayer *))a1->m_shaderLayer->update)(a1->m_shaderLayer); a1->m_shaderLayer->m_gameLayer = a1; }