// // RewardUnlockLayer::showCollectReward from 0x93a21c to 0x93a2fc (224 bytes) // // 17 xrefs: // > GameManager::rewardedVideoHidden @ 0x5e8508 // > GameManager::rewardedVideoHidden @ 0x5e8628 // > SupportLayer::onGetReward @ 0x7db544 // > DailyLevelPage::claimLevelReward @ 0x915700 // > GauntletSelectLayer::onPlay @ 0x917cb4 // > GJShopLayer::dialogClosed @ 0x92c114 // > RewardsPage::rewardsStatusFinished @ 0x93a3f0 // > SecretLayer3::onChest01 @ 0x93acc0 // > SecretLayer3::onChest02 @ 0x93ae34 // > SecretLayer4::onChest01 @ 0x9468e0 // > FollowRewardPage::onSpecialItem @ 0x9652f4 // > SecretRewardsLayer::onSpecialItem @ 0xa61954 // > SecretRewardsLayer::onSelectItem @ 0xa61fe0 // > SecretRewardsLayer::onGoldChest @ 0xa645b4 // > GJPathRewardPopup::onClaim @ 0xa6cea4 // > SecretLayer5::claimOnlineReward @ 0xa926bc // > @ 0x94d28 // // 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 // bool RewardUnlockLayer::showCollectReward(RewardUnlockLayer *a1, GJRewardItem *a2) { GJRewardItem *m_rewardItem; // x0 _BOOL4 m_animationPlayed; // w20 if ( !a2 ) return 0; m_rewardItem = a1->m_rewardItem; if ( m_rewardItem ) cocos2d::CCObject::release(m_rewardItem); a1->m_rewardItem = a2; cocos2d::CCObject::retain(a2); if ( a2->m_unk && a2->m_rewardType != a1->m_chestType ) return 0; a1->m_closeBtn->setVisible(a1->m_closeBtn, 0); a1->m_closeBtn->setEnabled(a1->m_closeBtn, 0); a1->m_wrongLabel->setVisible(a1->m_wrongLabel, 0); m_animationPlayed = a1->m_animationPlayed; a1->m_rewardCollected = 1; if ( !m_animationPlayed ) return 1; RewardUnlockLayer::playRewardEffect(a1); return m_animationPlayed; }
GD Web Decomp Icon

GD Web Decomp

Raw Source