//
// GJRateLevelLayer::create from 0x1005047c0 to 0x100504928 (360 bytes)
//
// 1 xrefs:
// > LevelInfoLayer::onRateStarsMod @ 0x1002ae9fe
//
// 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:31:31 +0000
//
char *__fastcall GJRateLevelLayer::create(__int64 a1)
{
char *v1; // rbx
v1 = (char *)operator new(0x470u);
SetupTriggerPopup::SetupTriggerPopup((__int64)v1);
*(_QWORD *)v1 = off_100B65348;
*((_QWORD *)v1 + 40) = off_100B65968;
*((_QWORD *)v1 + 41) = &off_100B659D8;
*((_QWORD *)v1 + 42) = off_100B659F0;
*((_QWORD *)v1 + 43) = off_100B65A10;
*((_QWORD *)v1 + 44) = off_100B65A38;
*((_QWORD *)v1 + 51) = off_100B65A68;
*((_QWORD *)v1 + 54) = off_100B65AE8;
*((_QWORD *)v1 + 68) = off_100B65B08;
*((_QWORD *)v1 + 83) = &off_100B65B50;
*((_QWORD *)v1 + 84) = off_100B65B68;
*((_QWORD *)v1 + 127) = &off_100B65B88;
*((_QWORD *)v1 + 128) = off_100B65BA0;
*((_QWORD *)v1 + 129) = off_100B65BC0;
*((_QWORD *)v1 + 130) = &off_100B65BE0;
*((_QWORD *)v1 + 131) = 0;
v1[1056] = 0;
*((_QWORD *)v1 + 140) = 0;
*(_OWORD *)(v1 + 1064) = 0;
*(_QWORD *)(v1 + 1077) = 0;
*(_OWORD *)(v1 + 1100) = 0;
*((_OWORD *)v1 + 68) = 0;
sub_1002782A0((_QWORD *)v1 + 141);
if ( (unsigned __int8)GJRateLevelLayer::init(v1, a1) )
{
cocos2d::CCObject::autorelease((__int64)v1);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v1 + 16LL))(v1);
return nullptr;
}
return v1;
}