//
// RewardsPage::onClose from 0x10021af60 to 0x10021af8e (46 bytes)
//
// 1 xrefs:
// > RewardsPage::init @ 0x10021a5ac
//
// 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
//
void __fastcall RewardsPage::onClose(RewardsPage *a1, cocos2d::CCObject *a2)
{
((void (__fastcall *)(RewardsPage *, _QWORD))a1->setKeypadEnabled)(a1, 0);
((void (__fastcall *)(RewardsPage *, __int64))a1->removeFromParentAndCleanup)(a1, 1);
}