//
// GJItemIcon::create from 0x1003a46cc to 0x1003a4778 (172 bytes)
//
// 12 xrefs:
// > AchievementCell::loadFromDict @ 0x100126b94
// > CommunityCreditsPage::init @ 0x1002368cc
// > RewardUnlockLayer::playRewardEffect @ 0x10025be24
// > RewardUnlockLayer::playRewardEffect @ 0x10025c2d4
// > sub_1003085CC @ 0x10030949c
// > GJGarageLayer::setupSpecialPage @ 0x1003a21d4
// > GJGarageLayer::getItems @ 0x1003a2464
// > GJGarageLayer::dialogClosed @ 0x1003a3abc
// > sub_1003A46B0 @ 0x1003a46c8
// > ItemInfoPopup::init @ 0x1003a5308
// > ShardsPage::init @ 0x1004493c8
// > sub_10045F6C4 @ 0x100460270
//
// 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:03:48 +0000
//
void *__fastcall GJItemIcon::create(__int64 a1, __int64 a2, int a3, int a4, __int64 a5, __int64 a6, __int64 a7)
{
void *v13; // x19
v13 = operator new(0x278u);
GJItemIcon::GJItemIcon();
if ( (unsigned int)GJItemIcon::init(v13, a1, a2, *(_QWORD *)&a3 & 0xFFFFFFLL, *(_QWORD *)&a4 & 0xFFFFFFLL, a5, 0, a7) )
{
cocos2d::CCObject::autorelease((__int64)v13);
}
else
{
(*(void (__fastcall **)(void *))(*(_QWORD *)v13 + 16LL))(v13);
return nullptr;
}
return v13;
}