//
// PlayerObject::setColor from 0x14039d310 to 0x14039d39c (140 bytes)
//
// 2 xrefs:
// > ??> @ 0x1405c8918
// > ??> @ 0x1406d671c
//
// 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::setColor(PlayerObject *a1, const cocos2d::ccColor3B *a2)
{
GJRobotSprite *m_vehicleSpriteSecondary; // rcx
GJRobotSprite *m_birdVehicle; // rcx
cocos2d::CCSprite::setColor(a1, a2);
(**(void (__fastcall ***)(__int64, const cocos2d::ccColor3B *))(*(_QWORD *)&a1->m_slopeAngle + 320LL))(
*(_QWORD *)&a1->m_slopeAngle + 320LL,
a2);
a1->m_collidingWithRight->setColor(&a1->m_collidingWithRight->cocos2d::CCRGBAProtocol, a2);
m_vehicleSpriteSecondary = (GJRobotSprite *)a1->m_vehicleSpriteSecondary;
m_vehicleSpriteSecondary->m_color = *a2;
GJRobotSprite::updateColors(m_vehicleSpriteSecondary);
m_birdVehicle = (GJRobotSprite *)a1->m_birdVehicle;
m_birdVehicle->m_color = *a2;
GJRobotSprite::updateColors(m_birdVehicle);
}