{"type": "func", "start": 3813404, "end": 3814222, "name": "EditorUI::selectObjects", "pseudocode": "// \n// EditorUI::selectObjects from 0x3a301c to 0x3a334e (818 bytes)\n// \n// 13 xrefs:\n// > LevelEditorLayer::breakApartTextObject @ 0x37165a\n// > LevelEditorLayer::handleAction @ 0x37171a\n// > LevelEditorLayer::handleAction @ 0x37181a\n// > EditorUI::selectObject @ 0x3a2e7a\n// > EditorUI::createNewKeyframeAnim @ 0x3a352c\n// > EditorUI::changeSelectedObjects @ 0x3a463a\n// > EditorUI::selectObjectsInRect @ 0x3a46c2\n// > EditorUI::processSelectObjects @ 0x3a4732\n// > EditorUI::createSmartObjectsFromType @ 0x3a49e4\n// > EditorUI::createSmartObjectsFromTemplate @ 0x3a52f8\n// > EditorUI::ccTouchEnded @ 0x3a58d2\n// > SetupKeyframePopup::onCustomButton @ 0x5749e2\n// > SetupKeyframePopup::onCustomButton @ 0x574b34\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::selectObjects(EditorUI *a1, cocos2d::CCArray *a2, bool a3)\n{\n  unsigned int v4; // r6\n  GameManager *v6; // r0\n  GameManager *v7; // r0\n  GameManager *v8; // r0\n  unsigned int v9; // r7\n  int IntGameVariable; // r8\n  GameManager *v11; // r0\n  int v12; // r0\n  int v13; // r8\n  GameManager *v14; // r0\n  int v15; // r0\n  int v16; // r7\n  unsigned int v17; // r7\n  GameObject *v18; // r0\n  GameObject *m_selectedObject; // r1\n  GameObject *v20; // r8\n  unsigned int v21; // r6\n  cocos2d::CCNode *v22; // r9\n  cocos2d::CCDictionary *v23; // r7\n  cocos2d::CCObject *v24; // r11\n  _BOOL4 m_stickyControlsEnabled; // r3\n  GameObject *v26; // r0\n  GameObject *v27; // r5\n  int m_linkedGroup; // r1\n  cocos2d::CCArray *StickyGroup; // r0\n  unsigned int v30; // r5\n  cocos2d::CCArray *v31; // r9\n  int v32; // r0\n  cocos2d::CCArray *v33; // r8\n  unsigned int i; // r6\n  cocos2d::CCObject *v35; // r11\n\n  v4 = a3;\n  if ( a2 )\n  {\n    if ( cocos2d::CCArray::count(a2) )\n    {\n      if ( v4 )\n        goto LABEL_9;\n      v6 = GameManager::sharedState();\n      if ( !GameManager::getGameVariable(v6, \"0064\") )\n        goto LABEL_9;\n      v7 = GameManager::sharedState();\n      if ( GameManager::getIntGameVariable(v7, \"0005\") != 3 )\n        goto LABEL_9;\n      v8 = GameManager::sharedState();\n      v9 = 0;\n      IntGameVariable = GameManager::getIntGameVariable(v8, \"0006\");\n      while ( v9 < cocos2d::CCArray::count(a2) )\n      {\n        if ( *(_DWORD *)(cocos2d::CCArray::objectAtIndex(a2, v9) + 884) == IntGameVariable )\n          ++v9;\n        else\n          cocos2d::CCArray::removeObjectAtIndex(a2, v9, 1);\n      }\n      if ( cocos2d::CCArray::count(a2) )\n      {\nLABEL_9:\n        v11 = GameManager::sharedState();\n        v12 = GameManager::getIntGameVariable(v11, \"0133\");\n        v13 = v12;\n        if ( v4 )\n          goto LABEL_20;\n        if ( !v12 )\n          goto LABEL_20;\n        v17 = 0;\n        while ( v17 < cocos2d::CCArray::count(a2) )\n        {\n          v18 = (GameObject *)cocos2d::CCArray::objectAtIndex(a2, v17);\n          if ( GameObject::belongsToGroup(v18, v13) )\n            ++v17;\n          else\n            cocos2d::CCArray::removeObjectAtIndex(a2, v17, 1);\n        }\n        if ( cocos2d::CCArray::count(a2) )\n        {\nLABEL_20:\n          v14 = GameManager::sharedState();\n          v15 = GameManager::getIntGameVariable(v14, \"0139\");\n          v16 = v15;\n          if ( v4 || !v15 )\n            goto LABEL_21;\n          while ( v4 < cocos2d::CCArray::count(a2) )\n          {\n            v20 = (GameObject *)cocos2d::CCArray::objectAtIndex(a2, v4);\n            if ( GameObject::getMainColorMode(v20) == v16 || GameObject::getSecondaryColorMode(v20) == v16 )\n              ++v4;\n            else\n              cocos2d::CCArray::removeObjectAtIndex(a2, v4, 1);\n          }\n          if ( cocos2d::CCArray::count(a2) )\n          {\nLABEL_21:\n            cocos2d::CCNode::stopActionByTag(a1, 124);\n            m_selectedObject = a1->m_selectedObject;\n            if ( m_selectedObject && !cocos2d::CCArray::containsObject(a2, m_selectedObject) )\n            {\n              if ( cocos2d::CCArray::count(a1->m_selectedObjects) )\n              {\n                cocos2d::CCArray::addObject(a2, a1->m_selectedObject);\n              }\n              else\n              {\n                cocos2d::CCArray::addObject(a1->m_selectedObjects, a1->m_selectedObject);\n                ((void (__fastcall *)(GameObject *, int))a1->m_selectedObject->selectObject)(\n                  a1->m_selectedObject,\n                  65280);\n              }\n              a1->m_canActivateControls = 1;\n            }\n            v21 = 0;\n            v22 = nullptr;\n            v23 = nullptr;\n            a1->m_selectedObject = nullptr;\n            while ( v21 < cocos2d::CCArray::count(a2) )\n            {\n              v24 = (cocos2d::CCObject *)cocos2d::CCArray::objectAtIndex(a2, v21);\n              if ( !cocos2d::CCArray::containsObject(a1->m_selectedObjects, v24) )\n              {\n                cocos2d::CCArray::addObject(a1->m_selectedObjects, v24);\n                v24->__vftable[18].setTag(v24, 65280);\n                m_stickyControlsEnabled = a1->m_stickyControlsEnabled;\n                a1->m_canActivateControls = 1;\n                if ( m_stickyControlsEnabled && !a1->m_linkControlsDisabled && (int)v24[14].m_uID > 0 )\n                {\n                  if ( !v23 )\n                  {\n                    v23 = cocos2d::CCDictionary::create();\n                    v22 = cocos2d::CCNode::create();\n                  }\n                  cocos2d::CCDictionary::setObject(v23, v22, v24[14].m_uID);\n                }\n              }\n              ++v21;\n            }\n            if ( cocos2d::CCArray::count(a2) == 1 && cocos2d::CCArray::count(a1->m_selectedObjects) == 1 )\n            {\n              v26 = (GameObject *)cocos2d::CCArray::objectAtIndex(a2, 0);\n              v27 = v26;\n              if ( !a1->m_stickyControlsEnabled\n                || a1->m_linkControlsDisabled\n                || (m_linkedGroup = v26->m_linkedGroup, m_linkedGroup <= 0)\n                || (StickyGroup = GJBaseGameLayer::getStickyGroup(a1->m_editorLayer, m_linkedGroup)) == nullptr\n                || cocos2d::CCArray::count(StickyGroup) <= 1u )\n              {\n                EditorUI::selectObject(a1, v27, 0);\n              }\n            }\n            if ( cocos2d::CCArray::count(a1->m_selectedObjects) && v23 )\n            {\n              a1->m_findSnap = 1;\n              v30 = 0;\n              v31 = cocos2d::CCDictionary::allKeys(v23);\n              while ( v30 < cocos2d::CCArray::count(v31) )\n              {\n                v32 = cocos2d::CCArray::objectAtIndex(v31, v30);\n                v33 = GJBaseGameLayer::getStickyGroup(a1->m_editorLayer, *(_DWORD *)(v32 + 52));\n                if ( v33 )\n                {\n                  for ( i = 0; i < cocos2d::CCArray::count(v33); ++i )\n                  {\n                    v35 = (cocos2d::CCObject *)cocos2d::CCArray::objectAtIndex(v33, i);\n                    if ( !cocos2d::CCArray::containsObject(a1->m_selectedObjects, v35) )\n                    {\n                      cocos2d::CCArray::addObject(a1->m_selectedObjects, v35);\n                      v35->__vftable[18].setTag(v35, 65280);\n                    }\n                  }\n                }\n                ++v30;\n              }\n            }\n            EditorUI::checkLiveColorSelect(a1);\n          }\n        }\n      }\n    }\n  }\n}", "assembly": "; \n; EditorUI::selectObjects from 0x3a301c to 0x3a334e (818 bytes)\n; \n; 13 xrefs:\n; > LevelEditorLayer::breakApartTextObject @ 0x37165a\n; > LevelEditorLayer::handleAction @ 0x37171a\n; > LevelEditorLayer::handleAction @ 0x37181a\n; > EditorUI::selectObject @ 0x3a2e7a\n; > EditorUI::createNewKeyframeAnim @ 0x3a352c\n; > EditorUI::changeSelectedObjects @ 0x3a463a\n; > EditorUI::selectObjectsInRect @ 0x3a46c2\n; > EditorUI::processSelectObjects @ 0x3a4732\n; > EditorUI::createSmartObjectsFromType @ 0x3a49e4\n; > EditorUI::createSmartObjectsFromTemplate @ 0x3a52f8\n; > EditorUI::ccTouchEnded @ 0x3a58d2\n; > SetupKeyframePopup::onCustomButton @ 0x5749e2\n; > SetupKeyframePopup::onCustomButton @ 0x574b34\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          {R0-R2,R4-R11,LR}                                      ; +0x0, 0x3a301c\nMOV             R4, R0                                                 ; +0x4, 0x3a3020\nMOV             R6, R2                                                 ; +0x6, 0x3a3022\nMOV             R5, R1                                                 ; +0x8, 0x3a3024\nCMP             R1, #0                                                 ; +0xa, 0x3a3026\nBEQ.W           loc_3A3348                                             ; +0xc, 0x3a3028\nMOV             R0, R1; this                                           ; +0x10, 0x3a302c\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x12, 0x3a302e\nCMP             R0, #0                                                 ; +0x16, 0x3a3032\nBEQ.W           loc_3A3348                                             ; +0x18, 0x3a3034\nCBNZ            R6, loc_3A3080                                         ; +0x1c, 0x3a3038\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x1e, 0x3a303a\nLDR             R1, =(a0064 - 0x3A3044); \"0064\"                        ; +0x22, 0x3a303e\nADD             R1, PC; \"0064\"                                         ; +0x24, 0x3a3040\nBL              _ZN11GameManager15getGameVariableEPKc; GameManager::getGameVariable(char const*) ; +0x26, 0x3a3042\nCBZ             R0, loc_3A3080                                         ; +0x2a, 0x3a3046\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x2c, 0x3a3048\nLDR             R1, =(a0005 - 0x3A3052); \"0005\"                        ; +0x30, 0x3a304c\nADD             R1, PC; \"0005\"                                         ; +0x32, 0x3a304e\nBL              _ZN11GameManager18getIntGameVariableEPKc; GameManager::getIntGameVariable(char const*) ; +0x34, 0x3a3050\nCMP             R0, #3                                                 ; +0x38, 0x3a3054\nBNE             loc_3A3080                                             ; +0x3a, 0x3a3056\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x3c, 0x3a3058\nLDR             R1, =(a0006 - 0x3A3064); \"0006\"                        ; +0x40, 0x3a305c\nMOV             R7, R6                                                 ; +0x42, 0x3a305e\nADD             R1, PC; \"0006\"                                         ; +0x44, 0x3a3060\nBL              _ZN11GameManager18getIntGameVariableEPKc; GameManager::getIntGameVariable(char const*) ; +0x46, 0x3a3062\nMOV             R8, R0                                                 ; +0x4a, 0x3a3066\nMOV             R0, R5; this                                           ; +0x4c, 0x3a3068\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x4e, 0x3a306a\nCMP             R7, R0                                                 ; +0x52, 0x3a306e\nMOV             R0, R5; this                                           ; +0x54, 0x3a3070\nBCC.W           loc_3A3306                                             ; +0x56, 0x3a3072\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x5a, 0x3a3076\nCMP             R0, #0                                                 ; +0x5e, 0x3a307a\nBEQ.W           loc_3A3348                                             ; +0x60, 0x3a307c\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x64, 0x3a3080\nLDR             R1, =(a0133 - 0x3A308A); \"0133\"                        ; +0x68, 0x3a3084\nADD             R1, PC; \"0133\"                                         ; +0x6a, 0x3a3086\nBL              _ZN11GameManager18getIntGameVariableEPKc; GameManager::getIntGameVariable(char const*) ; +0x6c, 0x3a3088\nMOV             R8, R0                                                 ; +0x70, 0x3a308c\nCBZ             R6, loc_3A30A2                                         ; +0x72, 0x3a308e\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x74, 0x3a3090\nLDR             R1, =(a0139 - 0x3A309A); \"0139\"                        ; +0x78, 0x3a3094\nADD             R1, PC; \"0139\"                                         ; +0x7a, 0x3a3096\nBL              _ZN11GameManager18getIntGameVariableEPKc; GameManager::getIntGameVariable(char const*) ; +0x7c, 0x3a3098\nMOV             R7, R0                                                 ; +0x80, 0x3a309c\nCBZ             R6, loc_3A30DC                                         ; +0x82, 0x3a309e\nB               loc_3A30DE                                             ; +0x84, 0x3a30a0\nCMP             R0, #0                                                 ; +0x86, 0x3a30a2\nBEQ             loc_3A3090                                             ; +0x88, 0x3a30a4\nMOV             R7, R6                                                 ; +0x8a, 0x3a30a6\nMOV             R0, R5; this                                           ; +0x8c, 0x3a30a8\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x8e, 0x3a30aa\nCMP             R7, R0                                                 ; +0x92, 0x3a30ae\nMOV             R0, R5; this                                           ; +0x94, 0x3a30b0\nBCS             loc_3A30D2                                             ; +0x96, 0x3a30b2\nMOV             R1, R7; unsigned int                                   ; +0x98, 0x3a30b4\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x9a, 0x3a30b6\nMOV             R1, R8; int                                            ; +0x9e, 0x3a30ba\nBL              _ZN10GameObject14belongsToGroupEi; GameObject::belongsToGroup(int) ; +0xa0, 0x3a30bc\nCBNZ            R0, loc_3A30CE                                         ; +0xa4, 0x3a30c0\nMOV             R0, R5; this                                           ; +0xa6, 0x3a30c2\nMOV             R1, R7; unsigned int                                   ; +0xa8, 0x3a30c4\nMOVS            R2, #1; bool                                           ; +0xaa, 0x3a30c6\nBL              _ZN7cocos2d7CCArray19removeObjectAtIndexEjb; cocos2d::CCArray::removeObjectAtIndex(uint,bool) ; +0xac, 0x3a30c8\nB               loc_3A30A8                                             ; +0xb0, 0x3a30cc\nADDS            R7, #1                                                 ; +0xb2, 0x3a30ce\nB               loc_3A30A8                                             ; +0xb4, 0x3a30d0\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0xb6, 0x3a30d2\nCMP             R0, #0                                                 ; +0xba, 0x3a30d6\nBNE             loc_3A3090                                             ; +0xbc, 0x3a30d8\nB               loc_3A3348                                             ; +0xbe, 0x3a30da\nCBNZ            R0, loc_3A3100                                         ; +0xc0, 0x3a30dc\nMOVS            R1, #0x7C ; '|'; int                                   ; +0xc2, 0x3a30de\nMOV             R0, R4; this                                           ; +0xc4, 0x3a30e0\nBL              _ZN7cocos2d6CCNode15stopActionByTagEi; cocos2d::CCNode::stopActionByTag(int) ; +0xc6, 0x3a30e2\nLDR.W           R1, [R4,#0x374]; cocos2d::CCObject *                   ; +0xca, 0x3a30e6\nCBNZ            R1, loc_3A3126                                         ; +0xce, 0x3a30ea\nB               loc_3A3174                                             ; +0xd0, 0x3a30ec\nMOV             R1, R6; unsigned int                                   ; +0xd2, 0x3a30ee\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0xd4, 0x3a30f0\nMOV             R8, R0                                                 ; +0xd8, 0x3a30f4\nBL              _ZN10GameObject16getMainColorModeEv; GameObject::getMainColorMode(void) ; +0xda, 0x3a30f6\nCMP             R0, R7                                                 ; +0xde, 0x3a30fa\nBNE             loc_3A310E                                             ; +0xe0, 0x3a30fc\nADDS            R6, #1                                                 ; +0xe2, 0x3a30fe\nMOV             R0, R5; this                                           ; +0xe4, 0x3a3100\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0xe6, 0x3a3102\nCMP             R6, R0                                                 ; +0xea, 0x3a3106\nMOV             R0, R5; this                                           ; +0xec, 0x3a3108\nBCC             loc_3A30EE                                             ; +0xee, 0x3a310a\nB               loc_3A311C                                             ; +0xf0, 0x3a310c\nMOV             R0, R8; this                                           ; +0xf2, 0x3a310e\nBL              _ZN10GameObject21getSecondaryColorModeEv; GameObject::getSecondaryColorMode(void) ; +0xf4, 0x3a3110\nCMP             R0, R7                                                 ; +0xf8, 0x3a3114\nBNE.W           loc_3A3324                                             ; +0xfa, 0x3a3116\nB               loc_3A30FE                                             ; +0xfe, 0x3a311a\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x100, 0x3a311c\nCMP             R0, #0                                                 ; +0x104, 0x3a3120\nBNE             loc_3A30DE                                             ; +0x106, 0x3a3122\nB               loc_3A3348                                             ; +0x108, 0x3a3124\nMOV             R0, R5; this                                           ; +0x10a, 0x3a3126\nBL              _ZNK7cocos2d7CCArray14containsObjectEPNS_8CCObjectE; cocos2d::CCArray::containsObject(cocos2d::CCObject *) ; +0x10c, 0x3a3128\nCBNZ            R0, loc_3A3174                                         ; +0x110, 0x3a312c\nLDR.W           R0, [R4,#0x260]; this                                  ; +0x112, 0x3a312e\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x116, 0x3a3132\nMOV             R6, R0                                                 ; +0x11a, 0x3a3136\nCMP             R0, #0                                                 ; +0x11c, 0x3a3138\nBNE.W           loc_3A3330                                             ; +0x11e, 0x3a313a\nLDR.W           R0, [R4,#0x260]; this                                  ; +0x122, 0x3a313e\nAND.W           R6, R6, #0xFF000000                                    ; +0x126, 0x3a3142\nLDR.W           R1, [R4,#0x374]; cocos2d::CCObject *                   ; +0x12a, 0x3a3146\nBL              _ZN7cocos2d7CCArray9addObjectEPNS_8CCObjectE; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x12e, 0x3a314a\nLDR             R1, =(word_9AA83C - 0x3A3158)                          ; +0x132, 0x3a314e\nLDR.W           R0, [R4,#0x374]                                        ; +0x134, 0x3a3150\nADD             R1, PC; word_9AA83C                                    ; +0x138, 0x3a3154\nLDRB            R7, [R1,#(byte_9AA843 - 0x9AA83C)]                     ; +0x13a, 0x3a3156\nLDRB            R3, [R1,#(byte_9AA842 - 0x9AA83C)]                     ; +0x13c, 0x3a3158\nLDRB            R1, [R1,#(byte_9AA844 - 0x9AA83C)]                     ; +0x13e, 0x3a315a\nLDR             R2, [R0]                                               ; +0x140, 0x3a315c\nORR.W           R3, R3, R7,LSL#8                                       ; +0x142, 0x3a315e\nORR.W           R1, R3, R1,LSL#16                                      ; +0x146, 0x3a3162\nLDR.W           R2, [R2,#0x2F4]                                        ; +0x14a, 0x3a3166\nORRS            R1, R6                                                 ; +0x14e, 0x3a316a\nBLX             R2                                                     ; +0x150, 0x3a316c\nMOVS            R3, #1                                                 ; +0x152, 0x3a316e\nSTRB.W          R3, [R4,#0x210]                                        ; +0x154, 0x3a3170\nLDR.W           R8, =(word_9AA83C - 0x3A3182)                          ; +0x158, 0x3a3174\nMOVS            R6, #0                                                 ; +0x15c, 0x3a3178\nMOV             R9, R6                                                 ; +0x15e, 0x3a317a\nMOV             R7, R6                                                 ; +0x160, 0x3a317c\nADD             R8, PC; word_9AA83C                                    ; +0x162, 0x3a317e\nMOV.W           R10, #1                                                ; +0x164, 0x3a3180\nSTR.W           R6, [R4,#0x374]                                        ; +0x168, 0x3a3184\nMOV             R0, R5; this                                           ; +0x16c, 0x3a3188\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x16e, 0x3a318a\nCMP             R6, R0                                                 ; +0x172, 0x3a318e\nMOV             R0, R5; this                                           ; +0x174, 0x3a3190\nBCS             loc_3A3212                                             ; +0x176, 0x3a3192\nMOV             R1, R6; unsigned int                                   ; +0x178, 0x3a3194\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x17a, 0x3a3196\nMOV             R11, R0                                                ; +0x17e, 0x3a319a\nLDR.W           R0, [R4,#0x260]; this                                  ; +0x180, 0x3a319c\nMOV             R1, R11; cocos2d::CCObject *                           ; +0x184, 0x3a31a0\nBL              _ZNK7cocos2d7CCArray14containsObjectEPNS_8CCObjectE; cocos2d::CCArray::containsObject(cocos2d::CCObject *) ; +0x186, 0x3a31a2\nCBNZ            R0, loc_3A320E                                         ; +0x18a, 0x3a31a6\nSTR             R0, [SP,#0xC+var_8]                                    ; +0x18c, 0x3a31a8\nMOV             R1, R11; cocos2d::CCObject *                           ; +0x18e, 0x3a31aa\nLDR.W           R0, [R4,#0x260]; this                                  ; +0x190, 0x3a31ac\nBL              _ZN7cocos2d7CCArray9addObjectEPNS_8CCObjectE; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x194, 0x3a31b0\nLDRB.W          R1, [R8,#(byte_9AA843 - 0x9AA83C)]                     ; +0x198, 0x3a31b4\nLDRB.W          R3, [R8,#(byte_9AA842 - 0x9AA83C)]                     ; +0x19c, 0x3a31b8\nLDR.W           R0, [R11]                                              ; +0x1a0, 0x3a31bc\nORR.W           R3, R3, R1,LSL#8                                       ; +0x1a4, 0x3a31c0\nLDRB.W          R1, [R8,#(byte_9AA844 - 0x9AA83C)]                     ; +0x1a8, 0x3a31c4\nLDR             R2, [SP,#0xC+var_8]                                    ; +0x1ac, 0x3a31c8\nLDR.W           R12, [R0,#0x2F4]                                       ; +0x1ae, 0x3a31ca\nMOV             R0, R11                                                ; +0x1b2, 0x3a31ce\nORR.W           R1, R3, R1,LSL#16                                      ; +0x1b4, 0x3a31d0\nAND.W           R2, R2, #0xFF000000                                    ; +0x1b8, 0x3a31d4\nORRS            R1, R2                                                 ; +0x1bc, 0x3a31d8\nBLX             R12                                                    ; +0x1be, 0x3a31da\nLDRB.W          R3, [R4,#0x247]                                        ; +0x1c0, 0x3a31dc\nSTRB.W          R10, [R4,#0x210]                                       ; +0x1c4, 0x3a31e0\nCBZ             R3, loc_3A320E                                         ; +0x1c8, 0x3a31e4\nLDRB.W          R3, [R4,#0x248]                                        ; +0x1ca, 0x3a31e6\nCBNZ            R3, loc_3A320E                                         ; +0x1ce, 0x3a31ea\nLDR.W           R3, [R11,#0x2DC]                                       ; +0x1d0, 0x3a31ec\nCMP             R3, #0                                                 ; +0x1d4, 0x3a31f0\nBLE             loc_3A320E                                             ; +0x1d6, 0x3a31f2\nCBNZ            R7, loc_3A3202                                         ; +0x1d8, 0x3a31f4\nBL              _ZN7cocos2d12CCDictionary6createEv; cocos2d::CCDictionary::create(void) ; +0x1da, 0x3a31f6\nMOV             R7, R0                                                 ; +0x1de, 0x3a31fa\nBL              _ZN7cocos2d6CCNode6createEv; cocos2d::CCNode::create(void) ; +0x1e0, 0x3a31fc\nMOV             R9, R0                                                 ; +0x1e4, 0x3a3200\nMOV             R0, R7; this                                           ; +0x1e6, 0x3a3202\nMOV             R1, R9; cocos2d::CCObject *                            ; +0x1e8, 0x3a3204\nLDR.W           R2, [R11,#0x2DC]; int                                  ; +0x1ea, 0x3a3206\nBL              _ZN7cocos2d12CCDictionary9setObjectEPNS_8CCObjectEi; cocos2d::CCDictionary::setObject(cocos2d::CCObject *,int) ; +0x1ee, 0x3a320a\nADDS            R6, #1                                                 ; +0x1f2, 0x3a320e\nB               loc_3A3188                                             ; +0x1f4, 0x3a3210\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x1f6, 0x3a3212\nCMP             R0, #1                                                 ; +0x1fa, 0x3a3216\nBNE             loc_3A325E                                             ; +0x1fc, 0x3a3218\nLDR.W           R0, [R4,#0x260]; this                                  ; +0x1fe, 0x3a321a\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x202, 0x3a321e\nCMP             R0, #1                                                 ; +0x206, 0x3a3222\nBNE             loc_3A325E                                             ; +0x208, 0x3a3224\nMOV             R0, R5; this                                           ; +0x20a, 0x3a3226\nMOVS            R1, #0; unsigned int                                   ; +0x20c, 0x3a3228\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x20e, 0x3a322a\nLDRB.W          R3, [R4,#0x247]                                        ; +0x212, 0x3a322e\nMOV             R5, R0                                                 ; +0x216, 0x3a3232\nCMP             R3, #0                                                 ; +0x218, 0x3a3234\nBEQ.W           loc_3A333C                                             ; +0x21a, 0x3a3236\nLDRB.W          R3, [R4,#0x248]                                        ; +0x21e, 0x3a323a\nCMP             R3, #0                                                 ; +0x222, 0x3a323e\nBNE             loc_3A333C                                             ; +0x224, 0x3a3240\nLDR.W           R1, [R5,#0x2DC]; int                                   ; +0x226, 0x3a3242\nCMP             R1, #0                                                 ; +0x22a, 0x3a3246\nBLE             loc_3A333C                                             ; +0x22c, 0x3a3248\nLDR.W           R0, [R4,#0x340]; this                                  ; +0x22e, 0x3a324a\nBL              _ZN15GJBaseGameLayer14getStickyGroupEi; GJBaseGameLayer::getStickyGroup(int) ; +0x232, 0x3a324e\nCMP             R0, #0                                                 ; +0x236, 0x3a3252\nBEQ             loc_3A333C                                             ; +0x238, 0x3a3254\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x23a, 0x3a3256\nCMP             R0, #1                                                 ; +0x23e, 0x3a325a\nBLS             loc_3A333C                                             ; +0x240, 0x3a325c\nLDR.W           R0, [R4,#0x260]; this                                  ; +0x242, 0x3a325e\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x246, 0x3a3262\nCBNZ            R0, loc_3A3274                                         ; +0x24a, 0x3a3266\nMOV             R0, R4; this                                           ; +0x24c, 0x3a3268\nADD             SP, SP, #0xC                                           ; +0x24e, 0x3a326a\nPOP.W           {R4-R11,LR}                                            ; +0x250, 0x3a326c\nB.W             _ZN8EditorUI20checkLiveColorSelectEv; EditorUI::checkLiveColorSelect(void) ; +0x254, 0x3a3270\nCMP             R7, #0                                                 ; +0x258, 0x3a3274\nBEQ             loc_3A3268                                             ; +0x25a, 0x3a3276\nMOVS            R3, #1                                                 ; +0x25c, 0x3a3278\nMOV             R0, R7; this                                           ; +0x25e, 0x3a327a\nSTRB.W          R3, [R4,#0x37E]                                        ; +0x260, 0x3a327c\nMOVS            R5, #0                                                 ; +0x264, 0x3a3280\nBL              _ZN7cocos2d12CCDictionary7allKeysEv; cocos2d::CCDictionary::allKeys(void) ; +0x266, 0x3a3282\nLDR             R7, =(word_9AA83C - 0x3A328C)                          ; +0x26a, 0x3a3286\nADD             R7, PC; word_9AA83C                                    ; +0x26c, 0x3a3288\nMOV             R9, R0                                                 ; +0x26e, 0x3a328a\nMOV             R0, R9; this                                           ; +0x270, 0x3a328c\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x272, 0x3a328e\nCMP             R5, R0                                                 ; +0x276, 0x3a3292\nBCS             loc_3A3268                                             ; +0x278, 0x3a3294\nMOV             R1, R5; unsigned int                                   ; +0x27a, 0x3a3296\nMOV             R0, R9; this                                           ; +0x27c, 0x3a3298\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x27e, 0x3a329a\nMOV             R3, R0                                                 ; +0x282, 0x3a329e\nLDR.W           R0, [R4,#0x340]; this                                  ; +0x284, 0x3a32a0\nLDR             R1, [R3,#0x34]; int                                    ; +0x288, 0x3a32a4\nBL              _ZN15GJBaseGameLayer14getStickyGroupEi; GJBaseGameLayer::getStickyGroup(int) ; +0x28a, 0x3a32a6\nMOV             R8, R0                                                 ; +0x28e, 0x3a32aa\nCBZ             R0, loc_3A3302                                         ; +0x290, 0x3a32ac\nMOVS            R6, #0                                                 ; +0x292, 0x3a32ae\nMOV             R0, R8; this                                           ; +0x294, 0x3a32b0\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x296, 0x3a32b2\nCMP             R6, R0                                                 ; +0x29a, 0x3a32b6\nBCS             loc_3A3302                                             ; +0x29c, 0x3a32b8\nMOV             R1, R6; unsigned int                                   ; +0x29e, 0x3a32ba\nMOV             R0, R8; this                                           ; +0x2a0, 0x3a32bc\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x2a2, 0x3a32be\nMOV             R11, R0                                                ; +0x2a6, 0x3a32c2\nLDR.W           R0, [R4,#0x260]; this                                  ; +0x2a8, 0x3a32c4\nMOV             R1, R11; cocos2d::CCObject *                           ; +0x2ac, 0x3a32c8\nBL              _ZNK7cocos2d7CCArray14containsObjectEPNS_8CCObjectE; cocos2d::CCArray::containsObject(cocos2d::CCObject *) ; +0x2ae, 0x3a32ca\nMOV             R10, R0                                                ; +0x2b2, 0x3a32ce\nCBNZ            R0, loc_3A32FE                                         ; +0x2b4, 0x3a32d0\nLDR.W           R0, [R4,#0x260]; this                                  ; +0x2b6, 0x3a32d2\nMOV             R1, R11; cocos2d::CCObject *                           ; +0x2ba, 0x3a32d6\nBL              _ZN7cocos2d7CCArray9addObjectEPNS_8CCObjectE; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x2bc, 0x3a32d8\nLDRB            R1, [R7,#(byte_9AA843 - 0x9AA83C)]                     ; +0x2c0, 0x3a32dc\nLDRB            R3, [R7,#(byte_9AA842 - 0x9AA83C)]                     ; +0x2c2, 0x3a32de\nAND.W           R10, R10, #0xFF000000                                  ; +0x2c4, 0x3a32e0\nLDR.W           R2, [R11]                                              ; +0x2c8, 0x3a32e4\nMOV             R0, R11                                                ; +0x2cc, 0x3a32e8\nORR.W           R3, R3, R1,LSL#8                                       ; +0x2ce, 0x3a32ea\nLDRB            R1, [R7,#(byte_9AA844 - 0x9AA83C)]                     ; +0x2d2, 0x3a32ee\nLDR.W           R2, [R2,#0x2F4]                                        ; +0x2d4, 0x3a32f0\nORR.W           R1, R3, R1,LSL#16                                      ; +0x2d8, 0x3a32f4\nORR.W           R1, R10, R1                                            ; +0x2dc, 0x3a32f8\nBLX             R2                                                     ; +0x2e0, 0x3a32fc\nADDS            R6, #1                                                 ; +0x2e2, 0x3a32fe\nB               loc_3A32B0                                             ; +0x2e4, 0x3a3300\nADDS            R5, #1                                                 ; +0x2e6, 0x3a3302\nB               loc_3A328C                                             ; +0x2e8, 0x3a3304\nMOV             R1, R7; unsigned int                                   ; +0x2ea, 0x3a3306\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x2ec, 0x3a3308\nLDR.W           R3, [R0,#0x374]                                        ; +0x2f0, 0x3a330c\nCMP             R3, R8                                                 ; +0x2f4, 0x3a3310\nBEQ             loc_3A3320                                             ; +0x2f6, 0x3a3312\nMOV             R0, R5; this                                           ; +0x2f8, 0x3a3314\nMOV             R1, R7; unsigned int                                   ; +0x2fa, 0x3a3316\nMOVS            R2, #1; bool                                           ; +0x2fc, 0x3a3318\nBL              _ZN7cocos2d7CCArray19removeObjectAtIndexEjb; cocos2d::CCArray::removeObjectAtIndex(uint,bool) ; +0x2fe, 0x3a331a\nB               loc_3A3068                                             ; +0x302, 0x3a331e\nADDS            R7, #1                                                 ; +0x304, 0x3a3320\nB               loc_3A3068                                             ; +0x306, 0x3a3322\nMOV             R0, R5; this                                           ; +0x308, 0x3a3324\nMOV             R1, R6; unsigned int                                   ; +0x30a, 0x3a3326\nMOVS            R2, #1; bool                                           ; +0x30c, 0x3a3328\nBL              _ZN7cocos2d7CCArray19removeObjectAtIndexEjb; cocos2d::CCArray::removeObjectAtIndex(uint,bool) ; +0x30e, 0x3a332a\nB               loc_3A3100                                             ; +0x312, 0x3a332e\nMOV             R0, R5; this                                           ; +0x314, 0x3a3330\nLDR.W           R1, [R4,#0x374]; cocos2d::CCObject *                   ; +0x316, 0x3a3332\nBL              _ZN7cocos2d7CCArray9addObjectEPNS_8CCObjectE; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x31a, 0x3a3336\nB               loc_3A316E                                             ; +0x31e, 0x3a333a\nMOV             R0, R4; this                                           ; +0x320, 0x3a333c\nMOV             R1, R5; GameObject *                                   ; +0x322, 0x3a333e\nMOVS            R2, #0; bool                                           ; +0x324, 0x3a3340\nBL              _ZN8EditorUI12selectObjectEP10GameObjectb; EditorUI::selectObject(GameObject *,bool) ; +0x326, 0x3a3342\nB               loc_3A325E                                             ; +0x32a, 0x3a3346\nADD             SP, SP, #0xC                                           ; +0x32c, 0x3a3348\nPOP.W           {R4-R11,PC}                                            ; +0x32e, 0x3a334a", "xrefs": ["LevelEditorLayer::breakApartTextObject @ 0x37165a", "LevelEditorLayer::handleAction @ 0x37171a", "LevelEditorLayer::handleAction @ 0x37181a", "EditorUI::selectObject @ 0x3a2e7a", "EditorUI::createNewKeyframeAnim @ 0x3a352c", "EditorUI::changeSelectedObjects @ 0x3a463a", "EditorUI::selectObjectsInRect @ 0x3a46c2", "EditorUI::processSelectObjects @ 0x3a4732", "EditorUI::createSmartObjectsFromType @ 0x3a49e4", "EditorUI::createSmartObjectsFromTemplate @ 0x3a52f8", "EditorUI::ccTouchEnded @ 0x3a58d2", "SetupKeyframePopup::onCustomButton @ 0x5749e2", "SetupKeyframePopup::onCustomButton @ 0x574b34"], "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"}