//
// cocos2d::CCBlink::update from 0x1003a3f20 to 0x1003a3f95 (117 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b32d60
//
// 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 12:29:21 +0000
//
__int64 __fastcall cocos2d::CCBlink::update(__int64 a1, float a2)
{
__int64 result; // rax
float v3; // xmm0_4
float v4; // [rsp+4h] [rbp-Ch]
if ( *(_QWORD *)(a1 + 64) )
{
result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 80LL))(a1);
if ( !(_BYTE)result )
{
v4 = 1.0 / (float)*(int *)(a1 + 92);
v3 = fmodf(a2, v4);
return (*(__int64 (__fastcall **)(_QWORD, bool))(**(_QWORD **)(a1 + 64) + 344LL))(
*(_QWORD *)(a1 + 64),
v3 > (float)(v4 * 0.5));
}
}
return result;
}