//
// cocos2d::CCRepeatForever::step from 0x10021daac to 0x10021db44 (152 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008fbb10
//
// 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 11:01:06 +0000
//
__int64 __fastcall cocos2d::CCRepeatForever::step(__int64 a1)
{
__int64 result; // x0
float *v3; // x0
float v4; // s8
(*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 96) + 104LL))(*(_QWORD *)(a1 + 96));
result = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 96) + 80LL))(*(_QWORD *)(a1 + 96));
if ( (_DWORD)result )
{
v3 = *(float **)(a1 + 96);
v4 = v3[21] - v3[20];
(*(void (__fastcall **)(float *, _QWORD))(*(_QWORD *)v3 + 88LL))(v3, *(_QWORD *)(a1 + 64));
(*(void (__fastcall **)(_QWORD, float))(**(_QWORD **)(a1 + 96) + 104LL))(*(_QWORD *)(a1 + 96), 0.0);
return (*(__int64 (__fastcall **)(_QWORD, float))(**(_QWORD **)(a1 + 96) + 104LL))(*(_QWORD *)(a1 + 96), v4);
}
return result;
}