//
// cocos2d::CCActionTween::reverse from 0x100888950 to 0x100888a34 (228 bytes)
//
// 1 xrefs:
// > ??> @ 0x100ba6780
//
// 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:37:00 +0000
//
char *__fastcall cocos2d::CCActionTween::reverse(__int64 a1)
{
const std::string::value_type *v1; // r14
char *v2; // rbx
__m128 v4; // [rsp+0h] [rbp-30h]
unsigned int v5; // [rsp+1Ch] [rbp-14h]
if ( (*(_BYTE *)(a1 + 96) & 1) != 0 )
v1 = *(const std::string::value_type **)(a1 + 112);
else
v1 = (const std::string::value_type *)(a1 + 97);
v5 = *(_DWORD *)(a1 + 80);
v4 = (__m128)*(unsigned __int64 *)(a1 + 124);
v2 = (char *)operator new(0x88u);
*(_OWORD *)v2 = 0;
*((_OWORD *)v2 + 1) = 0;
*((_OWORD *)v2 + 2) = 0;
*((_OWORD *)v2 + 3) = 0;
*((_OWORD *)v2 + 4) = 0;
*((_OWORD *)v2 + 5) = 0;
*((_OWORD *)v2 + 6) = 0;
*((_OWORD *)v2 + 7) = 0;
*((_QWORD *)v2 + 16) = 0;
cocos2d::CCAction::CCAction((__int64)v2);
*((_DWORD *)v2 + 20) = 0;
*(_QWORD *)v2 = off_100BA6710;
*((_OWORD *)v2 + 6) = 0;
*((_QWORD *)v2 + 14) = 0;
if ( cocos2d::CCActionInterval::initWithDuration((__int64)v2, (__m128)v5) )
{
std::string::assign((std::string *)v2 + 4, v1);
_mm_storel_ps((double *)(v2 + 124), _mm_shuffle_ps(v4, v4, 225));
*((_DWORD *)v2 + 30) = 0;
cocos2d::CCObject::autorelease((__int64)v2);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v2 + 16LL))(v2);
return nullptr;
}
return v2;
}