//
// cocos2d::CCCallFunc::create from 0x18002ffe0 to 0x180030048 (104 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801ba174
//
// 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:33 +0000
//
// Hidden C++ exception states: #wind=1
struct cocos2d::CCCallFunc *__fastcall cocos2d::CCCallFunc::create(int a1)
{
cocos2d::CCAction *v2; // rax
cocos2d::CCAction *v3; // rbx
v2 = (cocos2d::CCAction *)sub_1800E4AC0(0x70u);
v3 = v2;
if ( v2 )
{
cocos2d::CCAction::CCAction(v2);
*((_DWORD *)v3 + 20) = 0;
*(_QWORD *)v3 = &cocos2d::CCCallFunc::`vftable';
*((_QWORD *)v3 + 11) = 0;
*((_DWORD *)v3 + 24) = 0;
*((_QWORD *)v3 + 13) = 0;
}
else
{
v3 = nullptr;
}
if ( v3 )
{
*((_DWORD *)v3 + 24) = a1;
cocos2d::CCObject::autorelease(v3);
}
return v3;
}