// // ShaderLayer::preRadialBlurShader from 0x6842d8 to 0x6843a2 (202 bytes) // // 1 xrefs: // > ShaderLayer::performCalculations @ 0x6855ea // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:56:03 +0000 // int __fastcall ShaderLayer::preRadialBlurShader(ShaderLayer *this) { float v2; // s16 int (*v3)(void); // r3 cocos2d::CCGLProgram *v4; // r0 int v5; // r1 float v6; // r2 cocos2d::CCGLProgram *v7; // r0 float v8; // s15 float v9; // s16 if ( *((float *)this + 175) != 0.0 || cocos2d::CCNode::getActionByTag(this, 16) ) *((_BYTE *)this + 950) = 1; v2 = *((float *)this + 175); v3 = *(int (**)(void))(**((_DWORD **)this + 241) + 328); if ( v2 == 0.0 ) { v4 = (cocos2d::CCGLProgram *)v3(); v5 = *((_DWORD *)this + 329); v6 = 0.0; } else { v7 = (cocos2d::CCGLProgram *)v3(); v8 = v2 * 0.111111111 * 0.200000003; cocos2d::CCGLProgram::setUniformLocationWith1f(v7, *((_DWORD *)this + 329), v8); v9 = *((float *)this + 176) * 0.2; if ( v9 > 0.2 ) { v9 = 0.2; } else if ( v9 <= 0.0 ) { v9 = 0.0; } else if ( v9 > 0.2 ) { v9 = 0.2; } v4 = (cocos2d::CCGLProgram *)(*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 241) + 328))(*((_DWORD *)this + 241)); v6 = v9; v5 = *((_DWORD *)this + 330); } return cocos2d::CCGLProgram::setUniformLocationWith1f(v4, v5, v6); }
GD Web Decomp Icon

GD Web Decomp

Raw Source