//
// cocos2d::CCBlink::update from 0x1003bab20 to 0x1003bab95 (117 bytes)
//
// 1 xrefs:
// > ??> @ 0x10092a5a8
//
// 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 cocos2d::CCBlink::update(cocos2d::CCBlink *a1, float a2)
{
float v2; // xmm0_4
float v3; // [rsp+4h] [rbp-Ch]
if ( a1->m_pTarget )
{
if ( !((unsigned __int8 (__fastcall *)(cocos2d::CCBlink *))a1->isDone)(a1) )
{
v3 = 1.0 / (float)*((int *)&a1->m_bFirstTick + 1);
v2 = fmodf(a2, v3);
((void (__fastcall *)(cocos2d::CCNode *, bool))a1->m_pTarget->setVisible)(a1->m_pTarget, v2 > (float)(v3 * 0.5));
}
}
}