//
// RewardsPage::create from 0x1001c39c8 to 0x1001c3a80 (184 bytes)
//
// 1 xrefs:
// > MenuLayer::onDaily @ 0x100267cf8
//
// 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
//
RewardsPage *__fastcall RewardsPage::create()
{
char *v0; // x19
v0 = (char *)operator new(0x2B8u);
FLAlertLayer::FLAlertLayer((FLAlertLayer *)v0);
*(_QWORD *)v0 = off_1007B7BE8;
*((_QWORD *)v0 + 40) = off_1007B8120;
*((_QWORD *)v0 + 41) = &off_1007B8190;
*((_QWORD *)v0 + 42) = off_1007B81A8;
*((_QWORD *)v0 + 43) = off_1007B81C8;
*((_QWORD *)v0 + 44) = off_1007B81E8;
*((_QWORD *)v0 + 51) = off_1007B8210;
*((_QWORD *)v0 + 54) = off_1007B8290;
*((_QWORD *)v0 + 79) = &off_1007B82B0;
*((_QWORD *)v0 + 80) = off_1007B82C8;
*((_QWORD *)v0 + 86) = 0;
*((_WORD *)v0 + 340) = 0;
*(_OWORD *)(v0 + 648) = 0u;
*(_OWORD *)(v0 + 664) = 0u;
if ( RewardsPage::init((RewardsPage *)v0) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v0);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v0 + 16LL))(v0);
return nullptr;
}
return (RewardsPage *)v0;
}