// // RewardUnlockLayer::create from 0x1001c49bc to 0x1001c4a8c (208 bytes) // // 14 xrefs: // > SecretLayer5::claimOnlineReward @ 0x100076a7c // > GJShopLayer::dialogClosed @ 0x10014d700 // > SupportLayer::onGetReward @ 0x100192d34 // > DailyLevelPage::claimLevelReward @ 0x1001bab10 // > GauntletSelectLayer::onPlay @ 0x1001bfca4 // > RewardsPage::onReward @ 0x1001c45e0 // > SecretRewardsLayer::onGoldChest @ 0x1002e9dd8 // > SecretRewardsLayer::onSpecialItem @ 0x1002ea560 // > SecretRewardsLayer::onSelectItem @ 0x1002eb508 // > SecretLayer3::onChest01 @ 0x10030fc18 // > SecretLayer3::onChest02 @ 0x10030fd04 // > SecretLayer4::onChest01 @ 0x100355a5c // > GJPathRewardPopup::onClaim @ 0x1003bbd14 // > FollowRewardPage::onSpecialItem @ 0x1004258c4 // // 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 *__fastcall RewardUnlockLayer::create(int a1, RewardsPage *a2) { char *v4; // x19 v4 = (char *)operator new(0x2C8u); FLAlertLayer::FLAlertLayer((FLAlertLayer *)v4); *(_QWORD *)v4 = off_1007B82E8; *((_QWORD *)v4 + 40) = off_1007B8810; *((_QWORD *)v4 + 41) = &off_1007B8880; *((_QWORD *)v4 + 42) = off_1007B8898; *((_QWORD *)v4 + 43) = off_1007B88B8; *((_QWORD *)v4 + 44) = off_1007B88D8; *((_QWORD *)v4 + 51) = off_1007B8900; *((_QWORD *)v4 + 54) = off_1007B8980; *((_QWORD *)v4 + 79) = &off_1007B89A0; *((_QWORD *)v4 + 84) = 0; *((_DWORD *)v4 + 176) = 0; *((_QWORD *)v4 + 80) = 0; *((_QWORD *)v4 + 82) = 0; *((_QWORD *)v4 + 81) = 0; *(_QWORD *)(v4 + 662) = 0; if ( RewardUnlockLayer::init((RewardUnlockLayer *)v4, a1, a2) ) { cocos2d::CCObject::autorelease((cocos2d::CCObject *)v4); } else { (*(void (__fastcall **)(char *))(*(_QWORD *)v4 + 16LL))(v4); return nullptr; } return (RewardUnlockLayer *)v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source