//
// GJRewardObject::createWithCoder from 0x10008ed50 to 0x10008ede0 (144 bytes)
//
// 1 xrefs:
// > GJObjectDecoder::getDecodedObject @ 0x1007248f6
//
// 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
//
GJRewardObject *__fastcall GJRewardObject::createWithCoder(DS_Dictionary *a1)
{
GJRewardObject *v1; // rbx
v1 = (GJRewardObject *)operator new(0x48u);
cocos2d::CCObject::CCObject(v1);
v1->__vftable = (GJRewardObject_vtbl *)off_1008B38A8;
v1->m_specialRewardItem = 0;
*(_QWORD *)&v1->m_itemID = 0;
cocos2d::CCObject::autorelease(v1);
v1->m_specialRewardItem = DS_Dictionary::getIntegerForKey(a1, "1");
v1->m_itemID = DS_Dictionary::getIntegerForKey(a1, "2");
v1->m_total = DS_Dictionary::getIntegerForKey(a1, "3");
v1->m_unlockType = DS_Dictionary::getIntegerForKey(a1, "4");
return v1;
}