//
// GJPathSprite::create from 0x1002e9480 to 0x1002e9501 (129 bytes)
//
// 1 xrefs:
// > GJItemIcon::init @ 0x10035a911
//
// This function is hookable on this platform (idp: pc, 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:28:22 +0000
//
_QWORD *__fastcall GJPathSprite::create(unsigned int a1)
{
_QWORD *v1; // rbx
v1 = operator new(0x258u);
__bzero(v1, 600);
cocos2d::CCSprite::CCSprite((__int64)v1);
*v1 = off_100B13050;
v1[40] = off_100B13538;
v1[43] = off_100B135B8;
if ( (unsigned __int8)GJPathSprite::init(v1, a1) )
{
cocos2d::CCObject::autorelease(v1);
}
else
{
(*(void (__fastcall **)(_QWORD *))(*v1 + 16LL))(v1);
return nullptr;
}
return v1;
}