// // GJRewardItem::create from 0x1401f4190 to 0x1401f425c (204 bytes) // // 20 xrefs: // > GameStatsManager::createReward @ 0x1401e17a7 // > GameStatsManager::storeRewardState @ 0x1401e193c // > GameStatsManager::completedDailyLevel @ 0x1401e34d8 // > GameStatsManager::createSpecialChestItems @ 0x1401e88b3 // > GameStatsManager::createSpecialChestItems @ 0x1401e8a68 // > GameStatsManager::createSpecialChestItems @ 0x1401e8c13 // > GameStatsManager::createSpecialChestItems @ 0x1401e8d83 // > GameStatsManager::createSpecialChestItems @ 0x1401e8f04 // > GameStatsManager::createSpecialChestItems @ 0x1401e90b9 // > GameStatsManager::createSpecialChestItems @ 0x1401e9264 // > GameStatsManager::createSpecialChestItems @ 0x1401e9419 // > GameStatsManager::createSpecialChestItems @ 0x1401e95c4 // > GameStatsManager::createSpecialChestItems @ 0x1401e9779 // > GameStatsManager::addSimpleSpecialChestReward @ 0x1401ea14f // > GJRewardItem::create_1 @ 0x1401f3e7c // > GJRewardItem::createWithObject @ 0x1401f3ed5 // > GJRewardItem::createWithObjects @ 0x1401f3f58 // > GJRewardItem::createSpecial @ 0x1401f4138 // > GJObjectDecoder::getDecodedObject @ 0x1402842c9 // > @ 0x1406cc774 // // 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 // // Hidden C++ exception states: #wind=2 cocos2d::CCObject *__fastcall GJRewardItem::create(unsigned int a1, unsigned int a2, __int64 a3) { cocos2d::CCObject *v6; // rsi __int64 v7; // rax _BYTE v9[32]; // [rsp+28h] [rbp-50h] BYREF __int64 v10; // [rsp+48h] [rbp-30h] v10 = a3; v6 = (cocos2d::CCObject *)operator new(0x58u); cocos2d::CCObject::CCObject(v6); v6->__vftable = (cocos2d::CCObject_vtbl *)&GJRewardItem::`vftable'; v6[1].__vftable = nullptr; v6[1].m_uID = 0; *(_QWORD *)&v6[1].m_nTag = 0; LOBYTE(v6[1].m_uAutoReleaseCount) = 0; v7 = sub_14003BDB0((__int64)v9, a3); if ( (unsigned __int8)GJRewardItem::init(v6, a1, a2, v7, v6) ) { cocos2d::CCObject::autorelease(v6); } else { ((void (__fastcall *)(cocos2d::CCObject *, __int64))v6->~CCObject)(v6, 1); v6 = nullptr; } sub_14003A830(a3); return v6; }