//
// GJItemIcon::dGJItemIcon from 0x100307934 to 0x10030797c (72 bytes)
//
// 2 xrefs:
// > j_GJItemIcon::dGJItemIcon @ 0x100307980
// > sub_100307984 @ 0x10030798c
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall GJItemIcon::dGJItemIcon(__int64 a1)
{
GameManager *v2; // x0
*(_QWORD *)a1 = off_1007EC7E0;
*(_QWORD *)(a1 + 320) = off_1007ECCB8;
*(_QWORD *)(a1 + 344) = off_1007ECD38;
v2 = GameManager::sharedState();
GameManager::unloadIcons(v2, *(_DWORD *)(a1 + 608));
return cocos2d::CCSprite::dCCSprite((_QWORD *)a1);
}