// // RewardUnlockLayer::create from 0x938aa8 to 0x938bf4 (332 bytes) // // 17 xrefs: // > GameManager::rewardedVideoHidden @ 0x5e84c0 // > GameManager::rewardedVideoHidden @ 0x5e85bc // > SupportLayer::onGetReward @ 0x7db51c // > DailyLevelPage::claimLevelReward @ 0x9156d8 // > GauntletSelectLayer::onPlay @ 0x917c8c // > GJShopLayer::dialogClosed @ 0x92c0ec // > RewardsPage::onReward @ 0x938ce0 // > SecretLayer3::onChest01 @ 0x93ac98 // > SecretLayer3::onChest02 @ 0x93ae0c // > SecretLayer4::onChest01 @ 0x9468b8 // > FollowRewardPage::onSpecialItem @ 0x9652cc // > SecretRewardsLayer::onSpecialItem @ 0xa6192c // > SecretRewardsLayer::onSelectItem @ 0xa61fb8 // > SecretRewardsLayer::onGoldChest @ 0xa6458c // > GJPathRewardPopup::onClaim @ 0xa6ce48 // > SecretLayer5::claimOnlineReward @ 0xa92670 // > @ 0x990d8 // // 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 *RewardUnlockLayer::create(int a1, RewardsPage *a2) { __int64 v4; // x19 v4 = operator new(0x2C8u); cocos2d::CCLayerColor::CCLayerColor((cocos2d::CCLayerColor *)v4); *(_DWORD *)(v4 + 616) = -1; *(_DWORD *)(v4 + 624) = -1; *(_QWORD *)(v4 + 544) = 0; *(_QWORD *)(v4 + 552) = 0; *(_QWORD *)(v4 + 560) = 0; *(_BYTE *)(v4 + 568) = 0; *(_QWORD *)(v4 + 576) = 0; *(_DWORD *)(v4 + 584) = 0; *(_BYTE *)(v4 + 588) = 0; *(_QWORD *)(v4 + 592) = 0; *(_QWORD *)(v4 + 600) = 0; *(_QWORD *)(v4 + 608) = 0; *(_BYTE *)(v4 + 620) = 0; *(_BYTE *)(v4 + 621) = 0; *(_BYTE *)(v4 + 628) = 0; *(_QWORD *)(v4 + 640) = 0; *(_QWORD *)v4 = &off_11B1CB0; *(_QWORD *)(v4 + 320) = off_11B21D8; *(_QWORD *)(v4 + 328) = &off_11B2248; *(_QWORD *)(v4 + 336) = &off_11B2260; *(_QWORD *)(v4 + 344) = &off_11B2280; *(_QWORD *)(v4 + 352) = off_11B22A0; *(_QWORD *)(v4 + 408) = &off_11B22C8; *(_QWORD *)(v4 + 432) = &off_11B2348; *(_QWORD *)(v4 + 632) = &off_11B2368; *(_QWORD *)(v4 + 648) = 0; *(_QWORD *)(v4 + 656) = 0; *(_DWORD *)(v4 + 664) = 0; *(_BYTE *)(v4 + 668) = 0; *(_BYTE *)(v4 + 669) = 0; *(_QWORD *)(v4 + 672) = 0; *(_DWORD *)(v4 + 704) = 0; if ( RewardUnlockLayer::init((RewardUnlockLayer *)v4, a1, a2) ) { cocos2d::CCObject::autorelease((cocos2d::CCObject *)v4); return (RewardUnlockLayer *)v4; } else { (*(void (__fastcall **)(__int64))(*(_QWORD *)v4 + 16LL))(v4); return nullptr; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source