// // PlayerObject::setSecondColor from 0x10021a40c to 0x10021a474 (104 bytes) // // 8 xrefs: // > GJBaseGameLayer::createPlayer @ 0x1001dd98c // > GJBaseGameLayer::createPlayer @ 0x1001ddb30 // > PlayerObject::update @ 0x1002197dc // > PlayerObject::playSpiderDashEffect @ 0x1002258a4 // > PlayerObject::startDashing @ 0x10022686c // > PlayerObject::resetObject @ 0x100226a50 // > MenuGameLayer::init @ 0x10039a884 // > MenuGameLayer::resetPlayer @ 0x10039af00 // // 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 PlayerObject::setSecondColor(PlayerObject *a1, const cocos2d::ccColor3B *a2) { ((void (__fastcall *)(cocos2d::CCSprite *))a1->m_iconSpriteSecondary->setColor)(a1->m_iconSpriteSecondary); ((void (__fastcall *)(cocos2d::CCSprite *, const cocos2d::ccColor3B *))a1->m_vehicleSpriteSecondary->setColor)( a1->m_vehicleSpriteSecondary, a2); GJRobotSprite::updateColor02(a1->m_robotSprite, (cocos2d::ccColor3B)(*(unsigned __int16 *)&a2->r | (a2->b << 16))); GJRobotSprite::updateColor02(a1->m_spiderSprite, (cocos2d::ccColor3B)(*(unsigned __int16 *)&a2->r | (a2->b << 16))); }
GD Web Decomp Icon

GD Web Decomp

Raw Source