//
// RateStarsLayer::create from 0x100276d40 to 0x100276da1 (97 bytes)
//
// 1 xrefs:
// > LevelInfoLayer::onRateStars @ 0x1002ae6cb
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:27:39 +0000
//
void *__fastcall RateStarsLayer::create(unsigned int a1, unsigned __int8 a2, unsigned __int8 a3)
{
void *v4; // rbx
v4 = operator new(0x2F8u);
RateStarsLayer::RateStarsLayer(v4);
if ( (unsigned __int8)RateStarsLayer::init(v4, a1, a2, a3) )
{
cocos2d::CCObject::autorelease(v4);
}
else
{
(*(void (__fastcall **)(void *))(*(_QWORD *)v4 + 16LL))(v4);
return nullptr;
}
return v4;
}