//
// SetLevelOrderPopup::create from 0x10035f7f0 to 0x10035f96f (383 bytes)
//
// 1 xrefs:
// > LevelListLayer::cellPerformedAction @ 0x10035f6c9
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
SetLevelOrderPopup *__fastcall SetLevelOrderPopup::create(int a1, int a2, int a3)
{
char *v4; // rbx
v4 = (char *)operator new(0x2B0u);
cocos2d::CCLayerColor::CCLayerColor(v4);
*((_QWORD *)v4 + 72) = 0;
*((_DWORD *)v4 + 146) = 0;
v4[588] = 0;
*((_OWORD *)v4 + 34) = 0;
*(_OWORD *)(v4 + 553) = 0;
*((_OWORD *)v4 + 37) = 0;
*((_QWORD *)v4 + 76) = 0;
*((_DWORD *)v4 + 154) = -1;
*((_WORD *)v4 + 310) = 0;
*((_DWORD *)v4 + 156) = -1;
v4[628] = 0;
*((_DWORD *)v4 + 164) = 0;
*((_QWORD *)v4 + 80) = 0;
*(_QWORD *)(v4 + 646) = 0;
*(_QWORD *)(v4 + 660) = 1000;
*((_QWORD *)v4 + 84) = 0;
*(_QWORD *)v4 = off_100919F28;
*((_QWORD *)v4 + 40) = off_10091A460;
*((_QWORD *)v4 + 41) = &off_10091A4D0;
*((_QWORD *)v4 + 42) = off_10091A4E8;
*((_QWORD *)v4 + 43) = off_10091A508;
*((_QWORD *)v4 + 44) = off_10091A528;
*((_QWORD *)v4 + 51) = off_10091A550;
*((_QWORD *)v4 + 54) = off_10091A5D0;
*((_QWORD *)v4 + 79) = off_10091A5F0;
*((_DWORD *)v4 + 170) = 0;
if ( SetLevelOrderPopup::init((SetLevelOrderPopup *)v4, a1, a2, a3) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v4);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v4 + 16LL))(v4);
return nullptr;
}
return (SetLevelOrderPopup *)v4;
}