Access attachment in a Spine animation in Lua (cocos2d-x 3.2)

Hi all.
Is there a way to access a bone or slot or attachment in a Spine animation in Lua?
I have an animation where a slot has lots of images, one for each weapon. I’m trying to define which image is to be shown, depeding on what weapon my hero has. Is there a way to set this in Lua?

I noticed in the Reference there is a class called LuaSkeletonAnimation with some methods to find bones/slots, but when i try to call them i get a nil value error.

Do i have to bind those methods myself?

I’m using cocos2d-x 3.2

thanks!!!