//
// EditorUI::setupDeleteMenu from 0x1401f42a0 to 0x1401f50f6 (3670 bytes)
//
// 2 xrefs:
// > EditorUI::init @ 0x1401ab12c
// > ??> @ 0x14091aa5c
//
// 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 11:28:09 +0000
//
// Hidden C++ exception states: #wind=5
__int64 __fastcall EditorUI::setupDeleteMenu(__int64 a1)
{
__int64 v2; // rax
__int64 v3; // rcx
__int64 v4; // rax
__int64 v5; // rdi
__int64 v6; // rcx
cocos2d::CCDirector *v7; // rax
float ScreenBottom; // xmm0_4
__int64 v9; // rbx
__int64 v10; // rax
const struct cocos2d::CCPoint *v11; // rax
const struct cocos2d::CCPoint *v12; // rbx
__int64 v13; // rsi
struct cocos2d::CCSprite *v14; // rdi
const struct cocos2d::CCPoint *v15; // rax
float v16; // xmm6_4
__int64 v17; // rcx
cocos2d::CCDirector *v18; // rax
float v19; // xmm0_4
__int64 v20; // rbx
__int64 v21; // rax
__int64 v22; // rsi
struct cocos2d::CCSprite *v23; // rdi
__int64 v24; // rbx
__int64 v25; // rax
struct cocos2d::CCSprite *v26; // rdi
__int64 v27; // rbx
__int64 v28; // rax
__int64 v29; // rbx
const struct cocos2d::CCPoint *v30; // rax
cocos2d::CCObject *SpriteButton; // rbx
__int64 v32; // rax
__int64 v33; // rsi
struct cocos2d::CCSprite *v34; // rdi
__int64 v35; // rbx
__int64 v36; // rax
__int64 v37; // rax
__int64 v38; // rdi
__int64 v39; // rbx
__int64 v40; // rax
__int64 v41; // rbx
const struct cocos2d::CCPoint *v42; // rax
__int64 v43; // rax
__int64 v44; // rbx
__int64 v45; // rax
const struct cocos2d::CCPoint *v46; // rax
const struct cocos2d::CCPoint *v47; // rbx
__int64 v48; // rdi
struct cocos2d::CCSprite *v49; // rsi
const struct cocos2d::CCPoint *v50; // rax
cocos2d::CCObject *v51; // rax
__int64 v52; // rax
const struct cocos2d::CCPoint *v53; // rax
const struct cocos2d::CCPoint *v54; // rbx
__int64 v55; // rsi
struct cocos2d::CCSprite *v56; // rdi
const struct cocos2d::CCPoint *v57; // rax
cocos2d::CCObject *v58; // rax
const struct cocos2d::CCPoint *v59; // rax
const struct cocos2d::CCPoint *v60; // rbx
__int64 v61; // rsi
struct cocos2d::CCSprite *v62; // rdi
const struct cocos2d::CCPoint *v63; // rax
cocos2d::CCObject *v64; // rax
__int64 v65; // rax
struct cocos2d::CCSprite *v66; // rsi
__int64 v67; // rax
__int64 v68; // rdi
__int64 v69; // rbx
__int64 v70; // rax
__int64 v71; // rax
__int64 v72; // rbx
const struct cocos2d::CCPoint *v73; // rax
cocos2d::CCObject *v74; // rax
__int64 v75; // rax
struct cocos2d::CCSprite *v76; // rax
cocos2d::CCObject *v77; // rdi
__int64 v78; // rax
__int64 v79; // rbx
__int64 v80; // rax
__int64 v81; // rbx
cocos2d::CCString *v82; // rax
unsigned int v83; // ebx
void *v84; // r8
cocos2d::CCString *v85; // rax
const char *CString; // rdi
__int64 v87; // rax
cocos2d::CCObject *v88; // rbx
cocos2d::CCObject *v89; // rbx
__int64 v90; // rax
__int64 v91; // rbx
cocos2d::CCString *v92; // rax
unsigned int v93; // ebx
void *v94; // r8
cocos2d::CCString *v95; // rax
const char *v96; // rdi
__int64 v97; // rax
cocos2d::CCObject *v98; // rbx
cocos2d::CCObject *v99; // rbx
__int64 v100; // rax
const struct cocos2d::CCPoint *v101; // rax
const struct cocos2d::CCPoint *v102; // rbx
__int64 v103; // rsi
struct cocos2d::CCSprite *v104; // rdi
const struct cocos2d::CCPoint *v105; // rax
cocos2d::CCObject *v106; // rbx
__int64 v107; // rax
const struct cocos2d::CCPoint *v108; // rax
const struct cocos2d::CCPoint *v109; // rbx
__int64 v110; // rsi
struct cocos2d::CCSprite *v111; // rdi
const struct cocos2d::CCPoint *v112; // rax
cocos2d::CCObject *v113; // rbx
__int64 v114; // rax
__int64 v116; // [rsp+58h] [rbp-B0h] BYREF
void *v117; // [rsp+60h] [rbp-A8h] BYREF
_BYTE v118[8]; // [rsp+68h] [rbp-A0h] BYREF
__int64 v119; // [rsp+70h] [rbp-98h] BYREF
void *v120; // [rsp+78h] [rbp-90h] BYREF
float v121; // [rsp+80h] [rbp-88h] BYREF
float v122; // [rsp+84h] [rbp-84h]
_BYTE v123[8]; // [rsp+88h] [rbp-80h] BYREF
float v124; // [rsp+90h] [rbp-78h] BYREF
void *Block[2]; // [rsp+98h] [rbp-70h] BYREF
__int64 v126; // [rsp+A8h] [rbp-60h]
unsigned __int64 v127; // [rsp+B0h] [rbp-58h]
v2 = cocos2d::CCDirector::sharedDirector(a1);
cocos2d::CCDirector::getWinSize(v2, &v124);
v4 = cocos2d::CCMenu::create(v3);
*(_QWORD *)(a1 + 952) = v4;
(*(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)a1 + 456LL))(a1, v4, 2);
v5 = **(_QWORD **)(a1 + 952);
v7 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v6);
ScreenBottom = cocos2d::CCDirector::getScreenBottom(v7);
v9 = *(_QWORD *)(a1 + 952);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v116, v124 * 0.5, (float)(*(float *)(a1 + 904) * 0.5) + ScreenBottom);
(*(void (__fastcall **)(__int64, __int64))(v5 + 184))(v9, v10);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v116, 0.0, -1.0);
v12 = v11;
v13 = *(_QWORD *)(a1 + 952);
v14 = cocos2d::CCSprite::createWithSpriteFrameName("edit_delBtn_001.png");
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v118, v12);
*(_QWORD *)(a1 + 1280) = EditorUI::getSpriteButton(
a1,
(__int64)v14,
(__int64)EditorUI::onDeleteSelected,
v13,
1063675494,
4,
v15,
0.0);
v16 = *(float *)(a1 + 904);
v18 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v17);
v19 = cocos2d::CCDirector::getScreenBottom(v18);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v121, (float)(v124 * 0.5) - 5.0, (float)(v19 + v16) - 6.0);
v20 = *(_QWORD *)(a1 + 952);
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)v118,
(float)((float)((float)(v121 - 108.0) - 10.0) - 18.0) + 18.0,
v122 - 18.0);
cocos2d::CCNode::convertToNodeSpace(v20, v123, v21);
(*(void (__fastcall **)(_QWORD, _BYTE *))(**(_QWORD **)(a1 + 1280) + 184LL))(*(_QWORD *)(a1 + 1280), v123);
v22 = cocos2d::CCSprite::create();
v23 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_deleteAllIcon_001.png");
(*(void (__fastcall **)(__int64, struct cocos2d::CCSprite *))(*(_QWORD *)v22 + 464LL))(v22, v23);
v24 = *(_QWORD *)v23;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v118, 0.0, 8.0);
(*(void (__fastcall **)(struct cocos2d::CCSprite *, __int64))(v24 + 184))(v23, v25);
v26 = cocos2d::CCSprite::createWithSpriteFrameName("edit_eStartPosBtn_001.png");
(*(void (__fastcall **)(__int64, struct cocos2d::CCSprite *))(*(_QWORD *)v22 + 464LL))(v22, v26);
v27 = *(_QWORD *)v26;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v118, 0.0, -8.0);
(*(void (__fastcall **)(struct cocos2d::CCSprite *, __int64))(v27 + 184))(v26, v28);
(*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v26 + 160LL))(v26);
v29 = *(_QWORD *)(a1 + 952);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v118, 0.0, 0.0);
SpriteButton = EditorUI::getSpriteButton(a1, v22, (__int64)EditorUI::onDeleteStartPos, v29, 1063675494, 4, v30, 0.0);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v117, 40.0, 0.0);
cocos2d::CCPoint::operator+(v123, &v116, v32);
(*(void (__fastcall **)(cocos2d::CCObject *, __int64 *))(*(_QWORD *)SpriteButton + 184LL))(SpriteButton, &v116);
v33 = cocos2d::CCSprite::create();
v34 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_deleteAllIcon_001.png");
(*(void (__fastcall **)(__int64, struct cocos2d::CCSprite *))(*(_QWORD *)v33 + 464LL))(v33, v34);
v35 = *(_QWORD *)v34;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v117, 0.0, 8.0);
(*(void (__fastcall **)(struct cocos2d::CCSprite *, __int64))(v35 + 184))(v34, v36);
v37 = cocos2d::CCSprite::create();
*(_QWORD *)(a1 + 1264) = v37;
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v33 + 464LL))(v33, v37);
v38 = **(_QWORD **)(a1 + 1264);
v39 = *(_QWORD *)(a1 + 1264);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v117, 0.0, -8.0);
(*(void (__fastcall **)(__int64, __int64))(v38 + 184))(v39, v40);
v41 = *(_QWORD *)(a1 + 952);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v117, 0.0, 0.0);
*(_QWORD *)(a1 + 1288) = EditorUI::getSpriteButton(
a1,
v33,
(__int64)EditorUI::onDeleteSelectedType,
v41,
1063675494,
4,
v42,
0.0);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v117, 0.0, -40.0);
cocos2d::CCPoint::operator+(v123, &v116, v43);
(*(void (__fastcall **)(_QWORD, __int64 *))(**(_QWORD **)(a1 + 1288) + 184LL))(*(_QWORD *)(a1 + 1288), &v116);
v44 = *(_QWORD *)(a1 + 952);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v117, (float)(v121 + 108.0) + 10.0, v122 - 18.0);
cocos2d::CCNode::convertToNodeSpace(v44, &v119, v45);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v117, (const struct cocos2d::CCPoint *)&unk_14090A768);
v47 = v46;
v48 = *(_QWORD *)(a1 + 952);
v49 = cocos2d::CCSprite::createWithSpriteFrameName("deleteFilter_none_001.png");
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v118, v47);
v51 = EditorUI::getSpriteButton(
a1,
(__int64)v49,
(__int64)EditorUI::onUpdateDeleteFilter,
v48,
1063675494,
4,
v50,
0.0);
*(_QWORD *)(a1 + 1296) = v51;
(*(void (__fastcall **)(cocos2d::CCObject *, _QWORD))(*(_QWORD *)v51 + 64LL))(v51, 0);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v117, -40.0, 0.0);
cocos2d::CCPoint::operator+(&v119, &v116, v52);
(*(void (__fastcall **)(_QWORD, __int64 *))(**(_QWORD **)(a1 + 1296) + 184LL))(*(_QWORD *)(a1 + 1296), &v116);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v117, (const struct cocos2d::CCPoint *)&unk_14090A768);
v54 = v53;
v55 = *(_QWORD *)(a1 + 952);
v56 = cocos2d::CCSprite::createWithSpriteFrameName("deleteFilter_static_001.png");
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v118, v54);
v58 = EditorUI::getSpriteButton(
a1,
(__int64)v56,
(__int64)EditorUI::onUpdateDeleteFilter,
v55,
1063675494,
4,
v57,
0.0);
*(_QWORD *)(a1 + 1304) = v58;
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v58 + 64LL))(v58, 2);
(*(void (__fastcall **)(_QWORD, __int64 *))(**(_QWORD **)(a1 + 1304) + 184LL))(*(_QWORD *)(a1 + 1304), &v119);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v117, (const struct cocos2d::CCPoint *)&unk_14090A768);
v60 = v59;
v61 = *(_QWORD *)(a1 + 952);
v62 = cocos2d::CCSprite::createWithSpriteFrameName("deleteFilter_details_001.png");
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v118, v60);
v64 = EditorUI::getSpriteButton(
a1,
(__int64)v62,
(__int64)EditorUI::onUpdateDeleteFilter,
v61,
1063675494,
4,
v63,
0.0);
*(_QWORD *)(a1 + 1312) = v64;
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v64 + 64LL))(v64, 1);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v117, -40.0, -40.0);
cocos2d::CCPoint::operator+(&v119, &v116, v65);
(*(void (__fastcall **)(_QWORD, __int64 *))(**(_QWORD **)(a1 + 1312) + 184LL))(*(_QWORD *)(a1 + 1312), &v116);
v66 = cocos2d::CCSprite::createWithSpriteFrameName("deleteFilter_custom_001.png");
v67 = cocos2d::CCSprite::create();
*(_QWORD *)(a1 + 1272) = v67;
(*(void (__fastcall **)(struct cocos2d::CCSprite *, __int64, __int64))(*(_QWORD *)v66 + 456LL))(
v66,
v67,
0xFFFFFFFFLL);
v68 = **(_QWORD **)(a1 + 1272);
v69 = *(_QWORD *)(a1 + 1272);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v117, 0.0, -4.0);
cocos2d::CCNode::convertToNodeSpace(v66, v118, v70);
(*(void (__fastcall **)(__int64, __int64))(v68 + 184))(v69, v71);
v72 = *(_QWORD *)(a1 + 952);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v117, (const struct cocos2d::CCPoint *)&unk_14090A768);
v74 = EditorUI::getSpriteButton(
a1,
(__int64)v66,
(__int64)EditorUI::onUpdateDeleteFilter,
v72,
1063675494,
4,
v73,
0.0);
*(_QWORD *)(a1 + 1320) = v74;
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v74 + 64LL))(v74, 3);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v117, 0.0, -40.0);
cocos2d::CCPoint::operator+(&v119, &v116, v75);
(*(void (__fastcall **)(_QWORD, __int64 *))(**(_QWORD **)(a1 + 1320) + 184LL))(*(_QWORD *)(a1 + 1320), &v116);
v76 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_infoIcon_001.png");
LODWORD(v72) = (_DWORD)v76;
(*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v76 + 160LL))(v76);
v77 = CCMenuItemSpriteExtra::create(v72, 0, a1, (__int64)EditorUI::onDeleteInfo);
*((_DWORD *)v77 + 93) = 1069547520;
(*(void (__fastcall **)(_QWORD, cocos2d::CCObject *))(**(_QWORD **)(a1 + 952) + 464LL))(*(_QWORD *)(a1 + 952), v77);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v117, 160.0, -8.0);
cocos2d::CCPoint::operator+(&v121, &v116, v78);
v79 = *(_QWORD *)v77;
cocos2d::CCNode::convertToNodeSpace(*(_QWORD *)(a1 + 952), v118, &v116);
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(v79 + 184))(v77, v80);
v81 = qword_14090BFD0;
if ( !qword_14090BFD0 )
{
v120 = operator new(0x6E8u);
qword_14090BFD0 = GameManager::GameManager(v120);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);
v81 = qword_14090BFD0;
}
*(_OWORD *)Block = 0;
v126 = 3;
v127 = 15;
LODWORD(Block[0]) = 6256231;
sub_140044D80(Block, "0133", 4u);
v82 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(*(_QWORD *)(v81 + 432), Block);
v83 = cocos2d::CCString::intValue(v82);
if ( v127 > 0xF )
{
v84 = Block[0];
if ( v127 + 1 >= 0x1000 )
{
v84 = *((void **)Block[0] - 1);
if ( (unsigned __int64)((char *)Block[0] - (char *)v84 - 8) > 0x1F )
invoke_watson(nullptr, nullptr, nullptr, 0, 0);
}
j_j_free(v84);
}
v85 = cocos2d::CCString::createWithFormat((const char *)&word_1406ED6F8, v83);
CString = cocos2d::CCString::getCString(v85);
v120 = operator new(0x2C8u);
v87 = ButtonSprite::ButtonSprite((__int64)v120);
v88 = (cocos2d::CCObject *)v87;
if ( v87 )
{
if ( ButtonSprite::init_1(
v87,
(__int64)CString,
24,
0,
1061997773,
1,
&qword_140704F78,
(__int64)"GJ_button_04.png",
1109393408) )
{
cocos2d::CCObject::autorelease(v88);
}
else
{
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v88 + 8LL))(v88, 1);
v88 = nullptr;
}
}
*(_QWORD *)(a1 + 1360) = v88;
(*(void (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v88 + 160LL))(v88);
v89 = CCMenuItemSpriteExtra::create(*(_QWORD *)(a1 + 1360), 0, a1, (__int64)EditorUI::onGroupIDFilter);
(*(void (__fastcall **)(_QWORD, cocos2d::CCObject *))(**(_QWORD **)(a1 + 952) + 464LL))(*(_QWORD *)(a1 + 952), v89);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v120, -80.0, 0.0);
cocos2d::CCPoint::operator+(&v119, &v116, v90);
(*(void (__fastcall **)(cocos2d::CCObject *, __int64 *))(*(_QWORD *)v89 + 184LL))(v89, &v116);
v91 = qword_14090BFD0;
if ( !qword_14090BFD0 )
{
v117 = operator new(0x6E8u);
qword_14090BFD0 = GameManager::GameManager(v117);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);
v91 = qword_14090BFD0;
}
*(_OWORD *)Block = 0;
v126 = 3;
v127 = 15;
LODWORD(Block[0]) = 6256231;
sub_140044D80(Block, "0139", 4u);
v92 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(*(_QWORD *)(v91 + 432), Block);
v93 = cocos2d::CCString::intValue(v92);
if ( v127 > 0xF )
{
v94 = Block[0];
if ( v127 + 1 >= 0x1000 )
{
v94 = *((void **)Block[0] - 1);
if ( (unsigned __int64)((char *)Block[0] - (char *)v94 - 8) > 0x1F )
invoke_watson(nullptr, nullptr, nullptr, 0, 0);
}
j_j_free(v94);
}
v95 = cocos2d::CCString::createWithFormat((const char *)&word_1406ED6F8, v93);
v96 = cocos2d::CCString::getCString(v95);
v120 = operator new(0x2C8u);
v97 = ButtonSprite::ButtonSprite((__int64)v120);
v98 = (cocos2d::CCObject *)v97;
if ( v97 )
{
if ( ButtonSprite::init_1(
v97,
(__int64)v96,
24,
0,
1061997773,
1,
&qword_140704F78,
(__int64)"GJ_button_04.png",
1109393408) )
{
cocos2d::CCObject::autorelease(v98);
}
else
{
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v98 + 8LL))(v98, 1);
v98 = nullptr;
}
}
*(_QWORD *)(a1 + 1368) = v98;
(*(void (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v98 + 160LL))(v98);
v99 = CCMenuItemSpriteExtra::create(*(_QWORD *)(a1 + 1368), 0, a1, (__int64)EditorUI::onColorFilter);
(*(void (__fastcall **)(_QWORD, cocos2d::CCObject *))(**(_QWORD **)(a1 + 952) + 464LL))(*(_QWORD *)(a1 + 952), v99);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v120, -80.0, -40.0);
cocos2d::CCPoint::operator+(&v119, &v116, v100);
(*(void (__fastcall **)(cocos2d::CCObject *, __int64 *))(*(_QWORD *)v99 + 184LL))(v99, &v116);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v120, 0.0, -1.0);
v102 = v101;
v103 = *(_QWORD *)(a1 + 952);
v104 = cocos2d::CCSprite::createWithSpriteFrameName("edit_delBtn_001.png");
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v117, v102);
v106 = EditorUI::getSpriteButton(
a1,
(__int64)v104,
(__int64)EditorUI::onResetSpecialFilter,
v103,
1063675494,
4,
v105,
0.0);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v118, -120.0, -40.0);
cocos2d::CCPoint::operator+(&v119, &v116, v107);
(*(void (__fastcall **)(cocos2d::CCObject *, __int64 *))(*(_QWORD *)v106 + 184LL))(v106, &v116);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v120, 0.0, -1.0);
v109 = v108;
v110 = *(_QWORD *)(a1 + 952);
v111 = cocos2d::CCSprite::createWithSpriteFrameName("edit_findBtn_001.png");
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v117, v109);
v113 = EditorUI::getSpriteButton(a1, (__int64)v111, (__int64)EditorUI::onFindObject, v110, 1063675494, 4, v112, 0.0);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v118, -120.0, 0.0);
cocos2d::CCPoint::operator+(&v119, &v116, v114);
return (*(__int64 (__fastcall **)(cocos2d::CCObject *, __int64 *))(*(_QWORD *)v113 + 184LL))(v113, &v116);
}