// // RewardUnlockLayer::create from 0x10025a564 to 0x10025a63c (216 bytes) // // 16 xrefs: // > sub_10007F15C @ 0x10007f230 // > GJShopLayer::dialogClosed @ 0x1001cc000 // > sub_100225FB0 @ 0x10022600c // > DailyLevelPage::claimLevelReward @ 0x1002507a8 // > GauntletSelectLayer::onPlay @ 0x100255820 // > sub_10025A130 @ 0x10025a18c // > SecretRewardsLayer::onGoldChest @ 0x100384f60 // > sub_100385500 @ 0x1003856e8 // > SecretRewardsLayer::onSelectItem @ 0x100386690 // > sub_1003AC8A0 @ 0x1003ac930 // > sub_1003AC98C @ 0x1003aca1c // > sub_1003F52C4 @ 0x1003f534c // > sub_10046293C @ 0x1004629cc // > LevelBrowserLayer::claimRecallChest @ 0x10049b6a0 // > sub_1004A7AD4 @ 0x1004a7f14 // > NotificationsPage::notificationRewardFinished @ 0x10053bd40 // // This function is hookable on this platform (idp: arm, 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 11:01:35 +0000 // _QWORD *__fastcall RewardUnlockLayer::create(__int64 a1, __int64 a2) { _QWORD *v4; // x19 v4 = operator new(0x2E8u); FLAlertLayer::FLAlertLayer((__int64)v4); *v4 = off_10090FD58; v4[40] = off_1009102B0; v4[41] = &off_100910320; v4[42] = off_100910338; v4[43] = off_100910358; v4[44] = off_100910380; v4[51] = off_1009103B0; v4[54] = off_100910430; v4[68] = off_100910450; v4[83] = &off_100910498; v4[88] = 0; *((_DWORD *)v4 + 184) = 0; v4[84] = 0; v4[86] = 0; v4[85] = 0; *(_QWORD *)((char *)v4 + 694) = 0; if ( (unsigned int)RewardUnlockLayer::init(v4, a1, a2) ) { cocos2d::CCObject::autorelease((__int64)v4); } else { (*(void (__fastcall **)(_QWORD *))(*v4 + 16LL))(v4); return nullptr; } return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source