// // ShaderLayer::preHueShiftShader from 0xb2d81c to 0xb2d8c4 (168 bytes) // // 2 xrefs: // > ShaderLayer::performCalculations @ 0xb2e67c // > @ 0x74a88 // // This function is hookable on this platform (idp: arm, 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 13:01:42 +0000 // __int64 __fastcall ShaderLayer::preHueShiftShader(ShaderLayer *this) { float v2; // s0 float v3; // s8 float v4; // s0 float v5; // s0 __int64 ActionByTag; // x0 cocos2d::CCNode *v8; // [xsp+28h] [xbp+28h] cocos2d::CCNode *v9; // [xsp+28h] [xbp+28h] v2 = *((float *)this + 255); if ( v2 != 0.0 || (ActionByTag = cocos2d::CCNode::getActionByTag(this, 38), v2 = *((float *)this + 255), ActionByTag) ) *((_BYTE *)this + 1078) = 1; v3 = v2 * 0.017453; v8 = (cocos2d::CCNode *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 138) + 656LL))(*((_QWORD *)this + 138)); v4 = cosf(v3); cocos2d::CCGLProgram::setUniformLocationWith1f(v8, *((_DWORD *)this + 386), v4); v9 = (cocos2d::CCNode *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 138) + 656LL))(*((_QWORD *)this + 138)); v5 = sinf(v3); return cocos2d::CCGLProgram::setUniformLocationWith1f(v9, *((_DWORD *)this + 387), v5); }
GD Web Decomp Icon

GD Web Decomp

Raw Source