//
// cocos2d::CCBlink::update from 0xac0ac4 to 0xac0b48 (132 bytes)
//
// 2 xrefs:
// > ??> @ 0xc8718
// > ??> @ 0x11fe9a8
//
// 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; // s0
float v5; // s8
float v6; // s0
if ( a1->m_pTarget )
{
if ( !a1->isDone(a1) )
{
v4 = a2;
v5 = 1.0 / (float)*((unsigned int *)&a1->m_bFirstTick + 1);
v6 = fmodf(v4, v5);
a1->m_pTarget->setVisible(a1->m_pTarget, v6 > (float)(v5 * 0.5));
}
}
}