//
// InfoLayer::create from 0x540364 to 0x54055e (506 bytes)
//
// 8 xrefs:
// > PauseLayer::onSideButtonPressed @ 0x48e69c
// > LevelInfoLayer::onInfo @ 0x499d46
// > InfoLayer::reloadWindow @ 0x540616
// > ProfilePage::onCommentHistory @ 0x5f58ac
// > ProfilePage::onModNotes @ 0x5f5b34
// > LevelListLayer::onInfo @ 0x6d4cd2
// > AccountReviewPopup::openUserComments @ 0x732538
// > EditorSoundConfigInfoLayer::onInfo @ 0x784a7e
//
// 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:18 +0000
//
int __fastcall InfoLayer::create(
InfoLayer *this,
GJGameLevel *a2,
GJUserScore *a3,
GJLevelList *a4,
GJEditorSoundConfig *a5)
{
int v9; // r4
v9 = operator new(0x2A8u);
cocos2d::CCLayerColor::CCLayerColor((cocos2d::CCLayerColor *)v9);
*(_DWORD *)(v9 + 444) = 0;
*(_DWORD *)(v9 + 448) = 0;
*(_DWORD *)(v9 + 452) = 0;
*(_DWORD *)v9 = &off_C86768;
*(_BYTE *)(v9 + 456) = 0;
*(_DWORD *)(v9 + 264) = &off_C86A10;
*(_DWORD *)(v9 + 460) = 0;
*(_DWORD *)(v9 + 268) = &off_C86A48;
*(_DWORD *)(v9 + 464) = 0;
*(_DWORD *)(v9 + 272) = &off_C86A54;
*(_BYTE *)(v9 + 468) = 0;
*(_DWORD *)(v9 + 276) = &off_C86A64;
*(_BYTE *)(v9 + 469) = 0;
*(_DWORD *)(v9 + 280) = &off_C86A78;
*(_BYTE *)(v9 + 470) = 0;
*(_DWORD *)(v9 + 316) = &off_C86A90;
*(_BYTE *)(v9 + 471) = 0;
*(_DWORD *)(v9 + 332) = &off_C86AD0;
*(_DWORD *)(v9 + 440) = &off_C86AE0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v9 + 472));
*(_DWORD *)(v9 + 492) = -1;
*(_DWORD *)(v9 + 500) = -1;
*(_DWORD *)(v9 + 508) = 0;
*(_DWORD *)(v9 + 512) = 0;
*(_DWORD *)(v9 + 480) = 0;
*(_DWORD *)(v9 + 484) = 0;
*(_DWORD *)(v9 + 488) = 0;
*(_BYTE *)(v9 + 496) = 0;
*(_BYTE *)(v9 + 497) = 0;
*(_BYTE *)(v9 + 504) = 0;
*(_BYTE *)(v9 + 516) = 0;
*(_DWORD *)v9 = &off_CACBF8;
*(_DWORD *)(v9 + 536) = 0;
*(_DWORD *)(v9 + 264) = &off_CACEC8;
*(_DWORD *)(v9 + 540) = 0;
*(_DWORD *)(v9 + 268) = &off_CACF00;
*(_DWORD *)(v9 + 544) = 0;
*(_DWORD *)(v9 + 272) = &off_CACF0C;
*(_DWORD *)(v9 + 548) = 0;
*(_DWORD *)(v9 + 276) = &off_CACF1C;
*(_DWORD *)(v9 + 552) = 0;
*(_DWORD *)(v9 + 280) = &off_CACF30;
*(_DWORD *)(v9 + 556) = 0;
*(_DWORD *)(v9 + 316) = &off_CACF48;
*(_DWORD *)(v9 + 560) = 0;
*(_DWORD *)(v9 + 332) = &off_CACF88;
*(_DWORD *)(v9 + 564) = 0;
*(_DWORD *)(v9 + 440) = &off_CACF98;
*(_DWORD *)(v9 + 520) = &off_CACFBC;
*(_DWORD *)(v9 + 524) = &off_CACFD4;
*(_DWORD *)(v9 + 528) = &off_CACFF0;
*(_DWORD *)(v9 + 532) = &off_CACFFC;
*(_DWORD *)(v9 + 572) = 0;
*(_DWORD *)(v9 + 576) = 0;
*(_DWORD *)(v9 + 580) = 0;
*(_DWORD *)(v9 + 584) = 0;
*(_DWORD *)(v9 + 588) = 0;
*(_DWORD *)(v9 + 592) = 0;
*(_DWORD *)(v9 + 596) = 0;
*(_DWORD *)(v9 + 600) = 0;
*(_DWORD *)(v9 + 612) = 0;
*(_DWORD *)(v9 + 616) = 0;
*(_DWORD *)(v9 + 620) = 0;
*(_DWORD *)(v9 + 624) = 0;
*(_DWORD *)(v9 + 628) = 0;
*(_BYTE *)(v9 + 632) = 0;
*(_BYTE *)(v9 + 640) = 0;
*(_DWORD *)(v9 + 644) = 0;
*(_DWORD *)(v9 + 648) = 0;
*(_DWORD *)(v9 + 652) = 0;
*(_DWORD *)(v9 + 656) = 0;
*(_DWORD *)(v9 + 660) = 0;
*(_DWORD *)(v9 + 668) = 0;
*(_DWORD *)(v9 + 672) = 0;
*(_DWORD *)(v9 + 664) = v9 + 668;
*(_DWORD *)(v9 + 676) = 0;
if ( InfoLayer::init((InfoLayer *)v9, this, a2, a3, a4) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v9);
return v9;
}
else
{
(*(void (__fastcall **)(int))(*(_DWORD *)v9 + 8))(v9);
return 0;
}
}