// // RewardUnlockLayer::onClose from 0x10021ce80 to 0x10021ced1 (81 bytes) // // 2 xrefs: // > RewardUnlockLayer::init @ 0x10021c8b4 // > RewardUnlockLayer::init @ 0x10021c8f7 // // 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 RewardUnlockLayer::onClose(RewardUnlockLayer *a1, cocos2d::CCObject *a2) { RewardsPage *m_rewardsPage; // rax m_rewardsPage = a1->m_rewardsPage; if ( m_rewardsPage && m_rewardsPage->m_openLayer == a1 ) m_rewardsPage->m_openLayer = nullptr; ((void (__fastcall *)(RewardUnlockLayer *, _QWORD))a1->setKeypadEnabled)(a1, 0); ((void (__fastcall *)(RewardUnlockLayer *, __int64))a1->removeFromParentAndCleanup)(a1, 1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source