//
// cocos2d::CCBlink::update from 0x5b6e30 to 0x5b6e94 (100 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 cocos2d::CCBlink::update(cocos2d::CCBlink *a1, float a2)
{
float v4; // s16
float v5; // s15
if ( a1->m_pTarget )
{
if ( !((int (__fastcall *)(cocos2d::CCBlink *))a1->isDone)(a1) )
{
v4 = 1.0 / (float)(unsigned int)a1[1].__vftable;
v5 = fmodf(a2, v4);
a1->m_pTarget->setVisible(a1->m_pTarget, v5 > (float)(v4 * 0.5));
}
}
}