//
// SimplePlayer::createSpiderSprite from 0x140279b70 to 0x140279bf3 (131 bytes)
//
// 5 xrefs:
// > GJGarageLayer::init @ 0x140273a44
// > SimplePlayer::updatePlayerFrame @ 0x14027a3a9
// > ??> @ 0x140687520
// > ??> @ 0x140687530
// > ??> @ 0x1406d107c
//
// 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::createSpiderSprite(SimplePlayer *a1, int a2)
{
GJSpiderSprite *v3; // rax
SimplePlayer_vtbl *v4; // r8
float v5; // xmm0_4
GJSpiderSprite_vtbl *v6; // rbx
const cocos2d::CCPoint *v7; // rax
if ( !a1->m_spiderSprite )
{
v3 = GJSpiderSprite::create(a2);
v4 = a1->cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
a1->m_spiderSprite = v3;
v4->addChild_1(a1, v3);
v5 = ((float (__fastcall *)(GJSpiderSprite *, _QWORD))a1->m_spiderSprite->setVisible)(a1->m_spiderSprite, 0);
v6 = a1->m_spiderSprite->__vftable;
cocos2d::CCPoint::CCPoint(v5, 0.0);
v6->setPosition_0(a1->m_spiderSprite, v7);
}
}