//
// LevelStatsInfoPopup::create from 0xcf9c34 to 0xcf9e00 (460 bytes)
//
// 3 xrefs:
// > LevelInfoLayer::onLevelInfo @ 0x7e533c
// > EditLevelLayer::onLevelInfo @ 0x7ed3d4
// > ??> @ 0x447d0
//
// This function is hookable on this platform (idp: arm, 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 13:06:50 +0000
//
__int64 __fastcall LevelStatsInfoPopup::create(LevelStatsInfoPopup *this, GJGameLevel *a2)
{
__int64 v3; // x19
v3 = operator new(0x2E0u);
memset((void *)v3, 0, 0x2E0u);
cocos2d::CCLayerColor::CCLayerColor((cocos2d::CCLayerColor *)v3);
*(_QWORD *)(v3 + 552) = 0;
*(_QWORD *)v3 = &off_1419A40;
*(_QWORD *)(v3 + 320) = off_1419F90;
*(_QWORD *)(v3 + 328) = &off_141A000;
*(_QWORD *)(v3 + 336) = off_141A018;
*(_QWORD *)(v3 + 344) = off_141A038;
*(_QWORD *)(v3 + 352) = off_141A060;
*(_QWORD *)(v3 + 408) = &off_141A090;
*(_QWORD *)(v3 + 432) = &off_141A110;
*(_QWORD *)(v3 + 544) = off_141A130;
*(_QWORD *)(v3 + 560) = 0;
*(_QWORD *)(v3 + 568) = 0;
*(_BYTE *)(v3 + 576) = 0;
*(_QWORD *)(v3 + 584) = 0;
*(_DWORD *)(v3 + 592) = 0;
*(_BYTE *)(v3 + 596) = 0;
*(_BYTE *)(v3 + 597) = 0;
*(_BYTE *)(v3 + 598) = 0;
*(_BYTE *)(v3 + 599) = 0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v3 + 600));
*(_DWORD *)(v3 + 632) = -1;
*(_DWORD *)(v3 + 640) = -1;
*(_QWORD *)(v3 + 608) = 0;
*(_QWORD *)(v3 + 616) = 0;
*(_QWORD *)(v3 + 624) = 0;
*(_BYTE *)(v3 + 636) = 0;
*(_BYTE *)(v3 + 637) = 0;
*(_BYTE *)(v3 + 644) = 0;
*(_BYTE *)(v3 + 656) = 0;
*(_DWORD *)(v3 + 648) = 0;
*(_DWORD *)(v3 + 652) = 0;
*(_QWORD *)(v3 + 664) = 0;
*(_QWORD *)v3 = &off_1504DF0;
*(_QWORD *)(v3 + 320) = off_1505340;
*(_QWORD *)(v3 + 328) = &off_15053B0;
*(_QWORD *)(v3 + 336) = off_15053C8;
*(_QWORD *)(v3 + 344) = off_15053E8;
*(_QWORD *)(v3 + 352) = off_1505410;
*(_QWORD *)(v3 + 408) = &off_1505440;
*(_QWORD *)(v3 + 432) = &off_15054C0;
*(_QWORD *)(v3 + 544) = off_15054E0;
*(_QWORD *)(v3 + 672) = 0;
*(_QWORD *)(v3 + 680) = 0;
*(_QWORD *)(v3 + 688) = 0;
*(_QWORD *)(v3 + 696) = 0;
*(_QWORD *)(v3 + 704) = 0;
*(_QWORD *)(v3 + 712) = 0;
*(_QWORD *)(v3 + 720) = 0;
*(_DWORD *)(v3 + 732) = 0;
*(_DWORD *)(v3 + 728) = 0;
if ( (unsigned __int8)LevelStatsInfoPopup::init((LevelStatsInfoPopup *)v3, this) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v3);
return v3;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v3 + 16LL))(v3);
return 0;
}
}