// // EditorUI::selectObject from 0x1401c7490 to 0x1401c758d (253 bytes) // // 9 xrefs: // > EditorUI::clickOnPosition @ 0x1401adb51 // > EditorUI::onCreateObject @ 0x1401b2db6 // > EditorUI::createGradientFromSelection @ 0x1401b9fea // > EditorUI::ccTouchEnded @ 0x1401c17c3 // > EditorUI::pasteObjects @ 0x1401c6eb5 // > EditorUI::selectObjects @ 0x1401c7d8e // > EditorUI::findObject @ 0x1401c94a6 // > @ 0x14091a7c8 // > @ 0x14091a7d4 // // 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:05 +0000 // __int64 __fastcall EditorUI::selectObject(__int64 a1, int *a2, char a3) { __int64 result; // rax cocos2d::CCArray *v6; // rax struct cocos2d::CCArray *v7; // rax __int16 v8; // [rsp+40h] [rbp+18h] BYREF char v9; // [rsp+42h] [rbp+1Ah] if ( a3 || (result = EditorUI::canSelectObject(a1, a2), (_BYTE)result) ) { if ( *(_BYTE *)(a1 + 915) && !*(_BYTE *)(a1 + 916) && a2[220] > 0 && (v6 = cocos2d::CCDictionary::objectForKey( *(cocos2d::CCDictionary **)(*(_QWORD *)(a1 + 1512) + 4256LL), a2[220])) != nullptr && cocos2d::CCArray::count(v6) > 1 ) { EditorUI::deselectAll(a1); v7 = cocos2d::CCArray::createWithObject((struct cocos2d::CCObject *)a2); return EditorUI::selectObjects(a1, v7, 0); } else { *(_BYTE *)(a1 + 914) = 1; EditorUI::deselectAll(a1); v8 = -256; v9 = 0; *(_QWORD *)(a1 + 1568) = a2; (*(void (__fastcall **)(int *, __int16 *))(*(_QWORD *)a2 + 1376LL))(a2, &v8); *(_DWORD *)(*(_QWORD *)(a1 + 1568) + 1144LL) = *(_DWORD *)(a1 + 1612); *(_BYTE *)(a1 + 824) = 1; return EditorUI::checkLiveColorSelect(a1); } } return result; }