//
// SimplePlayer::createRobotSprite from 0x791998 to 0x791a00 (104 bytes)
//
// 3 xrefs:
// > SimplePlayer::updatePlayerFrame @ 0x792808
// > GJGarageLayer::init @ 0x7994fc
// > ??> @ 0xad190
//
// 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; // x0
SimplePlayer_vtbl *v4; // x2
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;
((void (__fastcall *)(SimplePlayer *))v4->addChild)(a1);
a1->m_robotSprite->setVisible(a1->m_robotSprite, 0);
}
}