// // RewardUnlockLayer::showCollectReward from 0x1001fedd0 to 0x1001fee77 (167 bytes) // // 17 xrefs: // > DailyLevelPage::claimLevelReward @ 0x100216a39 // > GJPathRewardPopup::onClaim @ 0x1002ee1b9 // > GJShopLayer::dialogClosed @ 0x100312926 // > GameManager::rewardedVideoHidden @ 0x10036994b // > GameManager::rewardedVideoHidden @ 0x1003699e9 // > SupportLayer::onGetReward @ 0x1003841bf // > SecretLayer4::onChest01 @ 0x10039c33e // > FollowRewardPage::onSpecialItem @ 0x10040daae // > SecretLayer5::claimOnlineReward @ 0x10047215b // > sub_100488950 @ 0x1004889aa // > SecretLayer3::onChest01 @ 0x10049ed8b // > SecretLayer3::onChest02 @ 0x10049ee5b // > GauntletSelectLayer::onPlay @ 0x1005a020d // > SecretRewardsLayer::onGoldChest @ 0x10070f1de // > SecretRewardsLayer::onSpecialItem @ 0x10070fb0e // > SecretRewardsLayer::onSelectItem @ 0x1007115cc // > NotificationsPage::notificationRewardFinished @ 0x10098c5ee // // 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 12:26:51 +0000 // __int64 __fastcall RewardUnlockLayer::showCollectReward(__int64 a1, __int64 a2) { unsigned int v2; // r14d __int64 v4; // rdi if ( !a2 ) return 0; v2 = a2; v4 = *(_QWORD *)(a1 + 704); if ( v4 ) cocos2d::CCObject::release(v4); *(_QWORD *)(a1 + 704) = a2; cocos2d::CCObject::retain(a2); if ( *(_BYTE *)(a2 + 80) != 1 || *(_DWORD *)(a2 + 64) == *(_DWORD *)(a1 + 696) ) { (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 720) + 344LL))(*(_QWORD *)(a1 + 720), 0); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 720) + 1056LL))(*(_QWORD *)(a1 + 720), 0); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 712) + 344LL))(*(_QWORD *)(a1 + 712), 0); *(_BYTE *)(a1 + 700) = 1; LOBYTE(v2) = 1; if ( *(_BYTE *)(a1 + 701) == 1 ) RewardUnlockLayer::playRewardEffect(a1); } else { return 0; } return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source