//
// cocos2d::CCRepeatForever::step from 0xd329d8 to 0xd32a80 (168 bytes)
//
// 2 xrefs:
// > ??> @ 0xedc88
// > ??> @ 0x1513b18
//
// This function is hookable on this platform (idp: arm, 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 13:07:21 +0000
//
__int64 __fastcall cocos2d::CCRepeatForever::step(cocos2d::CCRepeatForever *this, float a2)
{
__int64 result; // x0
float *v4; // x0
float v5; // s8
(*(void (__fastcall **)(_QWORD, float))(**((_QWORD **)this + 12) + 104LL))(*((_QWORD *)this + 12), a2);
result = (*(unsigned __int8 (__fastcall **)(_QWORD))(**((_QWORD **)this + 12) + 80LL))(*((_QWORD *)this + 12));
if ( (_BYTE)result )
{
v4 = *((float **)this + 12);
v5 = v4[21] - v4[20];
(*(void (__fastcall **)(float *, _QWORD))(*(_QWORD *)v4 + 88LL))(v4, *((_QWORD *)this + 8));
(*(void (__fastcall **)(_QWORD, float))(**((_QWORD **)this + 12) + 104LL))(*((_QWORD *)this + 12), 0.0);
return (*(__int64 (__fastcall **)(_QWORD, float))(**((_QWORD **)this + 12) + 104LL))(*((_QWORD *)this + 12), v5);
}
return result;
}