{"type": "func", "start": 3818248, "end": 3818836, "name": "EditorUI::onDelete", "pseudocode": "// \n// EditorUI::onDelete from 0x3a4308 to 0x3a4554 (588 bytes)\n// \n// 1 xrefs:\n// > EditorUI::clickOnPosition @ 0x3a4a66\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\nvoid EditorUI::onDelete(EditorUI *a1, cocos2d::CCObject *a2)\n{\n  LevelEditorLayer *m_editorLayer; // r6\n  cocos2d::CCPoint v4; // r1\n  cocos2d::CCArray *v5; // r8\n  cocos2d::CCDirector *v6; // r0\n  int v7; // r0\n  unsigned int v8; // r6\n  int v9; // r10\n  _BOOL4 m_stickyControlsEnabled; // r5\n  GameObject *v11; // r9\n  int v12; // r6\n  GameObject *CycledObject; // r5\n  cocos2d::CCDictionary *v14; // r0\n  cocos2d::CCArray *m_deleteObjects; // r3\n  cocos2d::CCDictionary *v16; // r9\n  unsigned int v17; // r10\n  cocos2d::CCArray *v18; // r11\n  cocos2d::ccArray *data; // r2\n  cocos2d::CCObject **arr; // r6\n  cocos2d::CCObject **v21; // r8\n  cocos2d::CCObject *v22; // r10\n  cocos2d::CCObject *v23; // t1\n  cocos2d::CCObject *v24; // r9\n  unsigned int i; // r6\n  int v26; // r0\n  cocos2d::CCArray *StickyGroup; // r8\n  cocos2d::CCArray *v28; // r3\n  UndoObject *v29; // r0\n  cocos2d::ccArray *v30; // r3\n  int v31; // r6\n  cocos2d::CCObject **v32; // r3\n  unsigned int v33; // r6\n  GameObject **v34; // r8\n  GameObject *v35; // r1\n  GameObject *v36; // t1\n  int v37; // r9\n  intptr_t m_uID; // r1\n  cocos2d::CCPoint v39; // [sp+4h] [bp-10h] BYREF\n\n  m_editorLayer = a1->m_editorLayer;\n  cocos2d::CCPoint::CCPoint(&v39, &a1->m_clickAtPosition);\n  LODWORD(v4.x) = &v39;\n  v5 = LevelEditorLayer::objectsAtPosition(m_editorLayer, v4);\n  if ( !a1->m_swipeEnabled\n    || (v6 = cocos2d::CCDirector::sharedDirector(),\n        v7 = (int)v6->getKeyboardDispatcher(v6),\n        v8 = *(unsigned __int8 *)(v7 + 68),\n        *(_BYTE *)(v7 + 68)) )\n  {\n    v12 = 0;\n    v37 = cocos2d::CCArray::count(v5);\n    while ( 1 )\n    {\n      if ( v12 >= v37 || (CycledObject = EditorUI::getCycledObject(a1, v5, 1)) == nullptr )\n      {\n        m_stickyControlsEnabled = 0;\n        goto LABEL_17;\n      }\n      if ( EditorUI::shouldDeleteObject(a1, CycledObject) )\n        break;\n      ++v12;\n    }\n    if ( CycledObject->m_objectID == 747 )\n      EditorUI::deselectTargetPortals(a1);\n    cocos2d::CCArray::addObject(a1->m_deleteObjects, CycledObject);\n    m_stickyControlsEnabled = CycledObject->m_linkedGroup > 0;\n  }\n  else\n  {\n    v9 = *(unsigned __int8 *)(v7 + 68);\n    m_stickyControlsEnabled = v9;\n    while ( v8 < cocos2d::CCArray::count(v5) )\n    {\n      v11 = (GameObject *)cocos2d::CCArray::objectAtIndex(v5, v8);\n      if ( EditorUI::shouldDeleteObject(a1, v11) )\n      {\n        if ( !v9 && v11->m_objectID == 747 )\n        {\n          v9 = 1;\n          EditorUI::deselectTargetPortals(a1);\n        }\n        cocos2d::CCArray::addObject(a1->m_deleteObjects, v11);\n        if ( !m_stickyControlsEnabled )\n          m_stickyControlsEnabled = v11->m_linkedGroup > 0;\n      }\n      ++v8;\n    }\n  }\nLABEL_17:\n  if ( a1->m_stickyControlsEnabled )\n  {\n    if ( a1->m_linkControlsDisabled )\n    {\n      m_stickyControlsEnabled = 0;\n    }\n    else if ( m_stickyControlsEnabled )\n    {\n      v14 = cocos2d::CCDictionary::create();\n      m_deleteObjects = a1->m_deleteObjects;\n      v16 = v14;\n      if ( m_deleteObjects )\n      {\n        data = m_deleteObjects->data;\n        if ( data->num )\n        {\n          arr = data->arr;\n          v21 = &arr[data->num] + 0x3FFFFFFF;\n          while ( arr <= v21 )\n          {\n            v23 = *arr++;\n            v22 = v23;\n            if ( !v23 )\n              break;\n            m_uID = v22[14].m_uID;\n            if ( m_uID > 0 && !cocos2d::CCDictionary::objectForKey(v16, m_uID) )\n              cocos2d::CCDictionary::setObject(v16, v22, v22[14].m_uID);\n          }\n        }\n      }\n      v17 = 0;\n      v18 = cocos2d::CCDictionary::allKeys(v16);\n      while ( v17 < cocos2d::CCArray::count(v18) )\n      {\n        v26 = cocos2d::CCArray::objectAtIndex(v18, v17);\n        StickyGroup = GJBaseGameLayer::getStickyGroup(a1->m_editorLayer, *(_DWORD *)(v26 + 52));\n        if ( StickyGroup )\n        {\n          for ( i = 0; i < cocos2d::CCArray::count(StickyGroup); ++i )\n          {\n            v24 = (cocos2d::CCObject *)cocos2d::CCArray::objectAtIndex(StickyGroup, i);\n            if ( !cocos2d::CCArray::containsObject(a1->m_deleteObjects, v24) )\n              cocos2d::CCArray::addObject(a1->m_deleteObjects, v24);\n          }\n        }\n        ++v17;\n      }\n    }\n  }\n  else\n  {\n    m_stickyControlsEnabled = a1->m_stickyControlsEnabled;\n  }\n  v28 = a1->m_deleteObjects;\n  if ( v28 )\n  {\n    v30 = v28->data;\n    if ( v30->num )\n    {\n      v31 = v30->num + 0x40000000;\n      v32 = v30->arr;\n      v33 = (unsigned int)&v32[v31 - 1];\n      v34 = (GameObject **)v32;\n      while ( (unsigned int)v34 <= v33 )\n      {\n        v36 = *v34++;\n        v35 = v36;\n        if ( !v36 )\n          break;\n        EditorUI::deleteObject(a1, v35, m_stickyControlsEnabled);\n      }\n    }\n  }\n  if ( m_stickyControlsEnabled )\n  {\n    v29 = UndoObject::createWithArray(a1->m_deleteObjects, DeleteMulti);\n    LevelEditorLayer::addToUndoList(a1->m_editorLayer, v29, 0);\n  }\n  cocos2d::CCArray::removeAllObjects(a1->m_deleteObjects);\n  EditorUI::updateSpecialUIElements(a1);\n  EditorUI::tryUpdateTimeMarkers(a1);\n}", "assembly": "; \n; EditorUI::onDelete from 0x3a4308 to 0x3a4554 (588 bytes)\n; \n; 1 xrefs:\n; > EditorUI::clickOnPosition @ 0x3a4a66\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.W          {R4-R11,LR}                                            ; +0x0, 0x3a4308\nSUB             SP, SP, #0x14                                          ; +0x4, 0x3a430c\nLDR             R7, =(__stack_chk_guard_ptr - 0x3A431C)                ; +0x6, 0x3a430e\nADD             R5, SP, #0x14+var_10                                   ; +0x8, 0x3a4310\nLDR.W           R6, [R0,#0x340]                                        ; +0xa, 0x3a4312\nMOV             R4, R0                                                 ; +0xe, 0x3a4316\nADD             R7, PC; __stack_chk_guard_ptr                          ; +0x10, 0x3a4318\nLDR             R7, [R7]; __stack_chk_guard                            ; +0x12, 0x3a431a\nADD.W           R1, R4, #0x36C; cocos2d::CCPoint *                     ; +0x14, 0x3a431c\nMOV             R0, R5; this                                           ; +0x18, 0x3a4320\nLDR             R3, [R7]                                               ; +0x1a, 0x3a4322\nSTR             R3, [SP,#0x14+var_8]                                   ; +0x1c, 0x3a4324\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x1e, 0x3a4326\nMOV             R0, R6                                                 ; +0x22, 0x3a432a\nMOV             R1, R5                                                 ; +0x24, 0x3a432c\nBL              _ZN16LevelEditorLayer17objectsAtPositionEN7cocos2d7CCPointE; LevelEditorLayer::objectsAtPosition(cocos2d::CCPoint) ; +0x26, 0x3a432e\nLDRB.W          R3, [R4,#0x240]                                        ; +0x2a, 0x3a4332\nMOV             R8, R0                                                 ; +0x2e, 0x3a4336\nCMP             R3, #0                                                 ; +0x30, 0x3a4338\nBEQ.W           loc_3A44E8                                             ; +0x32, 0x3a433a\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x36, 0x3a433e\nLDR             R3, [R0]                                               ; +0x3a, 0x3a4342\nLDR             R3, [R3,#0x60]                                         ; +0x3c, 0x3a4344\nBLX             R3                                                     ; +0x3e, 0x3a4346\nLDRB.W          R6, [R0,#0x44]                                         ; +0x40, 0x3a4348\nCMP             R6, #0                                                 ; +0x44, 0x3a434c\nBNE.W           loc_3A44E8                                             ; +0x46, 0x3a434e\nMOV             R10, R6                                                ; +0x4a, 0x3a4352\nMOV             R5, R6                                                 ; +0x4c, 0x3a4354\nMOVW            R11, #0x2EB                                            ; +0x4e, 0x3a4356\nMOV             R0, R8; this                                           ; +0x52, 0x3a435a\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x54, 0x3a435c\nCMP             R6, R0                                                 ; +0x58, 0x3a4360\nBCS             loc_3A43CA                                             ; +0x5a, 0x3a4362\nMOV             R1, R6; unsigned int                                   ; +0x5c, 0x3a4364\nMOV             R0, R8; this                                           ; +0x5e, 0x3a4366\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x60, 0x3a4368\nMOV             R9, R0                                                 ; +0x64, 0x3a436c\nMOV             R0, R4; this                                           ; +0x66, 0x3a436e\nMOV             R1, R9; GameObject *                                   ; +0x68, 0x3a4370\nBL              _ZN8EditorUI18shouldDeleteObjectEP10GameObject; EditorUI::shouldDeleteObject(GameObject *) ; +0x6a, 0x3a4372\nCBZ             R0, loc_3A43A0                                         ; +0x6e, 0x3a4376\nCMP.W           R10, #0                                                ; +0x70, 0x3a4378\nBNE             loc_3A4388                                             ; +0x74, 0x3a437c\nLDR.W           R3, [R9,#0x374]                                        ; +0x76, 0x3a437e\nCMP             R3, R11                                                ; +0x7a, 0x3a4382\nBEQ.W           loc_3A451E                                             ; +0x7c, 0x3a4384\nLDR.W           R0, [R4,#0x338]; this                                  ; +0x80, 0x3a4388\nMOV             R1, R9; cocos2d::CCObject *                            ; +0x84, 0x3a438c\nBL              _ZN7cocos2d7CCArray9addObjectEPNS_8CCObjectE; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x86, 0x3a438e\nCBNZ            R5, loc_3A43A0                                         ; +0x8a, 0x3a4392\nLDR.W           R5, [R9,#0x2DC]                                        ; +0x8c, 0x3a4394\nCMP             R5, #0                                                 ; +0x90, 0x3a4398\nITE LE                                                                 ; +0x92, 0x3a439a\nMOVLE           R5, #0                                                 ; +0x94, 0x3a439c\nMOVGT           R5, #1                                                 ; +0x96, 0x3a439e\nADDS            R6, #1                                                 ; +0x98, 0x3a43a0\nB               loc_3A435A                                             ; +0x9a, 0x3a43a2\nMOV             R0, R4; this                                           ; +0x9c, 0x3a43a4\nMOV             R1, R5; GameObject *                                   ; +0x9e, 0x3a43a6\nBL              _ZN8EditorUI18shouldDeleteObjectEP10GameObject; EditorUI::shouldDeleteObject(GameObject *) ; +0xa0, 0x3a43a8\nCMP             R0, #0                                                 ; +0xa4, 0x3a43ac\nBNE.W           loc_3A44F4                                             ; +0xa6, 0x3a43ae\nADDS            R6, #1                                                 ; +0xaa, 0x3a43b2\nCMP             R6, R9                                                 ; +0xac, 0x3a43b4\nBGE             loc_3A43C8                                             ; +0xae, 0x3a43b6\nMOV             R0, R4; this                                           ; +0xb0, 0x3a43b8\nMOV             R1, R8; cocos2d::CCArray *                             ; +0xb2, 0x3a43ba\nMOVS            R2, #1; bool                                           ; +0xb4, 0x3a43bc\nBL              _ZN8EditorUI15getCycledObjectEPN7cocos2d7CCArrayEb; EditorUI::getCycledObject(cocos2d::CCArray *,bool) ; +0xb6, 0x3a43be\nMOV             R5, R0                                                 ; +0xba, 0x3a43c2\nCMP             R0, #0                                                 ; +0xbc, 0x3a43c4\nBNE             loc_3A43A4                                             ; +0xbe, 0x3a43c6\nMOVS            R5, #0                                                 ; +0xc0, 0x3a43c8\nLDRB.W          R3, [R4,#0x247]                                        ; +0xc2, 0x3a43ca\nCMP             R3, #0                                                 ; +0xc6, 0x3a43ce\nBEQ             loc_3A4476                                             ; +0xc8, 0x3a43d0\nLDRB.W          R3, [R4,#0x248]                                        ; +0xca, 0x3a43d2\nCMP             R3, #0                                                 ; +0xce, 0x3a43d6\nBNE             loc_3A447A                                             ; +0xd0, 0x3a43d8\nCMP             R5, #0                                                 ; +0xd2, 0x3a43da\nBEQ             loc_3A447C                                             ; +0xd4, 0x3a43dc\nBL              _ZN7cocos2d12CCDictionary6createEv; cocos2d::CCDictionary::create(void) ; +0xd6, 0x3a43de\nLDR.W           R3, [R4,#0x338]                                        ; +0xda, 0x3a43e2\nMOV             R9, R0                                                 ; +0xde, 0x3a43e6\nCBNZ            R3, loc_3A43F8                                         ; +0xe0, 0x3a43e8\nMOV             R0, R9; this                                           ; +0xe2, 0x3a43ea\nMOV.W           R10, #0                                                ; +0xe4, 0x3a43ec\nBL              _ZN7cocos2d12CCDictionary7allKeysEv; cocos2d::CCDictionary::allKeys(void) ; +0xe8, 0x3a43f0\nMOV             R11, R0                                                ; +0xec, 0x3a43f4\nB               loc_3A444E                                             ; +0xee, 0x3a43f6\nLDR             R2, [R3,#0x34]                                         ; +0xf0, 0x3a43f8\nLDR             R3, [R2]                                               ; +0xf2, 0x3a43fa\nCMP             R3, #0                                                 ; +0xf4, 0x3a43fc\nBEQ             loc_3A43EA                                             ; +0xf6, 0x3a43fe\nADD.W           R3, R3, #0x40000000                                    ; +0xf8, 0x3a4400\nLDR             R6, [R2,#0xC]                                          ; +0xfc, 0x3a4404\nSUBS            R3, #1                                                 ; +0xfe, 0x3a4406\nADD.W           R8, R6, R3,LSL#2                                       ; +0x100, 0x3a4408\nCMP             R6, R8                                                 ; +0x104, 0x3a440c\nBHI             loc_3A43EA                                             ; +0x106, 0x3a440e\nLDR.W           R10, [R6],#4                                           ; +0x108, 0x3a4410\nCMP.W           R10, #0                                                ; +0x10c, 0x3a4414\nBNE.W           loc_3A452A                                             ; +0x110, 0x3a4418\nB               loc_3A43EA                                             ; +0x114, 0x3a441c\nMOV             R1, R6; unsigned int                                   ; +0x116, 0x3a441e\nMOV             R0, R8; this                                           ; +0x118, 0x3a4420\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x11a, 0x3a4422\nMOV             R9, R0                                                 ; +0x11e, 0x3a4426\nLDR.W           R0, [R4,#0x338]; this                                  ; +0x120, 0x3a4428\nMOV             R1, R9; cocos2d::CCObject *                            ; +0x124, 0x3a442c\nBL              _ZNK7cocos2d7CCArray14containsObjectEPNS_8CCObjectE; cocos2d::CCArray::containsObject(cocos2d::CCObject *) ; +0x126, 0x3a442e\nCBNZ            R0, loc_3A443E                                         ; +0x12a, 0x3a4432\nLDR.W           R0, [R4,#0x338]; this                                  ; +0x12c, 0x3a4434\nMOV             R1, R9; cocos2d::CCObject *                            ; +0x130, 0x3a4438\nBL              _ZN7cocos2d7CCArray9addObjectEPNS_8CCObjectE; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x132, 0x3a443a\nADDS            R6, #1                                                 ; +0x136, 0x3a443e\nMOV             R0, R8; this                                           ; +0x138, 0x3a4440\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x13a, 0x3a4442\nCMP             R6, R0                                                 ; +0x13e, 0x3a4446\nBCC             loc_3A441E                                             ; +0x140, 0x3a4448\nADD.W           R10, R10, #1                                           ; +0x142, 0x3a444a\nMOV             R0, R11; this                                          ; +0x146, 0x3a444e\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x148, 0x3a4450\nCMP             R10, R0                                                ; +0x14c, 0x3a4454\nBCS             loc_3A447C                                             ; +0x14e, 0x3a4456\nMOV             R1, R10; unsigned int                                  ; +0x150, 0x3a4458\nMOV             R0, R11; this                                          ; +0x152, 0x3a445a\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x154, 0x3a445c\nMOV             R3, R0                                                 ; +0x158, 0x3a4460\nLDR.W           R0, [R4,#0x340]; this                                  ; +0x15a, 0x3a4462\nLDR             R1, [R3,#0x34]; int                                    ; +0x15e, 0x3a4466\nBL              _ZN15GJBaseGameLayer14getStickyGroupEi; GJBaseGameLayer::getStickyGroup(int) ; +0x160, 0x3a4468\nMOV             R8, R0                                                 ; +0x164, 0x3a446c\nCMP             R0, #0                                                 ; +0x166, 0x3a446e\nBEQ             loc_3A444A                                             ; +0x168, 0x3a4470\nMOVS            R6, #0                                                 ; +0x16a, 0x3a4472\nB               loc_3A4440                                             ; +0x16c, 0x3a4474\nMOV             R5, R3                                                 ; +0x16e, 0x3a4476\nB               loc_3A447C                                             ; +0x170, 0x3a4478\nMOVS            R5, #0                                                 ; +0x172, 0x3a447a\nLDR.W           R3, [R4,#0x338]                                        ; +0x174, 0x3a447c\nCBNZ            R3, loc_3A449C                                         ; +0x178, 0x3a4480\nCBZ             R5, loc_3A44C8                                         ; +0x17a, 0x3a4482\nLDR.W           R0, [R4,#0x338]                                        ; +0x17c, 0x3a4484\nMOVS            R1, #4                                                 ; +0x180, 0x3a4488\nBL              _ZN10UndoObject15createWithArrayEPN7cocos2d7CCArrayE11UndoCommand; UndoObject::createWithArray(cocos2d::CCArray *,UndoCommand) ; +0x182, 0x3a448a\nMOVS            R2, #0; bool                                           ; +0x186, 0x3a448e\nMOV             R1, R0; UndoObject *                                   ; +0x188, 0x3a4490\nLDR.W           R0, [R4,#0x340]; this                                  ; +0x18a, 0x3a4492\nBL              _ZN16LevelEditorLayer13addToUndoListEP10UndoObjectb; LevelEditorLayer::addToUndoList(UndoObject *,bool) ; +0x18e, 0x3a4496\nB               loc_3A44C8                                             ; +0x192, 0x3a449a\nLDR             R3, [R3,#0x34]                                         ; +0x194, 0x3a449c\nLDR             R6, [R3]                                               ; +0x196, 0x3a449e\nCMP             R6, #0                                                 ; +0x198, 0x3a44a0\nBEQ             loc_3A4482                                             ; +0x19a, 0x3a44a2\nADD.W           R6, R6, #0x40000000                                    ; +0x19c, 0x3a44a4\nLDR             R3, [R3,#0xC]                                          ; +0x1a0, 0x3a44a8\nSUBS            R6, #1                                                 ; +0x1a2, 0x3a44aa\nADD.W           R6, R3, R6,LSL#2                                       ; +0x1a4, 0x3a44ac\nMOV             R8, R3                                                 ; +0x1a8, 0x3a44b0\nCMP             R8, R6                                                 ; +0x1aa, 0x3a44b2\nBHI             loc_3A4482                                             ; +0x1ac, 0x3a44b4\nLDR.W           R1, [R8],#4; GameObject *                              ; +0x1ae, 0x3a44b6\nCMP             R1, #0                                                 ; +0x1b2, 0x3a44ba\nBEQ             loc_3A4482                                             ; +0x1b4, 0x3a44bc\nMOV             R0, R4; this                                           ; +0x1b6, 0x3a44be\nMOV             R2, R5; bool                                           ; +0x1b8, 0x3a44c0\nBL              _ZN8EditorUI12deleteObjectEP10GameObjectb; EditorUI::deleteObject(GameObject *,bool) ; +0x1ba, 0x3a44c2\nB               loc_3A44B2                                             ; +0x1be, 0x3a44c6\nLDR.W           R0, [R4,#0x338]; this                                  ; +0x1c0, 0x3a44c8\nBL              _ZN7cocos2d7CCArray16removeAllObjectsEv; cocos2d::CCArray::removeAllObjects(void) ; +0x1c4, 0x3a44cc\nMOV             R0, R4; this                                           ; +0x1c8, 0x3a44d0\nBL              _ZN8EditorUI23updateSpecialUIElementsEv; EditorUI::updateSpecialUIElements(void) ; +0x1ca, 0x3a44d2\nMOV             R0, R4; this                                           ; +0x1ce, 0x3a44d6\nBL              _ZN8EditorUI20tryUpdateTimeMarkersEv; EditorUI::tryUpdateTimeMarkers(void) ; +0x1d0, 0x3a44d8\nLDR             R2, [SP,#0x14+var_8]                                   ; +0x1d4, 0x3a44dc\nLDR             R3, [R7]                                               ; +0x1d6, 0x3a44de\nCMP             R2, R3                                                 ; +0x1d8, 0x3a44e0\nBEQ             loc_3A454E                                             ; +0x1da, 0x3a44e2\nBLX             __stack_chk_fail                                       ; +0x1dc, 0x3a44e4\nMOV             R0, R8; this                                           ; +0x1e0, 0x3a44e8\nMOVS            R6, #0                                                 ; +0x1e2, 0x3a44ea\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x1e4, 0x3a44ec\nMOV             R9, R0                                                 ; +0x1e8, 0x3a44f0\nB               loc_3A43B4                                             ; +0x1ea, 0x3a44f2\nLDR.W           R2, [R5,#0x374]                                        ; +0x1ec, 0x3a44f4\nMOVW            R3, #0x2EB                                             ; +0x1f0, 0x3a44f8\nCMP             R2, R3                                                 ; +0x1f4, 0x3a44fc\nBNE             loc_3A4506                                             ; +0x1f6, 0x3a44fe\nMOV             R0, R4; this                                           ; +0x1f8, 0x3a4500\nBL              _ZN8EditorUI21deselectTargetPortalsEv; EditorUI::deselectTargetPortals(void) ; +0x1fa, 0x3a4502\nMOV             R1, R5; cocos2d::CCObject *                            ; +0x1fe, 0x3a4506\nLDR.W           R0, [R4,#0x338]; this                                  ; +0x200, 0x3a4508\nBL              _ZN7cocos2d7CCArray9addObjectEPNS_8CCObjectE; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x204, 0x3a450c\nLDR.W           R5, [R5,#0x2DC]                                        ; +0x208, 0x3a4510\nCMP             R5, #0                                                 ; +0x20c, 0x3a4514\nITE LE                                                                 ; +0x20e, 0x3a4516\nMOVLE           R5, #0                                                 ; +0x210, 0x3a4518\nMOVGT           R5, #1                                                 ; +0x212, 0x3a451a\nB               loc_3A43CA                                             ; +0x214, 0x3a451c\nMOV             R0, R4; this                                           ; +0x216, 0x3a451e\nMOV.W           R10, #1                                                ; +0x218, 0x3a4520\nBL              _ZN8EditorUI21deselectTargetPortalsEv; EditorUI::deselectTargetPortals(void) ; +0x21c, 0x3a4524\nB               loc_3A4388                                             ; +0x220, 0x3a4528\nLDR.W           R1, [R10,#0x2DC]; int                                  ; +0x222, 0x3a452a\nCMP             R1, #0                                                 ; +0x226, 0x3a452e\nBLE.W           loc_3A440C                                             ; +0x228, 0x3a4530\nMOV             R0, R9; this                                           ; +0x22c, 0x3a4534\nBL              _ZN7cocos2d12CCDictionary12objectForKeyEi; cocos2d::CCDictionary::objectForKey(int) ; +0x22e, 0x3a4536\nCMP             R0, #0                                                 ; +0x232, 0x3a453a\nBNE.W           loc_3A440C                                             ; +0x234, 0x3a453c\nMOV             R0, R9; this                                           ; +0x238, 0x3a4540\nMOV             R1, R10; cocos2d::CCObject *                           ; +0x23a, 0x3a4542\nLDR.W           R2, [R10,#0x2DC]; int                                  ; +0x23c, 0x3a4544\nBL              _ZN7cocos2d12CCDictionary9setObjectEPNS_8CCObjectEi; cocos2d::CCDictionary::setObject(cocos2d::CCObject *,int) ; +0x240, 0x3a4548\nB               loc_3A440C                                             ; +0x244, 0x3a454c\nADD             SP, SP, #0x14                                          ; +0x246, 0x3a454e\nPOP.W           {R4-R11,PC}                                            ; +0x248, 0x3a4550", "xrefs": ["EditorUI::clickOnPosition @ 0x3a4a66"], "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"}