// // ShaderLayer::preHueShiftShader from 0x684b20 to 0x684b9e (126 bytes) // // 1 xrefs: // > ShaderLayer::performCalculations @ 0x685614 // // 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:04 +0000 // int __fastcall ShaderLayer::preHueShiftShader(ShaderLayer *this) { float v2; // s15 cocos2d::CCGLProgram *v3; // r5 float v4; // r0 cocos2d::CCGLProgram *v5; // r5 float v6; // r0 if ( *((float *)this + 223) != 0.0 || cocos2d::CCNode::getActionByTag(this, 38) ) *((_BYTE *)this + 950) = 1; v2 = *((float *)this + 223); v3 = (cocos2d::CCGLProgram *)(*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 241) + 328))(*((_DWORD *)this + 241)); v4 = cosf(v2 * 0.017453); cocos2d::CCGLProgram::setUniformLocationWith1f(v3, *((_DWORD *)this + 347), v4); v5 = (cocos2d::CCGLProgram *)(*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 241) + 328))(*((_DWORD *)this + 241)); v6 = sinf(v2 * 0.017453); return cocos2d::CCGLProgram::setUniformLocationWith1f(v5, *((_DWORD *)this + 348), v6); }
GD Web Decomp Icon

GD Web Decomp

Raw Source