//
// LevelStatsInfoPopup::create from 0x1404267b0 to 0x1404268e0 (304 bytes)
//
// 3 xrefs:
// > EditLevelLayer::onLevelInfo @ 0x140179cdb
// > LevelInfoLayer::onLevelInfo @ 0x1404246a4
// > ??> @ 0x1409269c0
//
// 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 11:32:11 +0000
//
// Hidden C++ exception states: #wind=1
_QWORD *__fastcall LevelStatsInfoPopup::create(__int64 a1)
{
_QWORD *v2; // rdi
v2 = operator new(0x2E0u);
memset(v2, 0, 0x2E0u);
FLAlertLayer::FLAlertLayer((__int64)v2);
*v2 = &LevelStatsInfoPopup::`vftable';
v2[40] = &LevelStatsInfoPopup::`vftable';
v2[41] = &LevelStatsInfoPopup::`vftable';
v2[42] = &LevelStatsInfoPopup::`vftable';
v2[43] = &LevelStatsInfoPopup::`vftable';
v2[44] = &LevelStatsInfoPopup::`vftable';
v2[51] = &LevelStatsInfoPopup::`vftable';
v2[54] = &LevelStatsInfoPopup::`vftable';
v2[68] = &LevelStatsInfoPopup::`vftable';
v2[83] = 0;
v2[84] = 0;
v2[85] = 0;
v2[86] = 0;
v2[87] = 0;
v2[88] = 0;
v2[89] = 0;
v2[90] = 0;
v2[91] = 0;
if ( (unsigned __int8)LevelStatsInfoPopup::init(v2, a1) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2);
return v2;
}
else
{
(*(void (__fastcall **)(_QWORD *, __int64))(*v2 + 8LL))(v2, 1);
return nullptr;
}
}