//
// PlayerObject::setColor from 0x10022c170 to 0x10022c1e0 (112 bytes)
//
// 2 xrefs:
// > sub_10022C1E0 @ 0x10022c1e4
// > ??> @ 0x1007c3f68
//
// 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::setColor(PlayerObject *a1, const cocos2d::ccColor3B *a2)
{
cocos2d::CCSprite::setColor(a1, a2);
((void (__fastcall *)(cocos2d::CCSprite *, const cocos2d::ccColor3B *))a1->m_iconSprite->setColor)(
a1->m_iconSprite,
a2);
((void (__fastcall *)(cocos2d::CCSprite *, const cocos2d::ccColor3B *))a1->m_vehicleSprite->setColor)(
a1->m_vehicleSprite,
a2);
GJRobotSprite::updateColor01(a1->m_robotSprite, (cocos2d::ccColor3B)(*(unsigned __int16 *)&a2->r | (a2->b << 16)));
GJRobotSprite::updateColor01(a1->m_spiderSprite, (cocos2d::ccColor3B)(*(unsigned __int16 *)&a2->r | (a2->b << 16)));
}