//
// RateDemonLayer::onClose from 0x4e5f80 to 0x4e5fac (44 bytes)
//
// 3 xrefs:
// > RateDemonLayer::keyBackClicked @ 0x4e5fae
// > RateDemonLayer::onRate @ 0x4e61b2
// > RateDemonLayer::onClosePopup @ 0x4e62e4
//
// 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 RateDemonLayer::onClose(RateDemonLayer *a1, cocos2d::CCObject *a2)
{
RateLevelDelegate *m_delegate; // r0
a1->setKeypadEnabled(a1, 0);
a1->removeFromParentAndCleanup(a1, 1);
m_delegate = a1->m_delegate;
if ( m_delegate )
m_delegate->rateLevelClosed(m_delegate);
}