//
// cocos2d::CCActionInterval::step from 0xabe868 to 0xabe9bc (340 bytes)
//
// 86 xrefs:
// > ??> @ 0x68280
// > ??> @ 0x11fb568
// > ??> @ 0x11fb5f8
// > ??> @ 0x11fb708
// > ??> @ 0x11fb798
// > ??> @ 0x11fb888
// > ??> @ 0x11fb918
// > ??> @ 0x11fbbb8
// > ??> @ 0x11fbc48
// > ??> @ 0x11fbcd8
// > ??> @ 0x11fbd68
// > ??> @ 0x11fbdf8
// > ??> @ 0x11fbe88
// > ??> @ 0x11fbf18
// > ??> @ 0x11fbfa8
// > ??> @ 0x11fc038
// > ??> @ 0x11fc0c8
// > ??> @ 0x11fc158
// > ??> @ 0x11fc1e8
// > ??> @ 0x11fc278
// > ??> @ 0x11fc308
// > ??> @ 0x11fc398
// > ??> @ 0x11fc428
// > ??> @ 0x11fc4b8
// > ??> @ 0x11fc548
// > ??> @ 0x11fc5d8
// > ??> @ 0x11fc668
// > ??> @ 0x11fc6f8
// > ??> @ 0x11fc788
// > ??> @ 0x11fc8d8
// > ??> @ 0x11fc978
// > ??> @ 0x11fca18
// > ??> @ 0x11fcab8
// > ??> @ 0x11fcb48
// > ??> @ 0x11fcbd8
// > ??> @ 0x11fce68
// > ??> @ 0x11fcf08
// > ??> @ 0x11fcfb8
// > ??> @ 0x11fd068
// > ??> @ 0x11fd108
// > ??> @ 0x11fd1a8
// > ??> @ 0x11fd248
// > ??> @ 0x11fd2e8
// > ??> @ 0x11fd388
// > ??> @ 0x11fe058
// > ??> @ 0x11fe0e8
// > ??> @ 0x11fe178
// > ??> @ 0x11fe298
// > ??> @ 0x11fe328
// > ??> @ 0x11fe3b8
// > ??> @ 0x11fe448
// > ??> @ 0x11fe4d8
// > ??> @ 0x11fe568
// > ??> @ 0x11fe5f8
// > ??> @ 0x11fe688
// > ??> @ 0x11fe718
// > ??> @ 0x11fe7a8
// > ??> @ 0x11fe838
// > ??> @ 0x11fe8c8
// > ??> @ 0x11fe958
// > ??> @ 0x11fe9e8
// > ??> @ 0x11fea78
// > ??> @ 0x11feb08
// > ??> @ 0x11feb98
// > ??> @ 0x11fec28
// > ??> @ 0x11fecb8
// > ??> @ 0x11fed48
// > ??> @ 0x11fedd8
// > ??> @ 0x11fee68
// > ??> @ 0x11feef8
// > ??> @ 0x11ff028
// > ??> @ 0x11ff0f8
// > ??> @ 0x11ff188
// > ??> @ 0x11ff338
// > ??> @ 0x11ff3d8
// > ??> @ 0x11ff478
// > ??> @ 0x11ff518
// > ??> @ 0x11ff5c8
// > ??> @ 0x11ff678
// > ??> @ 0x11ff728
// > ??> @ 0x11ff7d8
// > ??> @ 0x11ff878
// > ??> @ 0x11ff918
// > ??> @ 0x11ff9b8
// > ??> @ 0x11ffa58
// > ??> @ 0x11ffb18
//
// 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
//
// local variable allocation has failed, the output may be wrong!
void cocos2d::CCActionInterval::step(cocos2d::CCActionInterval *a1, float a2)
{
float m_fSpeedMod; // s1
float m_fDuration; // s2
cocos2d::CCActionInterval_vtbl *v4; // x1
float v5; // s1
void (*update)(void); // x1
float v7; // s5
m_fSpeedMod = a1->m_fSpeedMod;
if ( m_fSpeedMod != 1.0 )
a2 = a2 * m_fSpeedMod;
if ( a1->m_bFirstTick )
{
m_fDuration = a1->m_fDuration;
v4 = a1->__vftable;
a1->m_bFirstTick = 0;
v5 = 0.0;
update = (void (*)(void))v4->update;
v7 = m_fDuration;
a1->m_elapsed = 0.0;
if ( m_fDuration >= 0.00000011921 && (float)(0.0 / m_fDuration) >= 1.0 )
{
LABEL_6:
if ( m_fDuration >= 0.00000011921 )
{
if ( (float)(v5 / m_fDuration) >= 1.0 )
goto LABEL_8;
if ( m_fDuration >= 0.00000011921 )
goto LABEL_12;
}
else if ( (float)(v5 * 8388600.0) >= 1.0 )
{
LABEL_8:
update();
return;
}
LABEL_11:
v7 = 0.00000011921;
LABEL_12:
((void (__fastcall *)(float))update)(v5 / v7);
return;
}
}
else
{
m_fDuration = a1->m_fDuration;
v5 = a2 + a1->m_elapsed;
update = (void (*)(void))a1->update;
a1->m_elapsed = v5;
if ( m_fDuration < 0.00000011921 )
{
if ( (float)(v5 * 8388600.0) >= 1.0 )
{
v7 = m_fDuration;
goto LABEL_6;
}
goto LABEL_16;
}
v7 = m_fDuration;
if ( (float)(v5 / m_fDuration) >= 1.0 )
goto LABEL_6;
}
if ( m_fDuration < 0.00000011921 )
{
LABEL_16:
if ( (float)(v5 * 8388600.0) > 0.0 )
{
if ( (float)(v5 * 8388600.0) >= 1.0 )
goto LABEL_8;
goto LABEL_11;
}
a2 = 0.0;
goto LABEL_18;
}
if ( (float)(v5 / m_fDuration) > 0.0 )
goto LABEL_6;
a2 = 0.0;
LABEL_18:
((void (__fastcall *)(long double))update)(*(long double *)&a2);
}