// // ShaderLayer::update from 0x1003cbef0 to 0x1003cbff8 (264 bytes) // // 1 xrefs: // > @ 0x10092ef28 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void __fastcall ShaderLayer::update(ShaderLayer *a1, float a2) { std::__hash_node_base, void *> *>::__next_pointer next; // r15 GJShaderState *p_m_state; // rbx __int64 v4; // r12 void *v5; // rdi void *__p; // [rsp+8h] [rbp-48h] BYREF __int64 v7; // [rsp+24h] [rbp-2Ch] BYREF float v8; // [rsp+2Ch] [rbp-24h] v8 = a2; sub_10028CFC0(&v7, &a1->m_screenSize); if ( a1->m_targetTextureSize.width != *(float *)&v7 || a1->m_targetTextureSize.height != *((float *)&v7 + 1) ) { sub_100175A10("Resetting shader"); ShaderLayer::setupShader(a1, 0); } a1->m_state.m_time = v8 + a1->m_state.m_time; next = a1->m_state.m_tweenActions.__table_.__p1_.__value_.__next_; if ( next ) { p_m_state = &a1->m_state; do { GJValueTween::step((GJValueTween *)((char *)&next[2].__next_ + 4), v8); GJShaderState::updateTweenAction(p_m_state, *((float *)&next[4].__next_ + 1), (int)next[2].__next_); if ( LOBYTE(next[6].__next_) == 1 ) { v4 = (__int64)next->__next_; sub_100056B40((__int64)&__p, (__int64 *)p_m_state, (__int64 *)next); v5 = __p; __p = nullptr; if ( v5 ) operator delete(v5); } else { v4 = (__int64)next->__next_; } next = (std::__hash_node_base, void *> *>::__next_pointer)v4; } while ( v4 ); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source