//
// GJBigSpriteNode::create from 0xac2260 to 0xac2344 (228 bytes)
//
// 2 xrefs:
// > GJBigSprite::init @ 0xac3de0
// > ??> @ 0x9f6e8
//
// 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:01:05 +0000
//
__int64 __fastcall GJBigSpriteNode::create(GJBigSpriteNode *this)
{
__int64 v1; // x19
__int64 v2; // x1
v1 = operator new(0x178u);
cocos2d::CCNode::CCNode((cocos2d::CCNode *)v1);
*(_QWORD *)(v1 + 320) = 0;
*(_QWORD *)v1 = &off_14AB6A0;
*(_QWORD *)(v1 + 328) = 0;
*(_QWORD *)(v1 + 336) = 0;
*(_QWORD *)(v1 + 344) = 0;
cocos2d::CCRect::CCRect((cocos2d::CCRect *)(v1 + 352));
v2 = *(_QWORD *)v1;
*(_BYTE *)(v1 + 368) = 0;
if ( (*(unsigned __int8 (__fastcall **)(__int64))(v2 + 80))(v1) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v1);
return v1;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v1 + 16LL))(v1);
return 0;
}
}