//
// GravityEffectSprite::create from 0x711fb8 to 0x712064 (172 bytes)
//
// 2 xrefs:
// > PlayLayer::init @ 0x712288
// > ??> @ 0x71860
//
// 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 12:52:13 +0000
//
_QWORD *__fastcall GravityEffectSprite::create(GravityEffectSprite *this)
{
_QWORD *v1; // x19
v1 = (_QWORD *)operator new(0x258u);
memset(v1, 0, 0x258u);
cocos2d::CCSprite::CCSprite((cocos2d::CCSprite *)v1);
*v1 = &off_1428C30;
v1[40] = &off_1429118;
v1[43] = &off_1429198;
if ( (unsigned __int8)GravityEffectSprite::init((GravityEffectSprite *)v1) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v1);
return v1;
}
else
{
(*(void (__fastcall **)(_QWORD *))(*v1 + 16LL))(v1);
return nullptr;
}
}