//
// RateLevelLayer::onClose from 0x407f7a to 0x407fa6 (44 bytes)
//
// 2 xrefs:
// > RateLevelLayer::onRate @ 0x407fb0
// > RateLevelLayer::keyBackClicked @ 0x407fb8
//
// 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; // r0
a1->setKeypadEnabled(a1, 0);
a1->removeFromParentAndCleanup(a1, 1);
m_delegate = a1->m_delegate;
if ( m_delegate )
m_delegate->rateLevelClosed(m_delegate);
}