// // GJRewardItem::create from 0x1402f8e60 to 0x1402f8f2c (204 bytes) // // 20 xrefs: // > GameStatsManager::createReward @ 0x1402e51ff // > GameStatsManager::storeRewardState @ 0x1402e5315 // > GameStatsManager::completedDailyLevel @ 0x1402e6d59 // > GameStatsManager::createSpecialChestItems @ 0x1402ecad4 // > GameStatsManager::createSpecialChestItems @ 0x1402ecc89 // > GameStatsManager::createSpecialChestItems @ 0x1402ece34 // > GameStatsManager::createSpecialChestItems @ 0x1402ecfa4 // > GameStatsManager::createSpecialChestItems @ 0x1402ed14f // > GameStatsManager::createSpecialChestItems @ 0x1402ed304 // > GameStatsManager::createSpecialChestItems @ 0x1402ed4af // > GameStatsManager::createSpecialChestItems @ 0x1402ed664 // > GameStatsManager::createSpecialChestItems @ 0x1402ed80f // > GameStatsManager::createSpecialChestItems @ 0x1402ed9c4 // > GameStatsManager::addSimpleSpecialChestReward @ 0x1402ee3df // > GJRewardItem::create_1 @ 0x1402f8b4c // > GJRewardItem::createWithObject @ 0x1402f8ba5 // > GJRewardItem::createWithObjects @ 0x1402f8c28 // > GJRewardItem::createSpecial @ 0x1402f8e08 // > GJObjectDecoder::getDecodedObject @ 0x140391f89 // > @ 0x14091e218 // // 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 11:30:05 +0000 // // 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); *(_QWORD *)v6 = &GJRewardItem::`vftable'; *((_QWORD *)v6 + 7) = 0; *((_DWORD *)v6 + 16) = 0; *((_QWORD *)v6 + 9) = 0; *((_BYTE *)v6 + 80) = 0; v7 = sub_14003F4F0((__int64)v9, a3); if ( (unsigned __int8)GJRewardItem::init(v6, a1, a2, v7, v6) ) { cocos2d::CCObject::autorelease(v6); } else { (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v6 + 8LL))(v6, 1); v6 = nullptr; } sub_14003D310(a3); return v6; }
GD Web Decomp Icon

GD Web Decomp

Raw Source