//
// GJItemIcon::create from 0x8bdeec to 0x8be02c (320 bytes)
//
// 10 xrefs:
// > AchievementCell::loadFromDict @ 0x74292c
// > GJItemIcon::createStoreItem @ 0x8be060
// > GJItemIcon::createBrowserItem @ 0x8be0b0
// > AchievementBar::init @ 0x8feaa4
// > RewardUnlockLayer::playRewardEffect @ 0xa882a8
// > RewardUnlockLayer::playRewardEffect @ 0xa884d4
// > ShardsPage::init @ 0xaa4698
// > CommunityCreditsPage::init @ 0xab75c0
// > GJPathPage::init @ 0xba6af8
// > ??> @ 0x76738
//
// 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:56:29 +0000
//
__int64 __fastcall GJItemIcon::create(
int a1,
unsigned int a2,
__int64 a3,
__int64 a4,
unsigned __int8 a5,
unsigned __int8 a6,
unsigned __int8 a7)
{
unsigned int v10; // w21
__int64 v12; // x19
v10 = a6;
v12 = operator new(0x278u);
cocos2d::CCSprite::CCSprite((cocos2d::CCSprite *)v12);
*(_QWORD *)(v12 + 600) = 0;
*(_QWORD *)v12 = &off_145B360;
*(_QWORD *)(v12 + 320) = &off_145B848;
*(_QWORD *)(v12 + 344) = &off_145B8C8;
*(_DWORD *)(v12 + 608) = 0;
cocos2d::CCSize::CCSize((cocos2d::CCSize *)(v12 + 612));
*(_BYTE *)(v12 + 620) = 0;
*(_DWORD *)(v12 + 624) = 0;
*(_DWORD *)(v12 + 628) = 0;
if ( (unsigned __int8)GJItemIcon::init(v12, a1, a2, a3, a4, a5, v10, a7) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v12);
return v12;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v12 + 16LL))(v12);
return 0;
}
}