Attiny is programmed using the same language, C/C++. The full language is available to you, except for some library functions that were removed to make the compiled code smaller. You can absolutely create new functions like void1() void2() but with better names of course. Even object oriented code is supported.