//
// PlayerObject::flashPlayer from 0x10040ec70 to 0x10040ed5a (234 bytes)
//
// 0 xrefs:
//
// 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::flashPlayer(
PlayerObject *a1,
float a2,
float a3,
cocos2d::ccColor3B a4,
cocos2d::ccColor3B a5)
{
a1->m_flashMainColor = a4;
a1->m_flashSecondColor = a5;
((void (__fastcall *)(PlayerObject *, cocos2d::ccColor3B *))a1->setColor)(a1, &a1->m_flashMainColor);
((void (__fastcall *)(cocos2d::CCSprite *, cocos2d::ccColor3B *))a1->m_iconSpriteSecondary->setColor)(
a1->m_iconSpriteSecondary,
&a1->m_flashSecondColor);
((void (__fastcall *)(cocos2d::CCSprite *, cocos2d::ccColor3B *))a1->m_vehicleSpriteSecondary->setColor)(
a1->m_vehicleSpriteSecondary,
&a1->m_flashSecondColor);
GJRobotSprite::updateColor02(
a1->m_robotSprite,
(cocos2d::ccColor3B)(*(unsigned __int16 *)&a1->m_flashSecondColor.r | (a1->m_flashSecondColor.b << 16)));
GJRobotSprite::updateColor02(
a1->m_spiderSprite,
(cocos2d::ccColor3B)(*(unsigned __int16 *)&a1->m_flashSecondColor.r | (a1->m_flashSecondColor.b << 16)));
a1->m_flashTime = a1->m_totalTime;
a1->m_flashDuration = a2;
a1->m_flashDelay = a3;
}