//
// EditButtonBar::create from 0x4de6b8 to 0x4de764 (172 bytes)
//
// 16 xrefs:
// > EditorUI::createMoveMenu @ 0x6f7e46
// > EditorUI::setupCreateMenu @ 0x6fc92e
// > EditorUI::setupCreateMenu @ 0x6fce02
// > EditorUI::setupCreateMenu @ 0x6fd9d8
// > EditorUI::setupCreateMenu @ 0x6fddd2
// > EditorUI::setupCreateMenu @ 0x6fed7e
// > EditorUI::setupCreateMenu @ 0x6ff1ce
// > EditorUI::setupCreateMenu @ 0x6ffe44
// > EditorUI::setupCreateMenu @ 0x707b14
// > EditorUI::setupCreateMenu @ 0x70875c
// > EditorUI::setupCreateMenu @ 0x709886
// > EditorUI::setupCreateMenu @ 0x70ab90
// > EditorUI::setupCreateMenu @ 0x70b37c
// > EditorUI::setupCreateMenu @ 0x70bde2
// > EditorUI::setupCreateMenu @ 0x70be7a
// > EditorUI::setupViewMenu @ 0x70d1a0
//
// 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:50:58 +0000
//
_DWORD *__fastcall EditButtonBar::create(
cocos2d::CCArray *a1,
const cocos2d::CCPoint *a2,
int a3,
char a4,
int a5,
int a6)
{
_DWORD *v10; // r4
int v11; // r3
_DWORD *v12; // r0
_BYTE v14[8]; // [sp+14h] [bp-Ch] BYREF
v10 = (_DWORD *)operator new(0x128u);
cocos2d::CCNode::CCNode((cocos2d::CCNode *)v10);
*v10 = &off_C9AAF0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v10 + 66));
v10[70] = 0;
v10[71] = 0;
v10[72] = 0;
v10[73] = 0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v14, a2);
if ( EditButtonBar::init((int)v10, a1, (int)v14, a3, a4, a5, a6) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v10);
}
else
{
v11 = *v10;
v12 = v10;
v10 = nullptr;
(*(void (__fastcall **)(_DWORD *))(v11 + 8))(v12);
}
return v10;
}