//
// cocos2d::CCSpeed::reverse from 0x1005f4840 to 0x1005f48d0 (144 bytes)
//
// 1 xrefs:
// > ??> @ 0x10097b998
//
// 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
//
cocos2d::CCActionInterval *__fastcall cocos2d::CCSpeed::reverse(cocos2d::CCSpeed *a1)
{
cocos2d::CCObject *v1; // r14
char *v2; // rbx
int v4; // [rsp+Ch] [rbp-14h]
v1 = (cocos2d::CCObject *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)&a1[1].m_uID + 112LL))(*(_QWORD *)&a1[1].m_uID);
v4 = (int)a1[1].__vftable;
v2 = (char *)operator new(0x60u);
cocos2d::CCObject::CCObject((__int64)v2);
*(_OWORD *)(v2 + 56) = 0;
*((_DWORD *)v2 + 18) = -1;
*(_QWORD *)v2 = off_10097B928;
_mm_storel_ps((double *)(v2 + 76), (__m128)0x3F800000u);
*((_QWORD *)v2 + 11) = 0;
cocos2d::CCObject::retain(v1);
*((_QWORD *)v2 + 11) = v1;
*((_DWORD *)v2 + 20) = v4;
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2);
return (cocos2d::CCActionInterval *)v2;
}