// // SimplePlayer::createSpiderSprite from 0x791a00 to 0x791ac0 (192 bytes) // // 3 xrefs: // > SimplePlayer::updatePlayerFrame @ 0x792920 // > GJGarageLayer::init @ 0x799508 // > @ 0x643b0 // // 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; // x0 SimplePlayer_vtbl *v4; // x2 GJSpiderSprite *m_spiderSprite; // x20 void (__fastcall *setPosition)(cocos2d::CCSprite *__hidden, const cocos2d::CCPoint *); // x21 cocos2d::CCPoint v7; // [xsp+40h] [xbp+40h] BYREF 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; ((void (__fastcall *)(SimplePlayer *))v4->addChild)(a1); a1->m_spiderSprite->setVisible(a1->m_spiderSprite, 0); m_spiderSprite = a1->m_spiderSprite; setPosition = m_spiderSprite->setPosition; cocos2d::CCPoint::CCPoint(&v7, 0.0, -1.5); setPosition(m_spiderSprite, &v7); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source