// // ShaderLayer::preHueShiftShader from 0x1003ba740 to 0x1003ba7f3 (179 bytes) // // 0 xrefs: // // 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:30 +0000 // __int64 __fastcall ShaderLayer::preHueShiftShader(__int64 a1) { __int64 v1; // r14 unsigned int v2; // r15d __m128 v3; // xmm0 __int64 v4; // rax float v6; // [rsp+0h] [rbp-30h] if ( *(float *)(a1 + 1020) != 0.0 || cocos2d::CCNode::getActionByTag(a1, 38) ) *(_BYTE *)(a1 + 1078) = 1; v6 = *(float *)(a1 + 1020) * 0.017453292; v1 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1104) + 656LL))(*(_QWORD *)(a1 + 1104)); v2 = *(_DWORD *)(a1 + 1544); v3 = (__m128)LODWORD(v6); *(__float2 *)v3.f32 = __sincosf_stret(v6); cocos2d::CCGLProgram::setUniformLocationWith1f(v1, v2, _mm_movehdup_ps(v3).f32[0]); v4 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1104) + 656LL))(*(_QWORD *)(a1 + 1104)); return cocos2d::CCGLProgram::setUniformLocationWith1f(v4, *(unsigned int *)(a1 + 1548), v3.f32[0]); }
GD Web Decomp Icon

GD Web Decomp

Raw Source