//
// LevelInfoLayer::onRateDemon from 0x1002c1bf0 to 0x1002c1c43 (83 bytes)
//
// 1 xrefs:
// > LevelInfoLayer::init @ 0x1002be565
//
// 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 __fastcall LevelInfoLayer::onRateDemon(LevelInfoLayer *a1, cocos2d::CCObject *a2)
{
RateDemonLayer *v2; // rax
if ( !a1->m_isBusy )
{
v2 = RateDemonLayer::create(a1->m_level->m_levelID.random - a1->m_level->m_levelID.seed);
v2->m_delegate = &a1->RateLevelDelegate;
((void (__fastcall *)(RateDemonLayer *, cocos2d::CCObject *))v2->show)(v2, a2);
}
}