//
// GJRewardItem::dataLoaded from 0x100055e80 to 0x100055ef2 (114 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 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:19:36 +0000
//
__int64 __fastcall GJRewardItem::dataLoaded(__int64 a1, __int64 a2)
{
__int64 result; // rax
__int64 v4; // rdi
__int64 v5; // r14
*(_DWORD *)(a1 + 56) = DS_Dictionary::getIntegerForKey(a2, "1");
*(_DWORD *)(a1 + 64) = DS_Dictionary::getIntegerForKey(a2, "2");
result = DS_Dictionary::getArrayForKey(a2, "3", 0);
v4 = *(_QWORD *)(a1 + 72);
if ( v4 != result )
{
v5 = result;
if ( result )
{
result = cocos2d::CCObject::retain(result);
v4 = *(_QWORD *)(a1 + 72);
}
if ( v4 )
result = cocos2d::CCObject::release(v4);
*(_QWORD *)(a1 + 72) = v5;
}
return result;
}