//
// GJBaseGameLayer::pickupItem from 0x100284f3c to 0x100284fa8 (108 bytes)
//
// 3 xrefs:
// > PlayLayer::loadFromCheckpoint @ 0x10014a5b8
// > GJBaseGameLayer::collisionCheckObjects @ 0x100283d0c
// > GJBaseGameLayer::collisionCheckObjects @ 0x100283eb4
//
// 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:57 +0000
//
void __fastcall GJBaseGameLayer::pickupItem(__int64 a1, __int64 a2)
{
__int64 v3; // x20
__int64 v4; // x0
char *CString; // x0
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v7; // [xsp+1Fh] [xbp-11h]
v3 = *(_QWORD *)(a1 + 12584);
v4 = sub_1003065B0("%i", *(_DWORD *)(a2 + 1792));
CString = (char *)cocos2d::CCString::getCString(v4);
sub_100009900(__p, CString);
cocos2d::CCDictionary::setObject(v3, a2, __p);
if ( v7 < 0 )
operator delete(__p[0]);
}