First, soak the red beans in water overnight or at least 3 hours ahead.
Drain soaked red beans and wash them again, then add clean water to cook the red beans.
Bring red beans and 5 cups of water to a boil and simmer it for one hour on medium-low heat. (If you are using a pressure cooker to speed up the process, check the manual for the exact cooking time)
Smash the cooled-down red beans into a paste with a spatula. Add red beans, sugar, and oil into a food processor or blender, and blend until a creamy texture is achieved or the desired consistency. Taste and adjust the amount of sugar if needed. Keep blending until it forms a smooth batter.
In a non-stick saucepan, add one tablespoon of butter, and heat the filling mixture until it's firmed up. Turn off the heat and remove from it the stove immediately. Refrigerate cooked red beans for at least 2 hours before making a cake.