//
// cocos2d::CCCallFuncO::create from 0xd304bc to 0xd30554 (152 bytes)
//
// 3 xrefs:
// > EndLevelLayer::playCoinEffect @ 0x8fa0ec
// > RewardUnlockLayer::playLabelEffect @ 0xa85610
// > ??> @ 0xab910
//
// 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 13:07:20 +0000
//
cocos2d::CCCallFuncO *__fastcall cocos2d::CCCallFuncO::create(__int64 a1, __int64 a2, __int64 a3, __int64 a4)
{
cocos2d::CCCallFuncO *v7; // x19
v7 = (cocos2d::CCCallFuncO *)operator new(0x88u);
cocos2d::CCCallFuncO::CCCallFuncO(v7);
if ( (*(unsigned __int8 (__fastcall **)(cocos2d::CCCallFuncO *, __int64, __int64, __int64, __int64))(*(_QWORD *)v7 + 144LL))(
v7,
a1,
a2,
a3,
a4) )
{
cocos2d::CCObject::autorelease(v7);
return v7;
}
else
{
(*(void (__fastcall **)(cocos2d::CCCallFuncO *))(*(_QWORD *)v7 + 16LL))(v7);
return nullptr;
}
}