I just kept shaking random hands and eventually got the door unlock sound and the credits, no idea if there's a correct way to puzzle through it.
lol i got through those hands and... somewhat there's a hidden bullet hell minigame
Thanks for mentioning that, I played it again and the way to the bullet hell game was open this time.