{"type": "func", "start": 4299087680, "end": 4299087836, "name": "EditorUI::getSelectedObjects", "pseudocode": "// \n// EditorUI::getSelectedObjects from 0x1003edf40 to 0x1003edfdc (156 bytes)\n// \n// 6 xrefs:\n// > LevelEditorLayer::handleAction @ 0x10035bdc4\n// > EditorPauseLayer::onCreateExtras @ 0x10039dfc8\n// > EditorPauseLayer::onAlignX @ 0x10039e044\n// > EditorPauseLayer::onAlignY @ 0x10039e078\n// > EditorUI::createUndoSelectObject @ 0x1003e6e20\n// > EditorUI::editHSV @ 0x1003edd30\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  GameObject *m_selectedObject; // x0\n  cocos2d::CCArray *v3; // x20\n  unsigned int v4; // w21\n\n  m_selectedObject = a1->m_selectedObject;\n  if ( m_selectedObject && m_selectedObject->m_objectID != 749 )\n    return (cocos2d::CCArray *)sub_10024A1B8((__int64)m_selectedObject);\n  v3 = (cocos2d::CCArray *)sub_10024A15C();\n  if ( (unsigned int)sub_10024A36C((__int64)a1->m_selectedObjects) )\n  {\n    v4 = 0;\n    do\n    {\n      if ( *(_DWORD *)(sub_10024A388((__int64)a1->m_selectedObjects, v4) + 1028) != 749 )\n        sub_10024A2D0((__int64)v3);\n      ++v4;\n    }\n    while ( v4 < (unsigned int)sub_10024A36C((__int64)a1->m_selectedObjects) );\n  }\n  return v3;\n}", "assembly": "; \n; EditorUI::getSelectedObjects from 0x1003edf40 to 0x1003edfdc (156 bytes)\n; \n; 6 xrefs:\n; > LevelEditorLayer::handleAction @ 0x10035bdc4\n; > EditorPauseLayer::onCreateExtras @ 0x10039dfc8\n; > EditorPauseLayer::onAlignX @ 0x10039e044\n; > EditorPauseLayer::onAlignY @ 0x10039e078\n; > EditorUI::createUndoSelectObject @ 0x1003e6e20\n; > EditorUI::editHSV @ 0x1003edd30\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\nSTP             X22, X21, [SP,#-0x10+var_20]!                          ; +0x0, 0x1003edf40\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x1003edf44\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x1003edf48\nADD             X29, SP, #0x20                                         ; +0xc, 0x1003edf4c\nMOV             X19, X0                                                ; +0x10, 0x1003edf50\nLDR             X0, [X0,#0x520]                                        ; +0x14, 0x1003edf54\nCBZ             X0, loc_1003EDF68                                      ; +0x18, 0x1003edf58\nLDR             W8, [X0,#0x404]                                        ; +0x1c, 0x1003edf5c\nCMP             W8, #0x2ED                                             ; +0x20, 0x1003edf60\nB.NE            loc_1003EDFCC                                          ; +0x24, 0x1003edf64\nBL              sub_10024A15C                                          ; +0x28, 0x1003edf68\nMOV             X20, X0                                                ; +0x2c, 0x1003edf6c\nLDR             X0, [X19,#0x328]                                       ; +0x30, 0x1003edf70\nBL              sub_10024A36C                                          ; +0x34, 0x1003edf74\nCBZ             W0, loc_1003EDFB8                                      ; +0x38, 0x1003edf78\nMOV             W21, #0                                                ; +0x3c, 0x1003edf7c\nLDR             X0, [X19,#0x328]                                       ; +0x40, 0x1003edf80\nMOV             X1, X21                                                ; +0x44, 0x1003edf84\nBL              sub_10024A388                                          ; +0x48, 0x1003edf88\nLDR             W8, [X0,#0x404]                                        ; +0x4c, 0x1003edf8c\nCMP             W8, #0x2ED                                             ; +0x50, 0x1003edf90\nB.EQ            loc_1003EDFA4                                          ; +0x54, 0x1003edf94\nMOV             X1, X0                                                 ; +0x58, 0x1003edf98\nMOV             X0, X20                                                ; +0x5c, 0x1003edf9c\nBL              sub_10024A2D0                                          ; +0x60, 0x1003edfa0\nADD             W21, W21, #1                                           ; +0x64, 0x1003edfa4\nLDR             X0, [X19,#0x328]                                       ; +0x68, 0x1003edfa8\nBL              sub_10024A36C                                          ; +0x6c, 0x1003edfac\nCMP             W21, W0                                                ; +0x70, 0x1003edfb0\nB.CC            loc_1003EDF80                                          ; +0x74, 0x1003edfb4\nMOV             X0, X20                                                ; +0x78, 0x1003edfb8\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x7c, 0x1003edfbc\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x80, 0x1003edfc0\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0x84, 0x1003edfc4\nRET                                                                    ; +0x88, 0x1003edfc8\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8c, 0x1003edfcc\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x90, 0x1003edfd0\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0x94, 0x1003edfd4\nB               sub_10024A1B8                                          ; +0x98, 0x1003edfd8", "xrefs": ["LevelEditorLayer::handleAction @ 0x10035bdc4", "EditorPauseLayer::onCreateExtras @ 0x10039dfc8", "EditorPauseLayer::onAlignX @ 0x10039e044", "EditorPauseLayer::onAlignY @ 0x10039e078", "EditorUI::createUndoSelectObject @ 0x1003e6e20", "EditorUI::editHSV @ 0x1003edd30"], "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"}