//
// cocos2d::CCTargetedAction::create from 0x180035240 to 0x1800352ea (170 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801ba7b0
//
// 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 11:21:34 +0000
//
// Hidden C++ exception states: #wind=1
struct cocos2d::CCTargetedAction *__fastcall cocos2d::CCTargetedAction::create(
struct cocos2d::CCNode *this,
struct cocos2d::CCFiniteTimeAction *a2)
{
cocos2d::CCAction *v4; // rax
cocos2d::CCAction *v5; // rbx
float v6; // xmm1_4
v4 = (cocos2d::CCAction *)sub_1800E4AC0(0x70u);
v5 = v4;
if ( v4 )
{
cocos2d::CCAction::CCAction(v4);
LODWORD(v4) = 0;
*((_DWORD *)v5 + 20) = 0;
*(_QWORD *)v5 = &cocos2d::CCTargetedAction::`vftable';
*((_QWORD *)v5 + 12) = 0;
*((_QWORD *)v5 + 13) = 0;
}
else
{
v5 = nullptr;
}
v6 = *((float *)a2 + 20);
*((float *)v5 + 20) = v6;
if ( v6 == 0.0 )
*((_DWORD *)v5 + 20) = 872415232;
*((_DWORD *)v5 + 22) = (_DWORD)v4;
*((_BYTE *)v5 + 92) = 1;
if ( this )
cocos2d::CCObject::retain(this);
*((_QWORD *)v5 + 12) = this;
cocos2d::CCObject::retain(a2);
*((_QWORD *)v5 + 13) = a2;
cocos2d::CCObject::autorelease(v5);
return v5;
}