//
// LevelInfoLayer::onRateDemon from 0x1000285fc to 0x100028648 (76 bytes)
//
// 1 xrefs:
// > LevelInfoLayer::init @ 0x1000252dc
//
// 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 *v3; // x0
if ( !a1->m_isBusy )
{
v3 = RateDemonLayer::create(a1->m_level->m_levelID.random - a1->m_level->m_levelID.seed);
v3->m_delegate = &a1->RateLevelDelegate;
((void (__fastcall *)(RateDemonLayer *))v3->show)(v3);
}
}