//
// sub_1003D002C from 0x1003d002c to 0x1003d0094 (104 bytes)
//
// 4 xrefs:
// > GJBaseGameLayer::processItems @ 0x1002856e8
// > SecretLayer2::onSubmit @ 0x1003a7914
// > sub_100464B28 @ 0x100464f74
// > LevelPage::ccTouchBegan @ 0x100486664
//
// 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:04:10 +0000
//
void __fastcall sub_1003D002C(__int64 a1, const char *a2)
{
__int64 v2; // x19
__int64 v3; // x20
void *v4; // x0
char *CString; // x0
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v7; // [xsp+1Fh] [xbp-11h]
v2 = *(_QWORD *)(a1 + 520);
v3 = *(_QWORD *)(a1 + 320);
v4 = sub_1003065B0("unique_%s", a2);
CString = (char *)cocos2d::CCString::getCString((__int64)v4);
sub_100009900(__p, CString);
cocos2d::CCDictionary::setObject(v2, v3, __p);
if ( v7 < 0 )
operator delete(__p[0]);
}