// // ShaderLayer::preRadialBlurShader from 0x1003b9a30 to 0x1003b9b3c (268 bytes) // // 1 xrefs: // > ShaderLayer::performCalculations @ 0x1003bae93 // // 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 12:29:29 +0000 // __int64 __fastcall ShaderLayer::preRadialBlurShader(__int64 a1) { float v1; // xmm0_4 __int64 v2; // rax float v4; // xmm0_4 __int64 v5; // rax __m128 v6; // xmm1 __m128 v7; // xmm3 __int64 v8; // rax if ( *(float *)(a1 + 828) != 0.0 || cocos2d::CCNode::getActionByTag(a1, 16) ) *(_BYTE *)(a1 + 1078) = 1; v1 = *(float *)(a1 + 828); if ( v1 == 0.0 ) { v2 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1104) + 656LL))(*(_QWORD *)(a1 + 1104)); return cocos2d::CCGLProgram::setUniformLocationWith1f(v2, *(unsigned int *)(a1 + 1472), 0.0); } else { v4 = v1 * 0.1111111111111111 * 0.2000000029802322; v5 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1104) + 656LL))(*(_QWORD *)(a1 + 1104)); cocos2d::CCGLProgram::setUniformLocationWith1f(v5, *(unsigned int *)(a1 + 1472), v4); v6 = (__m128)*(unsigned int *)(a1 + 832); v6.f32[0] = v6.f32[0] * 0.2; v7 = _mm_cmplt_ss((__m128)0x3E4CCCCDu, v6); v6.f32[0] = fmaxf(v6.f32[0], 0.0); v8 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1104) + 656LL))(*(_QWORD *)(a1 + 1104)); return cocos2d::CCGLProgram::setUniformLocationWith1f( v8, *(unsigned int *)(a1 + 1476), COERCE_FLOAT(v7.i32[0] & 0x3E4CCCCD | _mm_andnot_ps(v7, v6).u32[0])); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source