// // EnterEffectInstance::updateTransitions from 0xa6bd78 to 0xa6be88 (272 bytes) // // 4 xrefs: // > GJBaseGameLayer::updateEnterEffects @ 0x8583b8 // > GJBaseGameLayer::updateEnterEffects @ 0x8583f4 // > GJBaseGameLayer::processAreaEffects @ 0x89c2f0 // > @ 0xa7cb8 // // 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 EnterEffectInstance::updateTransitions(EnterEffectInstance *a1, float a2, GJBaseGameLayer *a3) { std::_rb_tree_base *m_left; // x20 std::_rb_tree_base *p_m_header; // x22 GJBaseGameLayer *v8; // x0 std::_rb_tree_base *v9; // x19 float v10; // s1 float v11; // s0 __int64 v12; // x2 std::_rb_tree_base *v13; // x0 void *v14; // x0 float m_saturation; // w1 float m_value; // w0 float EnterEasingValue; // s0 m_left = a1->m_enterEffectAnimMap.m_header.m_left; p_m_header = &a1->m_enterEffectAnimMap.m_header; while ( 1 ) { v8 = a3; v9 = m_left + 1; if ( m_left == p_m_header ) break; while ( 1 ) { v10 = *(float *)&v9->m_left; v11 = a2 + *((float *)&v9->m_left + 1); *((float *)&v9->m_left + 1) = v11; if ( v11 < v10 ) break; EnterEffectInstance::setValue(a1, *((_DWORD *)&v9->m_isblack + 1), *((float *)&v9->m_parent + 1)); v12 = sub_CFAB14(m_left); v13 = m_left; m_left = (std::_rb_tree_base *)v12; v14 = (void *)sub_CFAF34(v13, p_m_header); v9 = m_left + 1; operator delete(v14); --a1->m_enterEffectAnimMap.m_nodecount; v8 = a3; if ( m_left == p_m_header ) goto LABEL_5; } EnterEasingValue = GJBaseGameLayer::getEnterEasingValue( v8, v11 / v10, (int)v9->m_right, *((float *)&v9->m_right + 1), *(_DWORD *)&v9[1].m_isblack); EnterEffectInstance::setValue( a1, *((_DWORD *)&v9->m_isblack + 1), *(float *)&v9->m_parent + (float)(EnterEasingValue * (float)(*((float *)&v9->m_parent + 1) - *(float *)&v9->m_parent))); m_left = (std::_rb_tree_base *)sub_CFAB14(m_left); } LABEL_5: m_saturation = a1->m_saturation; m_value = a1->m_value; a1->m_hsvValue.h = a1->m_hue; a1->m_hsvValue.s = m_saturation; a1->m_hsvValue.v = m_value; }
GD Web Decomp Icon

GD Web Decomp

Raw Source