//
// RateLevelLayer::onClose from 0x79a8dc to 0x79a930 (84 bytes)
//
// 5 xrefs:
// > RateLevelLayer::onRate @ 0x79a940
// > RateLevelLayer::keyBackClicked @ 0x79a94c
// > ??> @ 0x3f588
// > RateLevelLayer::init @ 0x79ae3c
// > ??> @ 0x122a028
//
// 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 RateLevelLayer::onClose(RateLevelLayer *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);
}