//
// GJRateLevelLayer::create from 0x566114 to 0x56620e (250 bytes)
//
// 1 xrefs:
// > LevelInfoLayer::onRateStarsMod @ 0x499ea0
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:52:28 +0000
//
int *__fastcall GJRateLevelLayer::create(GJRateLevelLayer *this, GJGameLevel *a2)
{
int *v3; // r4
int v4; // r3
int *v5; // r0
v3 = (int *)operator new(0x30Cu);
SetupTriggerPopup::SetupTriggerPopup((SetupTriggerPopup *)v3);
*v3 = (int)&off_CAF3A0;
v3[66] = (int)&off_CAF6B0;
v3[67] = (int)&off_CAF6E8;
v3[68] = (int)&off_CAF6F4;
v3[69] = (int)&off_CAF704;
v3[70] = (int)&off_CAF718;
v3[79] = (int)&off_CAF730;
v3[83] = (int)&off_CAF770;
v3[110] = (int)&off_CAF780;
v3[130] = (int)&off_CAF7A4;
v3[131] = (int)&off_CAF7B0;
v3[178] = (int)&off_CAF7C0;
v3[179] = (int)&off_CAF7CC;
v3[180] = (int)&off_CAF7DC;
v3[181] = (int)&off_CAF7EC;
v3[182] = 0;
*((_BYTE *)v3 + 732) = 0;
v3[184] = 0;
v3[185] = 0;
v3[186] = 0;
*((_BYTE *)v3 + 748) = 0;
v3[188] = 0;
v3[189] = 0;
v3[190] = 0;
v3[191] = 0;
v3[192] = 0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v3 + 193));
if ( GJRateLevelLayer::init((GJRateLevelLayer *)v3, this) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v3);
}
else
{
v4 = *v3;
v5 = v3;
v3 = nullptr;
(*(void (__fastcall **)(int *))(v4 + 8))(v5);
}
return v3;
}