// // RewardUnlockLayer::showCollectReward from 0x6194a8 to 0x61951c (116 bytes) // // 17 xrefs: // > GameManager::rewardedVideoHidden @ 0x4157c8 // > LevelBrowserLayer::claimRecallChest @ 0x4a9044 // > SupportLayer::onGetReward @ 0x539a16 // > DailyLevelPage::claimLevelReward @ 0x607c42 // > GauntletSelectLayer::onPlay @ 0x60b05a // > GJShopLayer::dialogClosed @ 0x611656 // > RewardsPage::rewardsStatusFinished @ 0x619566 // > SecretLayer3::onChest01 @ 0x61bb34 // > SecretLayer3::onChest02 @ 0x61bbd8 // > SecretLayer4::onChest01 @ 0x621458 // > FollowRewardPage::onSpecialItem @ 0x63055c // > SecretRewardsLayer::onSpecialItem @ 0x6cdb72 // > SecretRewardsLayer::onGoldChest @ 0x6cdcf2 // > SecretRewardsLayer::onSelectItem @ 0x6cded4 // > GJPathRewardPopup::onClaim @ 0x6d1732 // > SecretLayer5::claimOnlineReward @ 0x6e4c7e // > NotificationsPage::notificationRewardFinished @ 0x743fc8 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:54:58 +0000 // int __fastcall RewardUnlockLayer::showCollectReward(RewardUnlockLayer *this, GJRewardItem *a2) { int v4; // r5 cocos2d::CCObject *v5; // r0 if ( !a2 ) return 0; v5 = *((cocos2d::CCObject **)this + 136); if ( v5 ) cocos2d::CCObject::release(v5); *((_DWORD *)this + 136) = a2; cocos2d::CCObject::retain(a2); if ( *((_BYTE *)a2 + 68) ) { if ( *((_DWORD *)a2 + 15) != *((_DWORD *)this + 134) ) return 0; } (*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 138) + 172))(*((_DWORD *)this + 138), 0); (*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 138) + 528))(*((_DWORD *)this + 138), 0); (*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 137) + 172))(*((_DWORD *)this + 137), 0); v4 = *((unsigned __int8 *)this + 541); *((_BYTE *)this + 540) = 1; if ( !v4 ) return 1; RewardUnlockLayer::playRewardEffect(this); return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source