//
// SimplePlayer::createRobotSprite from 0x100303288 to 0x1003032e0 (88 bytes)
//
// 2 xrefs:
// > GJGarageLayer::init @ 0x100302300
// > SimplePlayer::updatePlayerFrame @ 0x1003036c0
//
// 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 __fastcall SimplePlayer::createRobotSprite(SimplePlayer *a1, int a2)
{
GJRobotSprite *v3; // x0
if ( !a1->m_robotSprite )
{
v3 = GJRobotSprite::create(a2);
a1->m_robotSprite = v3;
((void (__fastcall *)(SimplePlayer *, GJRobotSprite *))a1->addChild)(a1, v3);
((void (__fastcall *)(GJRobotSprite *, _QWORD))a1->m_robotSprite->setVisible)(a1->m_robotSprite, 0);
}
}