// // RewardUnlockLayer::create from 0x1001fe9e0 to 0x1001febd4 (500 bytes) // // 18 xrefs: // > RewardsPage::onReward @ 0x1001fe636 // > DailyLevelPage::claimLevelReward @ 0x100216a17 // > GJPathRewardPopup::onClaim @ 0x1002ee178 // > GJShopLayer::dialogClosed @ 0x100312904 // > GameManager::rewardedVideoHidden @ 0x1003698e0 // > GameManager::rewardedVideoHidden @ 0x10036999f // > SupportLayer::onGetReward @ 0x10038419d // > SecretLayer4::onChest01 @ 0x10039c31c // > FollowRewardPage::onSpecialItem @ 0x10040da8c // > SecretLayer5::claimOnlineReward @ 0x100472122 // > sub_100488950 @ 0x100488988 // > SecretLayer3::onChest01 @ 0x10049ed69 // > SecretLayer3::onChest02 @ 0x10049ee39 // > GauntletSelectLayer::onPlay @ 0x1005a01db // > SecretRewardsLayer::onGoldChest @ 0x10070f1bc // > SecretRewardsLayer::onSpecialItem @ 0x10070faec // > SecretRewardsLayer::onSelectItem @ 0x1007115a6 // > NotificationsPage::notificationRewardFinished @ 0x10098c5cc // // 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 // char *__fastcall RewardUnlockLayer::create(unsigned int a1, __int64 a2) { char *v2; // rbx v2 = (char *)operator new(0x2E8u); cocos2d::CCLayerColor::CCLayerColor(v2); *(_QWORD *)v2 = off_100B4FB70; *((_QWORD *)v2 + 40) = off_100B500C0; *((_QWORD *)v2 + 41) = &off_100B50130; *((_QWORD *)v2 + 42) = off_100B50148; *((_QWORD *)v2 + 43) = off_100B50168; *((_QWORD *)v2 + 44) = off_100B50190; *((_QWORD *)v2 + 51) = off_100B501C0; *((_QWORD *)v2 + 54) = off_100B50240; *((_QWORD *)v2 + 68) = off_100B50260; *(_OWORD *)(v2 + 552) = 0; *(_OWORD *)(v2 + 561) = 0; *(_OWORD *)(v2 + 584) = 0; sub_1002782A0(v2 + 600); *((_OWORD *)v2 + 38) = 0; *((_QWORD *)v2 + 78) = 0; *((_DWORD *)v2 + 158) = -1; *((_WORD *)v2 + 318) = 0; *((_DWORD *)v2 + 160) = -1; v2[644] = 0; *((_QWORD *)v2 + 81) = 0; v2[656] = 0; *(_QWORD *)v2 = off_100AE4498; *((_QWORD *)v2 + 40) = off_100AE49F0; *((_QWORD *)v2 + 41) = &off_100AE4A60; *((_QWORD *)v2 + 42) = off_100AE4A78; *((_QWORD *)v2 + 43) = off_100AE4A98; *((_QWORD *)v2 + 44) = off_100AE4AC0; *((_QWORD *)v2 + 51) = off_100AE4AF0; *((_QWORD *)v2 + 54) = off_100AE4B70; *((_QWORD *)v2 + 68) = off_100AE4B90; *((_QWORD *)v2 + 83) = &off_100AE4BD8; *((_QWORD *)v2 + 88) = 0; *((_DWORD *)v2 + 184) = 0; *(_OWORD *)(v2 + 686) = 0; *((_OWORD *)v2 + 42) = 0; if ( (unsigned __int8)RewardUnlockLayer::init(v2, a1, a2) ) { cocos2d::CCObject::autorelease(v2); } else { (*(void (__fastcall **)(char *))(*(_QWORD *)v2 + 16LL))(v2); return nullptr; } return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source