//
// LevelInfoLayer::create from 0x49f0e4 to 0x49f244 (352 bytes)
//
// 1 xrefs:
// > LevelInfoLayer::scene @ 0x49f25e
//
// 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:49:48 +0000
//
int *__fastcall LevelInfoLayer::create(const char **this, GJGameLevel *a2, bool a3)
{
char v4; // r6
int *v5; // r4
int v6; // r3
int *v7; // r0
v4 = (char)a2;
v5 = (int *)operator new(0x1F4u);
cocos2d::CCLayer::CCLayer((cocos2d::CCLayer *)v5);
*v5 = (int)&off_C978E0;
v5[66] = (int)&off_C97B5C;
v5[67] = (int)&off_C97B94;
v5[68] = (int)&off_C97BA0;
v5[69] = (int)&off_C97BB0;
v5[70] = (int)&off_C97BC4;
v5[79] = (int)&off_C97BDC;
v5[80] = (int)&off_C97BEC;
v5[81] = (int)&off_C97BFC;
v5[82] = (int)&off_C97C08;
v5[83] = (int)&off_C97C14;
v5[84] = (int)&off_C97C20;
v5[85] = (int)&off_C97C30;
v5[86] = (int)&off_C97C3C;
v5[87] = (int)&off_C97C48;
v5[88] = (int)&off_C97C74;
*((_BYTE *)v5 + 356) = 0;
v5[90] = 0;
v5[91] = 0;
v5[92] = 0;
v5[93] = 0;
v5[94] = 0;
v5[95] = 0;
v5[96] = 0;
v5[97] = 0;
v5[98] = 0;
v5[99] = 0;
v5[100] = 0;
v5[101] = 0;
v5[103] = 0;
v5[104] = 0;
v5[105] = 0;
v5[106] = 0;
v5[107] = 0;
v5[108] = 0;
*((_BYTE *)v5 + 436) = 0;
*((_BYTE *)v5 + 437) = 0;
v5[110] = 0;
v5[111] = 0;
v5[112] = 0;
v5[113] = 0;
v5[114] = 0;
v5[115] = 0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v5 + 116));
*((_BYTE *)v5 + 476) = 0;
v5[120] = 0;
v5[121] = 0;
v5[122] = 0;
v5[123] = 0;
*((_BYTE *)v5 + 496) = 0;
if ( LevelInfoLayer::init((const cocos2d::CCPoint **)v5, this, v4) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v5);
}
else
{
v6 = *v5;
v7 = v5;
v5 = nullptr;
(*(void (__fastcall **)(int *))(v6 + 8))(v7);
}
return v5;
}