//
// cocos2d::CCCallFuncO::create from 0x100242fe8 to 0x100243094 (172 bytes)
//
// 2 xrefs:
// > sub_10025D560 @ 0x10025d9ec
// > EndLevelLayer::playCoinEffect @ 0x1003945d8
//
// This function is hookable on this platform (idp: arm, 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:01:25 +0000
//
_DWORD *__fastcall cocos2d::CCCallFuncO::create(__int64 a1, __int64 a2, __int64 a3, __int64 a4)
{
_DWORD *v8; // x19
v8 = operator new(0x88u);
cocos2d::CCAction::CCAction();
v8[20] = 0;
*((_QWORD *)v8 + 11) = 0;
v8[24] = 0;
*((_QWORD *)v8 + 13) = 0;
*((_QWORD *)v8 + 14) = 0;
*(_QWORD *)v8 = off_100906260;
*((_QWORD *)v8 + 15) = &off_100906308;
*((_QWORD *)v8 + 16) = 0;
if ( (unsigned int)cocos2d::CCCallFuncO::initWithTarget(v8, a1, a2, a3, a4) )
{
cocos2d::CCObject::autorelease((__int64)v8);
}
else
{
(*(void (__fastcall **)(_DWORD *))(*(_QWORD *)v8 + 16LL))(v8);
return nullptr;
}
return v8;
}