//
// PlayerObject::flashPlayer from 0x3401b6 to 0x340212 (92 bytes)
//
// 4 xrefs:
// > PlayerObject::playSpiderDashEffect @ 0x340472
// > PlayerObject::startDashing @ 0x342ba0
// > PlayerObject::spiderTestJumpY @ 0x34a8c2
// > PlayerObject::spiderTestJumpX @ 0x34b194
//
// 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::flashPlayer(PlayerObject *a1, float a2, float a3, cocos2d::ccColor3B a4, cocos2d::ccColor3B a5)
{
cocos2d::ccColor3B *p_m_flashSecondColor; // r5
PlayerObject_vtbl *v9; // r3
p_m_flashSecondColor = &a1->m_flashSecondColor;
a1->m_flashMainColor = a4;
a1->m_flashSecondColor.b = a5.b;
v9 = a1->GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
*(_WORD *)&a1->m_flashSecondColor.r = *(_WORD *)&a5.r;
v9->setColor(a1, &a1->m_flashMainColor);
PlayerObject::setSecondColor(a1, p_m_flashSecondColor);
a1->m_flashTime = a1->m_totalTime;
a1->m_flashDuration = a2;
a1->m_flashDelay = a3;
}