//
// cocos2d::CCCallFuncO::create from 0x7bc5ac to 0x7bc5f2 (70 bytes)
//
// 2 xrefs:
// > EndLevelLayer::playCoinEffect @ 0x5345b6
// > RewardUnlockLayer::playLabelEffect @ 0x61726e
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:00:16 +0000
//
cocos2d::CCCallFuncO *__fastcall cocos2d::CCCallFuncO::create(int a1, int a2, int a3, int a4)
{
cocos2d::CCCallFuncO *v6; // r4
v6 = (cocos2d::CCCallFuncO *)operator new(0x60u);
cocos2d::CCCallFuncO::CCCallFuncO(v6);
if ( (*(int (__fastcall **)(cocos2d::CCCallFuncO *, int, int, int, int))(*(_DWORD *)v6 + 72))(v6, a1, a2, a3, a4) )
{
cocos2d::CCObject::autorelease(v6);
return v6;
}
else
{
(*(void (__fastcall **)(cocos2d::CCCallFuncO *))(*(_DWORD *)v6 + 8))(v6);
return nullptr;
}
}