// // ShaderLayer::setupShader from 0x140622a30 to 0x140623742 (3346 bytes) // // 3 xrefs: // > ShaderLayer::init @ 0x140622981 // > ShaderLayer::update @ 0x14062380e // > @ 0x140930518 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:35:23 +0000 // // Hidden C++ exception states: #wind=4 __int64 __fastcall ShaderLayer::setupShader(__int64 a1, char a2) { __int64 v4; // rcx cocos2d::CCObject *v5; // rcx cocos2d::CCShaderCache *v6; // rax cocos2d::CCGLProgram *v7; // rax __int64 v8; // rcx _QWORD *v9; // rbx __int64 v10; // rcx cocos2d::CCShaderCache *v11; // rax void **v12; // r8 void *v13; // rcx __int64 v14; // rax __int64 v15; // rax const struct cocos2d::CCSize *v16; // rax __int64 v17; // rcx __int64 v18; // rax __int64 v19; // rax __int64 v20; // rcx cocos2d::CCDirector *v21; // rax float ContentScaleFactor; // xmm0_4 __int64 v23; // rcx cocos2d::CCDirector *v24; // rax __int64 v25; // rcx cocos2d::CCDirector *v26; // rax __int64 v27; // rcx cocos2d::CCDirector *v28; // rax __int64 v29; // rax __int64 v30; // rax __int64 v31; // rdi __int64 v32; // rbx __int64 v33; // rax __int64 v34; // rax __int64 v35; // rax __int64 v36; // rax __int64 v37; // rsi __int64 v38; // rdi __int64 v39; // rax __int64 v40; // rcx bool v41; // al __int64 v42; // rax __int64 v43; // rax __int64 v44; // rax __int64 v45; // rax __int64 v46; // rax __int64 v47; // rax __int64 v48; // rax __int64 v49; // rax __int64 v50; // rax __int64 v51; // rax __int64 v52; // rax __int64 v53; // rax __int64 v54; // rax __int64 v55; // rax __int64 v56; // rax __int64 v57; // rax __int64 v58; // rax __int64 v59; // rax __int64 v60; // rax __int64 v61; // rax __int64 v62; // rax __int64 v63; // rax __int64 v64; // rax __int64 v65; // rax __int64 v66; // rax __int64 v67; // rax __int64 v68; // rax __int64 v69; // rax __int64 v70; // rax __int64 v71; // rax __int64 v72; // rax __int64 v73; // rax __int64 v74; // rax __int64 v75; // rax __int64 v76; // rax __int64 v77; // rax __int64 v78; // rax __int64 v79; // rax __int64 v80; // rax __int64 v81; // rax __int64 v82; // rax __int64 v83; // rax float v85; // [rsp+30h] [rbp-50h] BYREF float v86; // [rsp+34h] [rbp-4Ch] void *Block[2]; // [rsp+38h] [rbp-48h] BYREF __int64 v88; // [rsp+48h] [rbp-38h] unsigned __int64 v89; // [rsp+50h] [rbp-30h] v4 = *(_QWORD *)(a1 + 1152); if ( v4 ) { (*(void (__fastcall **)(__int64))(*(_QWORD *)v4 + 528LL))(v4); *(_QWORD *)(a1 + 1152) = 0; } v5 = *(cocos2d::CCObject **)(a1 + 1144); if ( v5 ) { cocos2d::CCObject::release(v5); *(_QWORD *)(a1 + 1144) = 0; } v6 = (cocos2d::CCShaderCache *)cocos2d::CCShaderCache::sharedShaderCache(v5); v7 = cocos2d::CCShaderCache::programForKey(v6, "custom_program"); *(_QWORD *)(a1 + 1136) = v7; if ( v7 ) { if ( !a2 ) goto LABEL_19; cocos2d::CCGLProgram::reset(v7); } else { v9 = operator new(0x78u); Block[0] = v9; cocos2d::CCGLProgram::CCGLProgram((cocos2d::CCGLProgram *)v9); *v9 = &cocos2d::CCGLProgram::`vftable'; *(_QWORD *)(a1 + 1136) = v9; v11 = (cocos2d::CCShaderCache *)cocos2d::CCShaderCache::sharedShaderCache(v10); cocos2d::CCShaderCache::addProgram(v11, (struct cocos2d::CCGLProgram *)v9, "custom_program"); cocos2d::CCObject::release(*(cocos2d::CCObject **)(a1 + 1136)); } *(_OWORD *)Block = 0; Block[0] = sub_14003D460(0x37D0u); v88 = 14276; v89 = 14287; memcpy(Block[0], aIfdefGlEsPreci, 0x37C4u); *((_BYTE *)Block[0] + 14276) = 0; v12 = Block; if ( v89 > 0xF ) v12 = (void **)Block[0]; cocos2d::CCGLProgram::initWithVertexShaderByteArray( *(cocos2d::CCGLProgram **)(a1 + 1136), "\t\t\t\t\t\t\t\t\t\t\t\t\t\n" "\t\tattribute vec4 a_position;\t\t\t\t\t\t\t\n" "\t\tattribute vec2 a_texCoord;\t\t\t\t\t\t\t\n" "\t\tattribute vec4 a_color;\t\t\t\t\t\t\t\t\n" "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n" "\t\t#ifdef GL_ES\t\t\t\t\t\t\t\t\t\t\n" "\t\t\tvarying lowp vec4 v_fragmentColor;\t\t\t\t\n" "\t\t\tvarying mediump vec2 v_texCoord;\t\t\t\t\n" "\t\t#else\t\t\t\t\t\t\t\t\t\t\t\t\n" "\t\t\tvarying vec4 v_fragmentColor;\t\t\t\t\t\n" "\t\t\tvarying vec2 v_texCoord;\t\t\t\t\t\t\n" "\t\t#endif\t\t\t\t\t\t\t\t\t\t\t\t\n" "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n" "\t\tvoid main()\t\t\t\t\t\t\t\t\t\t\t\n" "\t\t{\t\t\t\t\t\t\t\t\t\t\t\t\t\n" "\t\t\tgl_Position = CC_MVPMatrix * a_position;\t\t\n" "\t\t\tv_fragmentColor = a_color;\t\t\t\t\t\t\n" "\t\t\tv_texCoord = a_texCoord;\t\t\t\t\t\t\n" "\t\t}\t\t\t\t\t\t\t\t\t\t\t\t\t\n" "\t\t", (const char *)v12); if ( v89 > 0xF ) { v13 = Block[0]; if ( v89 + 1 >= 0x1000 ) { v13 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v13 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v13); } cocos2d::CCGLProgram::addAttribute(*(cocos2d::CCGLProgram **)(a1 + 1136), "a_position", 0); cocos2d::CCGLProgram::addAttribute(*(cocos2d::CCGLProgram **)(a1 + 1136), "a_color", 1u); cocos2d::CCGLProgram::addAttribute(*(cocos2d::CCGLProgram **)(a1 + 1136), "a_texCoord", 2u); cocos2d::CCGLProgram::link(*(cocos2d::CCGLProgram **)(a1 + 1136)); cocos2d::CCGLProgram::updateUniforms(*(cocos2d::CCGLProgram **)(a1 + 1136)); v14 = qword_14090BFD0; if ( !qword_14090BFD0 ) { Block[0] = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager((__int64)Block[0]); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v14 = qword_14090BFD0; } *(_BYTE *)(v14 + 1748) = 0; LABEL_19: v15 = cocos2d::CCDirector::sharedDirector(v8); v16 = (const struct cocos2d::CCSize *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(v15 + 192) + 40LL))(*(_QWORD *)(v15 + 192)); cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v85, v16); cocos2d::CCSize::operator=(a1 + 1208, &v85); v18 = cocos2d::CCDirector::sharedDirector(v17); cocos2d::CCDirector::getWinSize(v18, Block); *(float *)(a1 + 1200) = v86 / *(float *)(v19 + 4); *(float *)(a1 + 1204) = 1.0 / (float)(*(float *)(a1 + 1212) / *(float *)(a1 + 1208)); v21 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v20); ContentScaleFactor = cocos2d::CCDirector::getContentScaleFactor(v21); v24 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v23); cocos2d::CCDirector::setContentScaleFactor(v24, 1.0); *(_QWORD *)(a1 + 1144) = cocos2d::CCRenderTexture::create((unsigned int)(int)v85, (unsigned int)(int)v86, 0); v26 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v25); cocos2d::CCDirector::setContentScaleFactor(v26, ContentScaleFactor); v28 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v27); *(float *)(a1 + 1196) = (float)(1.0 / cocos2d::CCDirector::getScreenScaleFactorW(v28)) * *(float *)&dword_14090BD08; cocos2d::CCSize::CCSize((cocos2d::CCSize *)Block, 0.0, 0.0); cocos2d::CCSize::operator=(a1 + 1232, v29); cocos2d::CCObject::retain(*(cocos2d::CCObject **)(a1 + 1144)); *(_QWORD *)(a1 + 1152) = cocos2d::CCSprite::create(); v30 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1144) + 888LL))(*(_QWORD *)(a1 + 1144)); v31 = *(_QWORD *)(*(_QWORD *)(a1 + 1152) + 344LL); v32 = *(_QWORD *)(a1 + 1152); v33 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)(v30 + 344) + 16LL))(v30 + 344); (*(void (__fastcall **)(__int64, __int64))(v31 + 24))(v32 + 344, v33); v34 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)(*(_QWORD *)(a1 + 1152) + 344LL) + 16LL))(*(_QWORD *)(a1 + 1152) + 344LL); v35 = (*(__int64 (__fastcall **)(__int64, void **))(*(_QWORD *)v34 + 136LL))(v34, Block); cocos2d::CCSize::operator=(a1 + 1216, v35); cocos2d::CCSize::CCSize((cocos2d::CCSize *)Block, v85, v86); cocos2d::CCSize::operator=(a1 + 1224, v36); v37 = **(_QWORD **)(a1 + 1152); v38 = *(_QWORD *)(a1 + 1152); cocos2d::CCRect::CCRect( (cocos2d::CCRect *)Block, -1.0, -1.0, *(float *)(a1 + 1224) + 2.0, *(float *)(a1 + 1228) + 2.0); (*(void (__fastcall **)(__int64, __int64))(v37 + 992))(v38, v39); (*(void (__fastcall **)(_QWORD, void *))(**(_QWORD **)(a1 + 1152) + 184LL))(*(_QWORD *)(a1 + 1152), &unk_14090BCE8); (*(void (__fastcall **)(_QWORD, void *))(**(_QWORD **)(a1 + 1152) + 288LL))(*(_QWORD *)(a1 + 1152), &unk_14090BCE8); cocos2d::CCSprite::setFlipY(*(cocos2d::CCSprite **)(a1 + 1152), 1); (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 464LL))(a1, *(_QWORD *)(a1 + 1152)); v40 = qword_14090BFD0; if ( !qword_14090BFD0 ) { Block[0] = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager((__int64)Block[0]); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v40 = qword_14090BFD0; } v41 = !GameManager::getGameVariable(v40, "0155"); *(_BYTE *)(a1 + 1161) = v41; ShaderLayer::toggleAntiAlias(a1, v41); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 1152) + 656LL))( *(_QWORD *)(a1 + 1152), *(_QWORD *)(a1 + 1136)); ShaderLayer::setupCommonUniforms(a1); ShaderLayer::setupShockWaveUniforms(a1); ShaderLayer::setupShockLineUniforms(a1); v42 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1152) + 648LL))(*(_QWORD *)(a1 + 1152)); *(_DWORD *)(a1 + 1436) = _glewGetUniformLocation(*(unsigned int *)(v42 + 56), "_glitchBot"); v43 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1152) + 648LL))(*(_QWORD *)(a1 + 1152)); *(_DWORD *)(a1 + 1440) = _glewGetUniformLocation(*(unsigned int *)(v43 + 56), "_glitchTop"); v44 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1152) + 648LL))(*(_QWORD *)(a1 + 1152)); *(_DWORD *)(a1 + 1444) = _glewGetUniformLocation(*(unsigned int *)(v44 + 56), "_glitchXOffset"); v45 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1152) + 648LL))(*(_QWORD *)(a1 + 1152)); *(_DWORD *)(a1 + 1448) = _glewGetUniformLocation(*(unsigned int *)(v45 + 56), "_glitchColOffset"); v46 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1152) + 648LL))(*(_QWORD *)(a1 + 1152)); *(_DWORD *)(a1 + 1452) = _glewGetUniformLocation(*(unsigned int *)(v46 + 56), "_glitchRnd"); v47 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1152) + 648LL))(*(_QWORD *)(a1 + 1152)); *(_DWORD *)(a1 + 1456) = _glewGetUniformLocation(*(unsigned int *)(v47 + 56), "_chromaticXOff"); v48 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1152) + 648LL))(*(_QWORD *)(a1 + 1152)); *(_DWORD *)(a1 + 1460) = _glewGetUniformLocation(*(unsigned int *)(v48 + 56), "_chromaticYOff"); v49 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1152) + 648LL))(*(_QWORD *)(a1 + 1152)); *(_DWORD *)(a1 + 1464) = _glewGetUniformLocation(*(unsigned int *)(v49 + 56), "_cGRGBOffset"); v50 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1152) + 648LL))(*(_QWORD *)(a1 + 1152)); *(_DWORD *)(a1 + 1468) = _glewGetUniformLocation(*(unsigned int *)(v50 + 56), "_cGYOffset"); v51 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1152) + 648LL))(*(_QWORD *)(a1 + 1152)); *(_DWORD *)(a1 + 1472) = _glewGetUniformLocation(*(unsigned int *)(v51 + 56), "_cGTime"); v52 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1152) + 648LL))(*(_QWORD *)(a1 + 1152)); *(_DWORD *)(a1 + 1476) = _glewGetUniformLocation(*(unsigned int *)(v52 + 56), "_cGStrength"); v53 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1152) + 648LL))(*(_QWORD *)(a1 + 1152)); *(_DWORD *)(a1 + 1480) = _glewGetUniformLocation(*(unsigned int *)(v53 + 56), "_cGHeight"); v54 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1152) + 648LL))(*(_QWORD *)(a1 + 1152)); *(_DWORD *)(a1 + 1484) = _glewGetUniformLocation(*(unsigned int *)(v54 + 56), "_cGLineThick"); v55 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1152) + 648LL))(*(_QWORD *)(a1 + 1152)); *(_DWORD *)(a1 + 1488) = _glewGetUniformLocation(*(unsigned int *)(v55 + 56), "_cGLineStrength"); v56 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1152) + 648LL))(*(_QWORD *)(a1 + 1152)); *(_DWORD *)(a1 + 1492) = _glewGetUniformLocation(*(unsigned int *)(v56 + 56), "_lensCircleOrigin"); v57 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1152) + 648LL))(*(_QWORD *)(a1 + 1152)); *(_DWORD *)(a1 + 1496) = _glewGetUniformLocation(*(unsigned int *)(v57 + 56), "_lensCircleStart"); v58 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1152) + 648LL))(*(_QWORD *)(a1 + 1152)); *(_DWORD *)(a1 + 1500) = _glewGetUniformLocation(*(unsigned int *)(v58 + 56), "_lensCircleEnd"); v59 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1152) + 648LL))(*(_QWORD *)(a1 + 1152)); *(_DWORD *)(a1 + 1504) = _glewGetUniformLocation(*(unsigned int *)(v59 + 56), "_lensCircleStrength"); v60 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1152) + 648LL))(*(_QWORD *)(a1 + 1152)); *(_DWORD *)(a1 + 1508) = _glewGetUniformLocation(*(unsigned int *)(v60 + 56), "_lensCircleTint"); v61 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1152) + 648LL))(*(_QWORD *)(a1 + 1152)); *(_DWORD *)(a1 + 1512) = _glewGetUniformLocation(*(unsigned int *)(v61 + 56), "_lensCircleAdditive"); v62 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1152) + 648LL))(*(_QWORD *)(a1 + 1152)); *(_DWORD *)(a1 + 1516) = _glewGetUniformLocation(*(unsigned int *)(v62 + 56), "_radialBlurCenter"); v63 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1152) + 648LL))(*(_QWORD *)(a1 + 1152)); *(_DWORD *)(a1 + 1520) = _glewGetUniformLocation(*(unsigned int *)(v63 + 56), "_radialBlurValue"); v64 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1152) + 648LL))(*(_QWORD *)(a1 + 1152)); *(_DWORD *)(a1 + 1540) = _glewGetUniformLocation(*(unsigned int *)(v64 + 56), "_bulgeValue"); v65 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1152) + 648LL))(*(_QWORD *)(a1 + 1152)); *(_DWORD *)(a1 + 1544) = _glewGetUniformLocation(*(unsigned int *)(v65 + 56), "_bulgeValue2"); v66 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1152) + 648LL))(*(_QWORD *)(a1 + 1152)); *(_DWORD *)(a1 + 1548) = _glewGetUniformLocation(*(unsigned int *)(v66 + 56), "_bulgeOrigin"); v67 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1152) + 648LL))(*(_QWORD *)(a1 + 1152)); *(_DWORD *)(a1 + 1552) = _glewGetUniformLocation(*(unsigned int *)(v67 + 56), "_bulgeRadius"); v68 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1152) + 648LL))(*(_QWORD *)(a1 + 1152)); *(_DWORD *)(a1 + 1556) = _glewGetUniformLocation(*(unsigned int *)(v68 + 56), "_pinchValue"); v69 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1152) + 648LL))(*(_QWORD *)(a1 + 1152)); *(_DWORD *)(a1 + 1560) = _glewGetUniformLocation(*(unsigned int *)(v69 + 56), "_pinchCenterPos"); v70 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1152) + 648LL))(*(_QWORD *)(a1 + 1152)); *(_DWORD *)(a1 + 1564) = _glewGetUniformLocation(*(unsigned int *)(v70 + 56), "_pinchCalc1"); v71 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1152) + 648LL))(*(_QWORD *)(a1 + 1152)); *(_DWORD *)(a1 + 1568) = _glewGetUniformLocation(*(unsigned int *)(v71 + 56), "_pinchRadius"); v72 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1152) + 648LL))(*(_QWORD *)(a1 + 1152)); *(_DWORD *)(a1 + 1528) = _glewGetUniformLocation(*(unsigned int *)(v72 + 56), "_motionBlurValue"); v73 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1152) + 648LL))(*(_QWORD *)(a1 + 1152)); *(_DWORD *)(a1 + 1532) = _glewGetUniformLocation(*(unsigned int *)(v73 + 56), "_motionBlurMult"); v74 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1152) + 648LL))(*(_QWORD *)(a1 + 1152)); *(_DWORD *)(a1 + 1536) = _glewGetUniformLocation(*(unsigned int *)(v74 + 56), "_motionBlurDual"); v75 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1152) + 648LL))(*(_QWORD *)(a1 + 1152)); *(_DWORD *)(a1 + 1572) = _glewGetUniformLocation(*(unsigned int *)(v75 + 56), "_grayscaleValue"); v76 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1152) + 648LL))(*(_QWORD *)(a1 + 1152)); *(_DWORD *)(a1 + 1576) = _glewGetUniformLocation(*(unsigned int *)(v76 + 56), "_grayscaleTint"); v77 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1152) + 648LL))(*(_QWORD *)(a1 + 1152)); *(_DWORD *)(a1 + 1580) = _glewGetUniformLocation(*(unsigned int *)(v77 + 56), "_grayscaleUseLum"); v78 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1152) + 648LL))(*(_QWORD *)(a1 + 1152)); *(_DWORD *)(a1 + 1584) = _glewGetUniformLocation(*(unsigned int *)(v78 + 56), "_sepiaValue"); v79 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1152) + 648LL))(*(_QWORD *)(a1 + 1152)); *(_DWORD *)(a1 + 1588) = _glewGetUniformLocation(*(unsigned int *)(v79 + 56), "_invertColorValue"); v80 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1152) + 648LL))(*(_QWORD *)(a1 + 1152)); *(_DWORD *)(a1 + 1592) = _glewGetUniformLocation(*(unsigned int *)(v80 + 56), "_hueShiftCosA"); v81 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1152) + 648LL))(*(_QWORD *)(a1 + 1152)); *(_DWORD *)(a1 + 1596) = _glewGetUniformLocation(*(unsigned int *)(v81 + 56), "_hueShiftSinA"); v82 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1152) + 648LL))(*(_QWORD *)(a1 + 1152)); *(_DWORD *)(a1 + 1600) = _glewGetUniformLocation(*(unsigned int *)(v82 + 56), "_colorChangeC"); v83 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1152) + 648LL))(*(_QWORD *)(a1 + 1152)); *(_DWORD *)(a1 + 1604) = _glewGetUniformLocation(*(unsigned int *)(v83 + 56), "_colorChangeB"); return ShaderLayer::setupSplitScreenShader(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source