//
// PlayerObject::setSecondColor from 0x340166 to 0x3401b6 (80 bytes)
//
// 7 xrefs:
// > PlayerObject::flashPlayer @ 0x3401ee
// > PlayerObject::resetObject @ 0x347b2c
// > PlayerObject::update @ 0x34f084
// > MenuGameLayer::resetPlayer @ 0x3a97ba
// > MenuGameLayer::init @ 0x3aa3f0
// > GJBaseGameLayer::createPlayer @ 0x46ce36
// > GJBaseGameLayer::createPlayer @ 0x46cf9e
//
// 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 PlayerObject::setSecondColor(PlayerObject *a1, const cocos2d::ccColor3B *a2)
{
((void (__fastcall *)(cocos2d::CCSprite *))a1->m_iconSpriteSecondary->setColor)(a1->m_iconSpriteSecondary);
a1->m_vehicleSpriteSecondary->setColor(a1->m_vehicleSpriteSecondary, a2);
GJRobotSprite::updateColor02(a1->m_robotSprite, (cocos2d::ccColor3B)(a2->r | (a2->g << 8) | (a2->b << 16)));
GJRobotSprite::updateColor02(a1->m_spiderSprite, (cocos2d::ccColor3B)(a2->r | (a2->g << 8) | (a2->b << 16)));
}