//
// GJPathSprite::create from 0x1003b8484 to 0x1003b8510 (140 bytes)
//
// 5 xrefs:
// > GJItemIcon::init @ 0x100307d90
// > GJPathsLayer::init @ 0x1003b833c
// > GJPathPage::init @ 0x1003b905c
// > GJPathPage::playUnlockAnimation @ 0x1003ba448
// > GJPathPage::unlockAnimationStep3 @ 0x1003baf4c
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
GJPathSprite *__fastcall GJPathSprite::create(int a1)
{
GJPathSprite *v2; // x19
v2 = (GJPathSprite *)operator new(0x258u);
bzero(v2, 0x258u);
cocos2d::CCSprite::CCSprite((__int64)v2);
v2->CCSpriteCOpacity::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (GJPathSprite_vtbl *)&off_100810BA0;
v2->CCSpriteCOpacity::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)off_100811078;
v2->CCSpriteCOpacity::cocos2d::CCSprite::cocos2d::CCTextureProtocol::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCTextureProtocol_vtbl *)off_1008110F8;
if ( GJPathSprite::init(v2, a1) )
{
cocos2d::CCObject::autorelease(v2);
}
else
{
((void (__fastcall *)(GJPathSprite *))v2->~GJPathSprite_0)(v2);
return nullptr;
}
return v2;
}