//
// GJRewardItem::dataLoaded from 0x8cd45c to 0x8cd4e4 (136 bytes)
//
// 2 xrefs:
// > GJRewardItem::createWithCoder @ 0x8d5e3c
// > ??> @ 0xe2fc0
//
// 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 12:56:37 +0000
//
cocos2d::CCObject *__fastcall GJRewardItem::dataLoaded(GJRewardItem *this, DS_Dictionary *a2)
{
cocos2d::CCObject *result; // x0
cocos2d::CCObject *v5; // x20
cocos2d::CCObject *v6; // x1
*((_DWORD *)this + 14) = DS_Dictionary::getIntegerForKey(a2, "1");
*((_DWORD *)this + 16) = DS_Dictionary::getIntegerForKey(a2, &byte_120A098);
result = (cocos2d::CCObject *)DS_Dictionary::getArrayForKey(a2, "3", 0);
v5 = result;
v6 = *((cocos2d::CCObject **)this + 9);
if ( result != v6 )
{
if ( result )
{
result = (cocos2d::CCObject *)cocos2d::CCObject::retain(result);
v6 = *((cocos2d::CCObject **)this + 9);
}
if ( v6 )
result = (cocos2d::CCObject *)cocos2d::CCObject::release(v6);
*((_QWORD *)this + 9) = v5;
}
return result;
}