// // EnterEffectInstance::updateTransitions from 0x58ac6e to 0x58ad2c (190 bytes) // // 3 xrefs: // > GJBaseGameLayer::updateEnterEffects @ 0x46de10 // > GJBaseGameLayer::updateEnterEffects @ 0x46de32 // > GJBaseGameLayer::processAreaEffects @ 0x496576 // // 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 *p_m_header; // r6 std::_rb_tree_base *m_left; // r4 float v8; // s14 float v9; // s15 int v10; // r8 void *v11; // r0 float EnterEasingValue; // r0 p_m_header = &a1->m_enterEffectAnimMap.m_header; m_left = a1->m_enterEffectAnimMap.m_header.m_left; while ( m_left != p_m_header ) { v8 = *(float *)&m_left[2].m_isblack; v9 = a2 + *(float *)&m_left[2].m_parent; *(float *)&m_left[2].m_parent = v9; if ( v9 < v8 ) { EnterEasingValue = GJBaseGameLayer::getEnterEasingValue( a3, v9 / v8, (int)m_left[2].m_left, *(float *)&m_left[2].m_right, *(_DWORD *)&m_left[3].m_isblack); EnterEffectInstance::setValue( a1, (int)m_left[1].m_parent, *(float *)&m_left[1].m_left + (float)((float)(*(float *)&m_left[1].m_right - *(float *)&m_left[1].m_left) * EnterEasingValue)); m_left = (std::_rb_tree_base *)sub_761FA8(m_left); } else { EnterEffectInstance::setValue(a1, (int)m_left[1].m_parent, *(float *)&m_left[1].m_right); v10 = sub_761FA8(m_left); v11 = (void *)sub_7621E4(m_left, p_m_header); m_left = (std::_rb_tree_base *)v10; operator delete(v11); --a1->m_enterEffectAnimMap.m_nodecount; } } a1->m_hsvValue.h = a1->m_hue; a1->m_hsvValue.s = a1->m_saturation; a1->m_hsvValue.v = a1->m_value; }
GD Web Decomp Icon

GD Web Decomp

Raw Source