{"type": "func", "start": 4295216240, "end": 4295216409, "name": "EditorUI::getSelectedObjects", "pseudocode": "// \n// EditorUI::getSelectedObjects from 0x10003cc70 to 0x10003cd19 (169 bytes)\n// \n// 14 xrefs:\n// > EditorUI::onDeselectAll @ 0x10002c206\n// > EditorUI::clickOnPosition @ 0x10002db99\n// > EditorUI::onCreate @ 0x10002e21b\n// > EditorUI::createUndoSelectObject @ 0x10002e74c\n// > EditorUI::editHSV @ 0x10003ca30\n// > EditorUI::selectObjectsInRect @ 0x10003cc1d\n// > EditorUI::processSelectObjects @ 0x10003d248\n// > EditorUI::keyDown @ 0x10005062d\n// > LevelEditorLayer::handleAction @ 0x1000e2eef\n// > EditorPauseLayer::onCreateExtras @ 0x100293e47\n// > EditorPauseLayer::onAlignX @ 0x100293f17\n// > EditorPauseLayer::onAlignY @ 0x100293f47\n// > EditorPauseLayer::onCreateTemplate @ 0x1002942a4\n// > EditorPauseLayer::onCreateTemplate @ 0x1002942c1\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\ncocos2d::CCArray *__fastcall EditorUI::getSelectedObjects(EditorUI *a1)\n{\n  __int64 v1; // rsi\n  GameObject *m_selectedObject; // rdi\n  cocos2d::CCArray *v4; // r14\n  unsigned int v5; // r15d\n  __int64 v6; // rax\n\n  m_selectedObject = a1->m_selectedObject;\n  if ( m_selectedObject && m_selectedObject->m_objectID != 749 )\n    return (cocos2d::CCArray *)sub_10071FA80(m_selectedObject);\n  v4 = (cocos2d::CCArray *)sub_10071F9E0(m_selectedObject, v1);\n  if ( (unsigned int)sub_100720070(a1->m_selectedObjects) )\n  {\n    v5 = 0;\n    do\n    {\n      v6 = sub_1007200C0(a1->m_selectedObjects, v5);\n      if ( *(_DWORD *)(v6 + 1028) != 749 )\n        sub_10071FCD0(v4, v6);\n      ++v5;\n    }\n    while ( v5 < (unsigned int)sub_100720070(a1->m_selectedObjects) );\n  }\n  return v4;\n}", "assembly": "; \n; EditorUI::getSelectedObjects from 0x10003cc70 to 0x10003cd19 (169 bytes)\n; \n; 14 xrefs:\n; > EditorUI::onDeselectAll @ 0x10002c206\n; > EditorUI::clickOnPosition @ 0x10002db99\n; > EditorUI::onCreate @ 0x10002e21b\n; > EditorUI::createUndoSelectObject @ 0x10002e74c\n; > EditorUI::editHSV @ 0x10003ca30\n; > EditorUI::selectObjectsInRect @ 0x10003cc1d\n; > EditorUI::processSelectObjects @ 0x10003d248\n; > EditorUI::keyDown @ 0x10005062d\n; > LevelEditorLayer::handleAction @ 0x1000e2eef\n; > EditorPauseLayer::onCreateExtras @ 0x100293e47\n; > EditorPauseLayer::onAlignX @ 0x100293f17\n; > EditorPauseLayer::onAlignY @ 0x100293f47\n; > EditorPauseLayer::onCreateTemplate @ 0x1002942a4\n; > EditorPauseLayer::onCreateTemplate @ 0x1002942c1\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbp                                                            ; +0x0, 0x10003cc70\nmov     rbp, rsp                                                       ; +0x1, 0x10003cc71\npush    r15                                                            ; +0x4, 0x10003cc74\npush    r14                                                            ; +0x6, 0x10003cc76\npush    rbx                                                            ; +0x8, 0x10003cc78\npush    rax                                                            ; +0x9, 0x10003cc79\nmov     rbx, rdi                                                       ; +0xa, 0x10003cc7a\nmov     rdi, [rdi+520h]                                                ; +0xd, 0x10003cc7d\ntest    rdi, rdi                                                       ; +0x14, 0x10003cc84\njz      short loc_10003CC95                                            ; +0x17, 0x10003cc87\ncmp     dword ptr [rdi+404h], 2EDh                                     ; +0x19, 0x10003cc89\njnz     short loc_10003CD0A                                            ; +0x23, 0x10003cc93\ncall    sub_10071F9E0                                                  ; +0x25, 0x10003cc95\nmov     r14, rax                                                       ; +0x2a, 0x10003cc9a\nmov     rdi, [rbx+328h]                                                ; +0x2d, 0x10003cc9d\ncall    sub_100720070                                                  ; +0x34, 0x10003cca4\ntest    eax, eax                                                       ; +0x39, 0x10003cca9\njz      short loc_10003CCFC                                            ; +0x3b, 0x10003ccab\nxor     r15d, r15d                                                     ; +0x3d, 0x10003ccad\njmp     short loc_10003CCD4                                            ; +0x40, 0x10003ccb0\nalign 20h                                                              ; +0x42, 0x10003ccb2\ninc     r15d                                                           ; +0x50, 0x10003ccc0\nmov     rdi, [rbx+328h]                                                ; +0x53, 0x10003ccc3\ncall    sub_100720070                                                  ; +0x5a, 0x10003ccca\ncmp     r15d, eax                                                      ; +0x5f, 0x10003cccf\njnb     short loc_10003CCFC                                            ; +0x62, 0x10003ccd2\nmov     rdi, [rbx+328h]                                                ; +0x64, 0x10003ccd4\nmov     esi, r15d                                                      ; +0x6b, 0x10003ccdb\ncall    sub_1007200C0                                                  ; +0x6e, 0x10003ccde\ncmp     dword ptr [rax+404h], 2EDh                                     ; +0x73, 0x10003cce3\njz      short loc_10003CCC0                                            ; +0x7d, 0x10003cced\nmov     rdi, r14                                                       ; +0x7f, 0x10003ccef\nmov     rsi, rax                                                       ; +0x82, 0x10003ccf2\ncall    sub_10071FCD0                                                  ; +0x85, 0x10003ccf5\njmp     short loc_10003CCC0                                            ; +0x8a, 0x10003ccfa\nmov     rax, r14                                                       ; +0x8c, 0x10003ccfc\nadd     rsp, 8                                                         ; +0x8f, 0x10003ccff\npop     rbx                                                            ; +0x93, 0x10003cd03\npop     r14                                                            ; +0x94, 0x10003cd04\npop     r15                                                            ; +0x96, 0x10003cd06\npop     rbp                                                            ; +0x98, 0x10003cd08\nretn                                                                   ; +0x99, 0x10003cd09\nadd     rsp, 8                                                         ; +0x9a, 0x10003cd0a\npop     rbx                                                            ; +0x9e, 0x10003cd0e\npop     r14                                                            ; +0x9f, 0x10003cd0f\npop     r15                                                            ; +0xa1, 0x10003cd11\npop     rbp                                                            ; +0xa3, 0x10003cd13\njmp     sub_10071FA80                                                  ; +0xa4, 0x10003cd14", "xrefs": ["EditorUI::onDeselectAll @ 0x10002c206", "EditorUI::clickOnPosition @ 0x10002db99", "EditorUI::onCreate @ 0x10002e21b", "EditorUI::createUndoSelectObject @ 0x10002e74c", "EditorUI::editHSV @ 0x10003ca30", "EditorUI::selectObjectsInRect @ 0x10003cc1d", "EditorUI::processSelectObjects @ 0x10003d248", "EditorUI::keyDown @ 0x10005062d", "LevelEditorLayer::handleAction @ 0x1000e2eef", "EditorPauseLayer::onCreateExtras @ 0x100293e47", "EditorPauseLayer::onAlignX @ 0x100293f17", "EditorPauseLayer::onAlignY @ 0x100293f47", "EditorPauseLayer::onCreateTemplate @ 0x1002942a4", "EditorPauseLayer::onCreateTemplate @ 0x1002942c1"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}