//
// LevelStatsInfoPopup::create from 0x79c628 to 0x79c79e (374 bytes)
//
// 2 xrefs:
// > LevelInfoLayer::onLevelInfo @ 0x499d82
// > EditLevelLayer::onLevelInfo @ 0x49f434
//
// 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:59:50 +0000
//
int __fastcall LevelStatsInfoPopup::create(LevelStatsInfoPopup *this, GJGameLevel *a2)
{
int v3; // r4
v3 = operator new(0x230u);
memset((void *)v3, 0, 0x230u);
cocos2d::CCLayerColor::CCLayerColor((cocos2d::CCLayerColor *)v3);
*(_DWORD *)(v3 + 444) = 0;
*(_DWORD *)(v3 + 448) = 0;
*(_DWORD *)(v3 + 452) = 0;
*(_DWORD *)v3 = &off_C86768;
*(_BYTE *)(v3 + 456) = 0;
*(_DWORD *)(v3 + 264) = &off_C86A10;
*(_DWORD *)(v3 + 460) = 0;
*(_DWORD *)(v3 + 268) = &off_C86A48;
*(_DWORD *)(v3 + 464) = 0;
*(_DWORD *)(v3 + 272) = &off_C86A54;
*(_BYTE *)(v3 + 468) = 0;
*(_DWORD *)(v3 + 276) = &off_C86A64;
*(_BYTE *)(v3 + 469) = 0;
*(_DWORD *)(v3 + 280) = &off_C86A78;
*(_BYTE *)(v3 + 470) = 0;
*(_DWORD *)(v3 + 316) = &off_C86A90;
*(_BYTE *)(v3 + 471) = 0;
*(_DWORD *)(v3 + 332) = &off_C86AD0;
*(_DWORD *)(v3 + 440) = &off_C86AE0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v3 + 472));
*(_DWORD *)(v3 + 492) = -1;
*(_DWORD *)(v3 + 500) = -1;
*(_DWORD *)(v3 + 480) = 0;
*(_DWORD *)(v3 + 484) = 0;
*(_DWORD *)(v3 + 488) = 0;
*(_BYTE *)(v3 + 496) = 0;
*(_BYTE *)(v3 + 497) = 0;
*(_BYTE *)(v3 + 504) = 0;
*(_BYTE *)(v3 + 516) = 0;
*(_DWORD *)v3 = &off_CFC498;
*(_DWORD *)(v3 + 520) = 0;
*(_DWORD *)(v3 + 264) = &off_CFC740;
*(_DWORD *)(v3 + 524) = 0;
*(_DWORD *)(v3 + 268) = &off_CFC778;
*(_DWORD *)(v3 + 528) = 0;
*(_DWORD *)(v3 + 272) = &off_CFC784;
*(_DWORD *)(v3 + 532) = 0;
*(_DWORD *)(v3 + 276) = &off_CFC794;
*(_DWORD *)(v3 + 536) = 0;
*(_DWORD *)(v3 + 280) = &off_CFC7A8;
*(_DWORD *)(v3 + 540) = 0;
*(_DWORD *)(v3 + 316) = &off_CFC7C0;
*(_DWORD *)(v3 + 544) = 0;
*(_DWORD *)(v3 + 332) = &off_CFC800;
*(_DWORD *)(v3 + 548) = 0;
*(_DWORD *)(v3 + 556) = 0;
*(_DWORD *)(v3 + 508) = 0;
*(_DWORD *)(v3 + 512) = 0;
*(_DWORD *)(v3 + 440) = &off_CFC810;
*(_DWORD *)(v3 + 552) = 0;
if ( LevelStatsInfoPopup::init((LevelStatsInfoPopup *)v3, this) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v3);
return v3;
}
else
{
(*(void (__fastcall **)(int))(*(_DWORD *)v3 + 8))(v3);
return 0;
}
}