//
// SetLevelOrderPopup::create from 0xbaa830 to 0xbaaa0c (476 bytes)
//
// 2 xrefs:
// > LevelListLayer::cellPerformedAction @ 0xbaab98
// > ??> @ 0x5ba38
//
// 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:02:51 +0000
//
__int64 __fastcall SetLevelOrderPopup::create(SetLevelOrderPopup *this, int a2, int a3)
{
int v3; // w22
__int64 v6; // x19
v3 = (int)this;
v6 = operator new(0x2C8u);
cocos2d::CCLayerColor::CCLayerColor((cocos2d::CCLayerColor *)v6);
*(_QWORD *)(v6 + 552) = 0;
*(_QWORD *)v6 = &off_1419A40;
*(_QWORD *)(v6 + 320) = off_1419F90;
*(_QWORD *)(v6 + 328) = &off_141A000;
*(_QWORD *)(v6 + 336) = off_141A018;
*(_QWORD *)(v6 + 344) = off_141A038;
*(_QWORD *)(v6 + 352) = off_141A060;
*(_QWORD *)(v6 + 408) = &off_141A090;
*(_QWORD *)(v6 + 432) = &off_141A110;
*(_QWORD *)(v6 + 544) = off_141A130;
*(_QWORD *)(v6 + 560) = 0;
*(_QWORD *)(v6 + 568) = 0;
*(_BYTE *)(v6 + 576) = 0;
*(_QWORD *)(v6 + 584) = 0;
*(_DWORD *)(v6 + 592) = 0;
*(_BYTE *)(v6 + 596) = 0;
*(_BYTE *)(v6 + 597) = 0;
*(_BYTE *)(v6 + 598) = 0;
*(_BYTE *)(v6 + 599) = 0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v6 + 600));
*(_DWORD *)(v6 + 632) = -1;
*(_DWORD *)(v6 + 640) = -1;
*(_DWORD *)(v6 + 684) = 1000;
*(_QWORD *)(v6 + 608) = 0;
*(_QWORD *)(v6 + 616) = 0;
*(_QWORD *)(v6 + 624) = 0;
*(_BYTE *)(v6 + 636) = 0;
*(_BYTE *)(v6 + 637) = 0;
*(_BYTE *)(v6 + 644) = 0;
*(_BYTE *)(v6 + 656) = 0;
*(_QWORD *)(v6 + 664) = 0;
*(_DWORD *)(v6 + 672) = 0;
*(_BYTE *)(v6 + 676) = 0;
*(_BYTE *)(v6 + 677) = 0;
*(_DWORD *)(v6 + 680) = 0;
*(_DWORD *)(v6 + 688) = 0;
*(_QWORD *)(v6 + 696) = 0;
*(_DWORD *)(v6 + 648) = 0;
*(_DWORD *)(v6 + 652) = 0;
*(_DWORD *)(v6 + 704) = 0;
*(_QWORD *)v6 = &off_14DB230;
*(_QWORD *)(v6 + 320) = off_14DB798;
*(_QWORD *)(v6 + 328) = &off_14DB808;
*(_QWORD *)(v6 + 336) = off_14DB820;
*(_QWORD *)(v6 + 344) = off_14DB840;
*(_QWORD *)(v6 + 352) = off_14DB868;
*(_QWORD *)(v6 + 408) = &off_14DB898;
*(_QWORD *)(v6 + 432) = &off_14DB918;
*(_QWORD *)(v6 + 544) = off_14DB938;
if ( (unsigned __int8)SetLevelOrderPopup::init((SetLevelOrderPopup *)v6, v3, a2, a3) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v6);
return v6;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v6 + 16LL))(v6);
return 0;
}
}