//
// GJChestSprite::create from 0x10025b6d8 to 0x10025b760 (136 bytes)
//
// 17 xrefs:
// > GJNotificationCell::loadFromNotification @ 0x10013148c
// > LevelCell::loadCustomLevelCell @ 0x100133ce8
// > DailyLevelNode::init @ 0x10025119c
// > GauntletNode::generateNode @ 0x100257b7c
// > GauntletNode::generateNode @ 0x100257bf4
// > GauntletNode::generateNode @ 0x100257e38
// > GauntletNode::generateNode @ 0x100257eb4
// > RewardUnlockLayer::init @ 0x10025b058
// > SecretRewardsLayer::init @ 0x100383be0
// > SecretRewardsLayer::init @ 0x100384140
// > SecretRewardsLayer::generateChestItems @ 0x1003862a8
// > SecretLayer3::init @ 0x1003ab72c
// > SecretLayer3::init @ 0x1003ab950
// > SecretLayer4::init @ 0x1003f3fd4
// > sub_1004624A8 @ 0x100462788
// > sub_1004624A8 @ 0x1004627f8
// > FollowRewardPage::init @ 0x1004a75e0
//
// 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 11:01:36 +0000
//
_QWORD *__fastcall GJChestSprite::create(__int64 a1)
{
_QWORD *v2; // x19
v2 = operator new(0x260u);
cocos2d::CCSprite::CCSprite(v2);
*v2 = &off_100910540;
v2[40] = off_100910A28;
v2[43] = off_100910AA8;
*((_BYTE *)v2 + 604) = 0;
*(_QWORD *)((char *)v2 + 596) = 0;
if ( (unsigned int)sub_10025DCCC(v2, a1) )
{
cocos2d::CCObject::autorelease((__int64)v2);
}
else
{
(*(void (__fastcall **)(_QWORD *))(*v2 + 16LL))(v2);
return nullptr;
}
return v2;
}