// // RewardUnlockLayer::create from 0x10021b3e0 to 0x10021b53a (346 bytes) // // 16 xrefs: // > RewardsPage::onReward @ 0x10021b026 // > DailyLevelPage::claimLevelReward @ 0x1002323c7 // > GJPathRewardPopup::onClaim @ 0x100303498 // > GJShopLayer::dialogClosed @ 0x1003271f4 // > GameManager::rewardedVideoHidden @ 0x100380570 // > GameManager::rewardedVideoHidden @ 0x10038062f // > SupportLayer::onGetReward @ 0x10039a70d // > SecretLayer4::onChest01 @ 0x1003b2f1c // > FollowRewardPage::onSpecialItem @ 0x100420e8c // > SecretLayer5::claimOnlineReward @ 0x10047d7c2 // > SecretLayer3::onChest01 @ 0x1004a5d99 // > SecretLayer3::onChest02 @ 0x1004a5e69 // > GauntletSelectLayer::onPlay @ 0x100572e4b // > SecretRewardsLayer::onGoldChest @ 0x10063258c // > SecretRewardsLayer::onSpecialItem @ 0x100632ebc // > SecretRewardsLayer::onSelectItem @ 0x100634976 // // 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 // RewardUnlockLayer *__fastcall RewardUnlockLayer::create(int a1, RewardsPage *a2) { char *v2; // rbx v2 = (char *)operator new(0x2C8u); cocos2d::CCLayerColor::CCLayerColor(v2); *((_QWORD *)v2 + 72) = 0; *((_DWORD *)v2 + 146) = 0; v2[588] = 0; *((_OWORD *)v2 + 34) = 0; *(_OWORD *)(v2 + 553) = 0; *((_OWORD *)v2 + 37) = 0; *((_QWORD *)v2 + 76) = 0; *((_DWORD *)v2 + 154) = -1; *((_WORD *)v2 + 310) = 0; *((_DWORD *)v2 + 156) = -1; v2[628] = 0; *(_QWORD *)v2 = off_1008DFF40; *((_QWORD *)v2 + 40) = off_1008E0468; *((_QWORD *)v2 + 41) = &off_1008E04D8; *((_QWORD *)v2 + 42) = off_1008E04F0; *((_QWORD *)v2 + 43) = off_1008E0510; *((_QWORD *)v2 + 44) = off_1008E0530; *((_QWORD *)v2 + 51) = off_1008E0558; *((_QWORD *)v2 + 54) = off_1008E05D8; *((_QWORD *)v2 + 79) = &off_1008E05F8; *((_QWORD *)v2 + 84) = 0; *((_DWORD *)v2 + 176) = 0; *(_OWORD *)(v2 + 654) = 0; *((_OWORD *)v2 + 40) = 0; if ( RewardUnlockLayer::init((RewardUnlockLayer *)v2, a1, a2) ) { cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2); } else { (*(void (__fastcall **)(char *))(*(_QWORD *)v2 + 16LL))(v2); return nullptr; } return (RewardUnlockLayer *)v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source