//
// cocos2d::CCBlink::update from 0x1800374c0 to 0x180037537 (119 bytes)
//
// 5 xrefs:
// > ??> @ 0x1800efb90
// > ??> @ 0x18013ee84
// > ??> @ 0x18013ee94
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bab28
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:21:35 +0000
//
void __fastcall cocos2d::CCBlink::update(cocos2d::CCBlink *this, float a2)
{
int v3; // eax
__int64 v4; // rbx
__int64 v5; // rdx
if ( *((_QWORD *)this + 8) )
{
if ( !(*(unsigned __int8 (__fastcall **)(cocos2d::CCBlink *))(*(_QWORD *)this + 72LL))(this) )
{
v3 = *((_DWORD *)this + 24);
v4 = *((_QWORD *)this + 8);
LOBYTE(v5) = fmodf(a2, 1.0 / (float)v3) > (float)((float)(1.0 / (float)v3) * 0.5);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v4 + 336LL))(v4, v5);
}
}
}