//
// cocos2d::CCSequence::update from 0x180037b20 to 0x180037c57 (311 bytes)
//
// 5 xrefs:
// > ??> @ 0x1800ef3f8
// > ??> @ 0x18013e540
// > ??> @ 0x18013e550
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bac0c
//
// 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::CCSequence::update(cocos2d::CCSequence *this, float a2)
{
int v3; // edi
int *v4; // r14
__int64 v5; // rsi
int v6; // eax
__int64 v7; // rcx
if ( *((float *)this + 28) > a2 )
{
v3 = 0;
v4 = (int *)((char *)this + 116);
v5 = 0;
if ( *((_DWORD *)this + 29) == 1 )
{
(*(void (__fastcall **)(_QWORD))(**((_QWORD **)this + 13) + 32LL))(*((_QWORD *)this + 13));
(*(void (__fastcall **)(_QWORD))(**((_QWORD **)this + 13) + 88LL))(*((_QWORD *)this + 13));
}
goto LABEL_9;
}
v3 = 1;
v6 = *((_DWORD *)this + 29);
v4 = (int *)((char *)this + 116);
v5 = 1;
if ( v6 == -1 )
{
(*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 12) + 80LL))(
*((_QWORD *)this + 12),
*((_QWORD *)this + 8));
v7 = *((_QWORD *)this + 12);
LABEL_8:
(*(void (__fastcall **)(__int64))(*(_QWORD *)v7 + 32LL))(v7);
(*(void (__fastcall **)(_QWORD))(**((_QWORD **)this + 12) + 88LL))(*((_QWORD *)this + 12));
goto LABEL_9;
}
if ( !v6 )
{
v7 = *((_QWORD *)this + 12);
goto LABEL_8;
}
LABEL_9:
if ( v3 != *v4 )
goto LABEL_12;
if ( (*(unsigned __int8 (__fastcall **)(_QWORD))(**((_QWORD **)this + v5 + 12) + 72LL))(*((_QWORD *)this + v5 + 12)) )
return;
if ( v3 != *v4 )
LABEL_12:
(*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + v5 + 12) + 80LL))(
*((_QWORD *)this + v5 + 12),
*((_QWORD *)this + 8));
(*(void (__fastcall **)(_QWORD))(**((_QWORD **)this + v5 + 12) + 32LL))(*((_QWORD *)this + v5 + 12));
*v4 = v3;
}