//
// cocos2d::CCAccelDeccelAmplitude::reverse from 0x1001edb30 to 0x1001edbe2 (178 bytes)
//
// 1 xrefs:
// > ??> @ 0x100ae0488
//
// 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 12:26:32 +0000
//
_OWORD *__fastcall cocos2d::CCAccelDeccelAmplitude::reverse(__int64 a1)
{
__int64 v1; // r14
_OWORD *v2; // rbx
float v4; // [rsp+Ch] [rbp-14h]
v1 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 96) + 112LL))(*(_QWORD *)(a1 + 96));
v4 = *(float *)(a1 + 80);
v2 = operator new(0x68u);
*v2 = 0;
v2[1] = 0;
v2[2] = 0;
v2[3] = 0;
v2[4] = 0;
v2[5] = 0;
*((_QWORD *)v2 + 12) = 0;
cocos2d::CCAction::CCAction(v2);
*((_DWORD *)v2 + 20) = 0;
*(_QWORD *)v2 = off_100AE0418;
if ( (unsigned __int8)cocos2d::CCActionInterval::initWithDuration(v2, v4) )
{
*((_DWORD *)v2 + 23) = 1065353216;
*((_QWORD *)v2 + 12) = v1;
cocos2d::CCObject::retain(v1);
cocos2d::CCObject::autorelease(v2);
}
else
{
(*(void (__fastcall **)(_OWORD *))(*(_QWORD *)v2 + 16LL))(v2);
return nullptr;
}
return v2;
}