//
// RateDemonLayer::onClose from 0x9339e8 to 0x933a3c (84 bytes)
//
// 6 xrefs:
// > RateDemonLayer::keyBackClicked @ 0x933a40
// > RateDemonLayer::onClosePopup @ 0x933c88
// > RateDemonLayer::onRate @ 0x933e1c
// > ??> @ 0xbab88
// > RateDemonLayer::init @ 0x934390
// > ??> @ 0x122e788
//
// 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; // x0
a1->setKeypadEnabled(a1, 0);
a1->removeFromParentAndCleanup(a1, 1);
m_delegate = a1->m_delegate;
if ( m_delegate )
m_delegate->rateLevelClosed(m_delegate);
}