// // ShaderLayer::update from 0x1406237c0 to 0x14062389c (220 bytes) // // 2 xrefs: // > @ 0x14081ad80 // > @ 0x140930530 // // 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 11:35:23 +0000 // void **__fastcall ShaderLayer::update(__int64 a1, float a2) { void **result; // rax void *v4; // rbx float v5; // [rsp+40h] [rbp+8h] BYREF float v6; // [rsp+44h] [rbp+Ch] __int64 v7; // [rsp+50h] [rbp+18h] BYREF cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v5, (const struct cocos2d::CCSize *)(a1 + 1208)); if ( *(float *)(a1 + 1224) != v5 || *(float *)(a1 + 1228) != v6 ) ShaderLayer::setupShader(a1, 0); *(double *)(a1 + 536) = a2 + *(double *)(a1 + 536); result = *(void ***)(a1 + 416); v4 = *result; if ( *result != result ) { do { GJValueTween::step((__int64)v4 + 20, a2); result = (void **)GJShaderState::updateTweenAction(a1 + 408, *((float *)v4 + 9), *((_DWORD *)v4 + 4)); if ( *((_BYTE *)v4 + 48) ) { result = (void **)sub_1403535F0((_QWORD *)(a1 + 408), &v7, (void **)v4); v4 = *result; } else { v4 = *(void **)v4; } } while ( v4 != *(void **)(a1 + 416) ); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source