//
// EditorCommandsPopup::create from 0x1008ddf40 to 0x1008de070 (304 bytes)
//
// 1 xrefs:
// > EditorUI::toggleWindow @ 0x10000b930
//
// 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 12:37:44 +0000
//
_QWORD *__fastcall EditorCommandsPopup::create(__int64 a1)
{
_QWORD *v1; // rbx
v1 = operator new(0x490u);
__bzero(v1, 1168);
EditorWindowPopup::EditorWindowPopup(v1);
*v1 = off_100BB32A8;
v1[40] = off_100BB38B8;
v1[41] = &off_100BB3928;
v1[42] = off_100BB3940;
v1[43] = off_100BB3960;
v1[44] = off_100BB3988;
v1[51] = off_100BB39B8;
v1[54] = off_100BB3A38;
v1[68] = off_100BB3A58;
v1[83] = &off_100BB3AA0;
v1[84] = off_100BB3AB8;
EditorWindowPopup::setWindowSizeBounds(v1, 100.0, 60.0, 160.0, 405.0);
if ( (unsigned __int8)EditorWindowPopup::initWindow(v1, a1, 1, 1, 160.0, 270.0) )
{
cocos2d::CCObject::autorelease((__int64)v1);
}
else
{
(*(void (__fastcall **)(_QWORD *))(*v1 + 16LL))(v1);
return nullptr;
}
return v1;
}