//
// LevelInfoLayer::onRateDemon from 0x6d5a68 to 0x6d5ab4 (76 bytes)
//
// 3 xrefs:
// > ??> @ 0xb8290
// > LevelInfoLayer::init @ 0x6dd0b8
// > ??> @ 0x122e5e8
//
// 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 LevelInfoLayer::onRateDemon(LevelInfoLayer *a1, cocos2d::CCObject *a2)
{
RateLevelDelegate *v2; // x19
RateDemonLayer *v3; // x0
RateDemonLayer_vtbl *v4; // x2
if ( !a1->m_isBusy )
{
v2 = &a1->RateLevelDelegate;
v3 = RateDemonLayer::create(a1->m_level->m_levelID.random - a1->m_level->m_levelID.seed);
v4 = v3->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
v3->m_delegate = v2;
((void (*)(void))v4->show)();
}
}