//
// SimplePlayer::createRobotSprite from 0x402d24 to 0x402d58 (52 bytes)
//
// 2 xrefs:
// > SimplePlayer::updatePlayerFrame @ 0x4035b2
// > GJGarageLayer::init @ 0x407400
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void SimplePlayer::createRobotSprite(SimplePlayer *a1, int a2)
{
GJRobotSprite *v3; // r0
SimplePlayer_vtbl *v4; // r3
if ( !a1->m_robotSprite )
{
v3 = GJRobotSprite::create(a2);
v4 = a1->cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
a1->m_robotSprite = v3;
v4->addChild(a1, v3);
a1->m_robotSprite->setVisible(a1->m_robotSprite, 0);
}
}