//
// RateLevelLayer::create from 0x10005e4f0 to 0x10005e598 (168 bytes)
//
// 1 xrefs:
// > LevelInfoLayer::onRate @ 0x10002ab98
//
// 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
//
RateLevelLayer *__fastcall RateLevelLayer::create(int a1)
{
char *v2; // x19
v2 = (char *)operator new(0x298u);
FLAlertLayer::FLAlertLayer((FLAlertLayer *)v2);
*(_QWORD *)v2 = off_1007747C8;
*((_QWORD *)v2 + 40) = off_100774CE8;
*((_QWORD *)v2 + 41) = &off_100774D58;
*((_QWORD *)v2 + 42) = off_100774D70;
*((_QWORD *)v2 + 43) = off_100774D90;
*((_QWORD *)v2 + 44) = off_100774DB0;
*((_QWORD *)v2 + 51) = off_100774DD8;
*((_QWORD *)v2 + 54) = off_100774E58;
*(_OWORD *)(v2 + 632) = 0u;
*(_OWORD *)(v2 + 648) = 0u;
if ( RateLevelLayer::init((RateLevelLayer *)v2, a1) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v2 + 16LL))(v2);
return nullptr;
}
return (RateLevelLayer *)v2;
}