private static void OnMassChanged(HandleVector <int> .Handle handle, object other_data)
    {
        OreSizeVisualizerData data           = GameComps.OreSizeVisualizers.GetData(handle);
        PrimaryElement        primaryElement = data.primaryElement;
        float num = primaryElement.Mass;

        if (other_data != null)
        {
            Pickupable     pickupable = (Pickupable)other_data;
            PrimaryElement component  = pickupable.GetComponent <PrimaryElement>();
            num += component.Mass;
        }
        MassTier massTier = default(MassTier);

        for (int i = 0; i < MassTiers.Length; i++)
        {
            if (num <= MassTiers[i].massRequired)
            {
                massTier = MassTiers[i];
                break;
            }
        }
        KBatchedAnimController component2 = primaryElement.GetComponent <KBatchedAnimController>();

        component2.Play(massTier.animName, KAnim.PlayMode.Once, 1f, 0f);
        KCircleCollider2D component3 = primaryElement.GetComponent <KCircleCollider2D>();

        if ((UnityEngine.Object)component3 != (UnityEngine.Object)null)
        {
            component3.radius = massTier.colliderRadius;
        }
        primaryElement.Trigger(1807976145, null);
    }