{"type": "func", "start": 7292356, "end": 7293174, "name": "EditorUI::selectObjects", "pseudocode": "// \n// EditorUI::selectObjects from 0x6f45c4 to 0x6f48f6 (818 bytes)\n// \n// 13 xrefs:\n// > LevelEditorLayer::breakApartTextObject @ 0x46ed0c\n// > LevelEditorLayer::handleAction @ 0x46ef6a\n// > LevelEditorLayer::handleAction @ 0x46f064\n// > EditorUI::createSmartObjectsFromType @ 0x482dfc\n// > EditorUI::createNewKeyframeAnim @ 0x483048\n// > EditorUI::createSmartObjectsFromTemplate @ 0x4880f8\n// > SetupKeyframePopup::onCustomButton @ 0x6af15e\n// > SetupKeyframePopup::onCustomButton @ 0x6af418\n// > EditorUI::ccTouchEnded @ 0x6f0ce6\n// > EditorUI::ccTouchEnded @ 0x6f0de8\n// > EditorUI::selectObject @ 0x6f45ba\n// > EditorUI::processSelectObjects @ 0x6f496a\n// > EditorUI::changeSelectedObjects @ 0x6f4b52\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:57:38 +0000\n// \n\nGameManager *__fastcall EditorUI::selectObjects(GameManager *this, cocos2d::CCArray *a2, unsigned int a3)\n{\n  GameManager *v3; // r4\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; // r8\n  GameManager *v13; // r0\n  int v14; // r0\n  GJSpriteColor *v15; // r7\n  unsigned int v16; // r7\n  GameObject *v17; // r0\n  cocos2d::CCObject *v18; // r1\n  GameObject *v19; // r8\n  unsigned int v20; // r6\n  cocos2d::CCObject *v21; // r9\n  cocos2d::CCNode *v22; // r7\n  int *v23; // r11\n  cocos2d::CCDictionary *v24; // r0\n  int v25; // r3\n  int *v26; // r0\n  GameObject *v27; // r5\n  int v28; // 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  v3 = this;\n  if ( a2 )\n  {\n    this = (GameManager *)cocos2d::CCArray::count(a2);\n    if ( this )\n    {\n      if ( a3 )\n        goto LABEL_9;\n      v6 = (GameManager *)GameManager::sharedState(this);\n      this = (GameManager *)GameManager::getGameVariable(v6, \"0064\");\n      if ( !this )\n        goto LABEL_9;\n      v7 = (GameManager *)GameManager::sharedState(this);\n      this = (GameManager *)GameManager::getIntGameVariable(v7, \"0005\");\n      if ( this != (GameManager *)((char *)&dword_0 + 3) )\n        goto LABEL_9;\n      v8 = (GameManager *)GameManager::sharedState((GameManager *)((char *)&dword_0 + 3));\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) + 892) == IntGameVariable )\n          ++v9;\n        else\n          cocos2d::CCArray::removeObjectAtIndex(a2, v9, 1);\n      }\n      this = (GameManager *)cocos2d::CCArray::count(a2);\n      if ( this )\n      {\nLABEL_9:\n        v11 = (GameManager *)GameManager::sharedState(this);\n        this = (GameManager *)GameManager::getIntGameVariable(v11, \"0133\");\n        v12 = (int)this;\n        if ( a3 )\n          goto LABEL_20;\n        if ( !this )\n          goto LABEL_20;\n        v16 = 0;\n        while ( v16 < cocos2d::CCArray::count(a2) )\n        {\n          v17 = (GameObject *)cocos2d::CCArray::objectAtIndex(a2, v16);\n          if ( GameObject::belongsToGroup(v17, v12) )\n            ++v16;\n          else\n            cocos2d::CCArray::removeObjectAtIndex(a2, v16, 1);\n        }\n        this = (GameManager *)cocos2d::CCArray::count(a2);\n        if ( this )\n        {\nLABEL_20:\n          v13 = (GameManager *)GameManager::sharedState(this);\n          v14 = GameManager::getIntGameVariable(v13, \"0139\");\n          v15 = (GJSpriteColor *)v14;\n          if ( a3 || !v14 )\n            goto LABEL_21;\n          while ( a3 < cocos2d::CCArray::count(a2) )\n          {\n            v19 = (GameObject *)cocos2d::CCArray::objectAtIndex(a2, a3);\n            if ( GameObject::getMainColorMode(v19) == v15 || GameObject::getSecondaryColorMode(v19) == v15 )\n              ++a3;\n            else\n              cocos2d::CCArray::removeObjectAtIndex(a2, a3, 1);\n          }\n          this = (GameManager *)cocos2d::CCArray::count(a2);\n          if ( this )\n          {\nLABEL_21:\n            cocos2d::CCNode::stopActionByTag(v3, 124);\n            v18 = *((cocos2d::CCObject **)v3 + 249);\n            if ( v18 && !cocos2d::CCArray::containsObject(a2, v18) )\n            {\n              if ( cocos2d::CCArray::count(*((cocos2d::CCArray **)v3 + 167)) )\n              {\n                cocos2d::CCArray::addObject(a2, *((cocos2d::CCObject **)v3 + 249));\n              }\n              else\n              {\n                cocos2d::CCArray::addObject(*((cocos2d::CCArray **)v3 + 167), *((cocos2d::CCObject **)v3 + 249));\n                (*(void (__fastcall **)(_DWORD, int))(**((_DWORD **)v3 + 249) + 764))(*((_DWORD *)v3 + 249), 65280);\n              }\n              *((_BYTE *)v3 + 588) = 1;\n            }\n            v20 = 0;\n            v21 = nullptr;\n            v22 = nullptr;\n            *((_DWORD *)v3 + 249) = 0;\n            while ( v20 < cocos2d::CCArray::count(a2) )\n            {\n              v23 = (int *)cocos2d::CCArray::objectAtIndex(a2, v20);\n              if ( !cocos2d::CCArray::containsObject(*((cocos2d::CCArray **)v3 + 167), (cocos2d::CCObject *)v23) )\n              {\n                cocos2d::CCArray::addObject(*((cocos2d::CCArray **)v3 + 167), (cocos2d::CCObject *)v23);\n                v24 = (cocos2d::CCDictionary *)(*(int (__fastcall **)(int *, int))(*v23 + 764))(v23, 65280);\n                v25 = *((unsigned __int8 *)v3 + 643);\n                *((_BYTE *)v3 + 588) = 1;\n                if ( v25 )\n                {\n                  if ( !*((_BYTE *)v3 + 644) && v23[185] > 0 )\n                  {\n                    if ( !v22 )\n                    {\n                      v22 = (cocos2d::CCNode *)cocos2d::CCDictionary::create(v24);\n                      v21 = (cocos2d::CCObject *)cocos2d::CCNode::create(v22);\n                    }\n                    cocos2d::CCDictionary::setObject(v22, v21, v23[185]);\n                  }\n                }\n              }\n              ++v20;\n            }\n            if ( cocos2d::CCArray::count(a2) == 1 && cocos2d::CCArray::count(*((cocos2d::CCArray **)v3 + 167)) == 1 )\n            {\n              v26 = (int *)cocos2d::CCArray::objectAtIndex(a2, 0);\n              v27 = (GameObject *)v26;\n              if ( !*((_BYTE *)v3 + 643)\n                || *((_BYTE *)v3 + 644)\n                || (v28 = v26[185], v28 <= 0)\n                || (StickyGroup = (cocos2d::CCArray *)GJBaseGameLayer::getStickyGroup(\n                                                        *((cocos2d::CCDictionary ***)v3 + 236),\n                                                        v28)) == nullptr\n                || cocos2d::CCArray::count(StickyGroup) <= 1u )\n              {\n                EditorUI::selectObject(v3, v27, 0);\n              }\n            }\n            if ( cocos2d::CCArray::count(*((cocos2d::CCArray **)v3 + 167)) && v22 )\n            {\n              *((_BYTE *)v3 + 1006) = 1;\n              v30 = 0;\n              v31 = (cocos2d::CCArray *)cocos2d::CCDictionary::allKeys(v22);\n              while ( v30 < cocos2d::CCArray::count(v31) )\n              {\n                v32 = cocos2d::CCArray::objectAtIndex(v31, v30);\n                v33 = (cocos2d::CCArray *)GJBaseGameLayer::getStickyGroup(\n                                            *((cocos2d::CCDictionary ***)v3 + 236),\n                                            *(_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(*((cocos2d::CCArray **)v3 + 167), v35) )\n                    {\n                      cocos2d::CCArray::addObject(*((cocos2d::CCArray **)v3 + 167), v35);\n                      (*(void (__fastcall **)(cocos2d::CCObject *, int))(*(_DWORD *)v35 + 764))(v35, 65280);\n                    }\n                  }\n                }\n                ++v30;\n              }\n            }\n            return EditorUI::checkLiveColorSelect(v3);\n          }\n        }\n      }\n    }\n  }\n  return this;\n}", "assembly": "; \n; EditorUI::selectObjects from 0x6f45c4 to 0x6f48f6 (818 bytes)\n; \n; 13 xrefs:\n; > LevelEditorLayer::breakApartTextObject @ 0x46ed0c\n; > LevelEditorLayer::handleAction @ 0x46ef6a\n; > LevelEditorLayer::handleAction @ 0x46f064\n; > EditorUI::createSmartObjectsFromType @ 0x482dfc\n; > EditorUI::createNewKeyframeAnim @ 0x483048\n; > EditorUI::createSmartObjectsFromTemplate @ 0x4880f8\n; > SetupKeyframePopup::onCustomButton @ 0x6af15e\n; > SetupKeyframePopup::onCustomButton @ 0x6af418\n; > EditorUI::ccTouchEnded @ 0x6f0ce6\n; > EditorUI::ccTouchEnded @ 0x6f0de8\n; > EditorUI::selectObject @ 0x6f45ba\n; > EditorUI::processSelectObjects @ 0x6f496a\n; > EditorUI::changeSelectedObjects @ 0x6f4b52\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:57:38 +0000\n; \nPUSH.W          {R0-R2,R4-R11,LR}                                      ; +0x0, 0x6f45c4\nMOV             R4, R0                                                 ; +0x4, 0x6f45c8\nMOV             R6, R2                                                 ; +0x6, 0x6f45ca\nMOV             R5, R1                                                 ; +0x8, 0x6f45cc\nCMP             R1, #0                                                 ; +0xa, 0x6f45ce\nBEQ.W           loc_6F48F0                                             ; +0xc, 0x6f45d0\nMOV             R0, R1; this                                           ; +0x10, 0x6f45d4\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x12, 0x6f45d6\nCMP             R0, #0                                                 ; +0x16, 0x6f45da\nBEQ.W           loc_6F48F0                                             ; +0x18, 0x6f45dc\nCBNZ            R6, loc_6F4628                                         ; +0x1c, 0x6f45e0\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x1e, 0x6f45e2\nLDR             R1, =(a0064 - 0x6F45EC); \"0064\"                        ; +0x22, 0x6f45e6\nADD             R1, PC; \"0064\"                                         ; +0x24, 0x6f45e8\nBL              _ZN11GameManager15getGameVariableEPKc; GameManager::getGameVariable(char const*) ; +0x26, 0x6f45ea\nCBZ             R0, loc_6F4628                                         ; +0x2a, 0x6f45ee\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x2c, 0x6f45f0\nLDR             R1, =(a0005 - 0x6F45FA); \"0005\"                        ; +0x30, 0x6f45f4\nADD             R1, PC; \"0005\"                                         ; +0x32, 0x6f45f6\nBL              _ZN11GameManager18getIntGameVariableEPKc; GameManager::getIntGameVariable(char const*) ; +0x34, 0x6f45f8\nCMP             R0, #3                                                 ; +0x38, 0x6f45fc\nBNE             loc_6F4628                                             ; +0x3a, 0x6f45fe\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x3c, 0x6f4600\nLDR             R1, =(a0006 - 0x6F460C); \"0006\"                        ; +0x40, 0x6f4604\nMOV             R7, R6                                                 ; +0x42, 0x6f4606\nADD             R1, PC; \"0006\"                                         ; +0x44, 0x6f4608\nBL              _ZN11GameManager18getIntGameVariableEPKc; GameManager::getIntGameVariable(char const*) ; +0x46, 0x6f460a\nMOV             R8, R0                                                 ; +0x4a, 0x6f460e\nMOV             R0, R5; this                                           ; +0x4c, 0x6f4610\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x4e, 0x6f4612\nCMP             R7, R0                                                 ; +0x52, 0x6f4616\nMOV             R0, R5; this                                           ; +0x54, 0x6f4618\nBCC.W           loc_6F48AE                                             ; +0x56, 0x6f461a\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x5a, 0x6f461e\nCMP             R0, #0                                                 ; +0x5e, 0x6f4622\nBEQ.W           loc_6F48F0                                             ; +0x60, 0x6f4624\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x64, 0x6f4628\nLDR             R1, =(a0133 - 0x6F4632); \"0133\"                        ; +0x68, 0x6f462c\nADD             R1, PC; \"0133\"                                         ; +0x6a, 0x6f462e\nBL              _ZN11GameManager18getIntGameVariableEPKc; GameManager::getIntGameVariable(char const*) ; +0x6c, 0x6f4630\nMOV             R8, R0                                                 ; +0x70, 0x6f4634\nCBZ             R6, loc_6F464A                                         ; +0x72, 0x6f4636\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x74, 0x6f4638\nLDR             R1, =(a0139 - 0x6F4642); \"0139\"                        ; +0x78, 0x6f463c\nADD             R1, PC; \"0139\"                                         ; +0x7a, 0x6f463e\nBL              _ZN11GameManager18getIntGameVariableEPKc; GameManager::getIntGameVariable(char const*) ; +0x7c, 0x6f4640\nMOV             R7, R0                                                 ; +0x80, 0x6f4644\nCBZ             R6, loc_6F4684                                         ; +0x82, 0x6f4646\nB               loc_6F4686                                             ; +0x84, 0x6f4648\nCMP             R0, #0                                                 ; +0x86, 0x6f464a\nBEQ             loc_6F4638                                             ; +0x88, 0x6f464c\nMOV             R7, R6                                                 ; +0x8a, 0x6f464e\nMOV             R0, R5; this                                           ; +0x8c, 0x6f4650\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x8e, 0x6f4652\nCMP             R7, R0                                                 ; +0x92, 0x6f4656\nMOV             R0, R5; this                                           ; +0x94, 0x6f4658\nBCS             loc_6F467A                                             ; +0x96, 0x6f465a\nMOV             R1, R7; unsigned int                                   ; +0x98, 0x6f465c\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x9a, 0x6f465e\nMOV             R1, R8; int                                            ; +0x9e, 0x6f4662\nBL              _ZN10GameObject14belongsToGroupEi; GameObject::belongsToGroup(int) ; +0xa0, 0x6f4664\nCBNZ            R0, loc_6F4676                                         ; +0xa4, 0x6f4668\nMOV             R0, R5; this                                           ; +0xa6, 0x6f466a\nMOV             R1, R7; unsigned int                                   ; +0xa8, 0x6f466c\nMOVS            R2, #1; bool                                           ; +0xaa, 0x6f466e\nBL              _ZN7cocos2d7CCArray19removeObjectAtIndexEjb; cocos2d::CCArray::removeObjectAtIndex(uint,bool) ; +0xac, 0x6f4670\nB               loc_6F4650                                             ; +0xb0, 0x6f4674\nADDS            R7, #1                                                 ; +0xb2, 0x6f4676\nB               loc_6F4650                                             ; +0xb4, 0x6f4678\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0xb6, 0x6f467a\nCMP             R0, #0                                                 ; +0xba, 0x6f467e\nBNE             loc_6F4638                                             ; +0xbc, 0x6f4680\nB               loc_6F48F0                                             ; +0xbe, 0x6f4682\nCBNZ            R0, loc_6F46A8                                         ; +0xc0, 0x6f4684\nMOVS            R1, #0x7C ; '|'; int                                   ; +0xc2, 0x6f4686\nMOV             R0, R4; this                                           ; +0xc4, 0x6f4688\nBL              _ZN7cocos2d6CCNode15stopActionByTagEi; cocos2d::CCNode::stopActionByTag(int) ; +0xc6, 0x6f468a\nLDR.W           R1, [R4,#0x3E4]; cocos2d::CCObject *                   ; +0xca, 0x6f468e\nCBNZ            R1, loc_6F46CE                                         ; +0xce, 0x6f4692\nB               loc_6F471C                                             ; +0xd0, 0x6f4694\nMOV             R1, R6; unsigned int                                   ; +0xd2, 0x6f4696\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0xd4, 0x6f4698\nMOV             R8, R0                                                 ; +0xd8, 0x6f469c\nBL              _ZN10GameObject16getMainColorModeEv; GameObject::getMainColorMode(void) ; +0xda, 0x6f469e\nCMP             R0, R7                                                 ; +0xde, 0x6f46a2\nBNE             loc_6F46B6                                             ; +0xe0, 0x6f46a4\nADDS            R6, #1                                                 ; +0xe2, 0x6f46a6\nMOV             R0, R5; this                                           ; +0xe4, 0x6f46a8\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0xe6, 0x6f46aa\nCMP             R6, R0                                                 ; +0xea, 0x6f46ae\nMOV             R0, R5; this                                           ; +0xec, 0x6f46b0\nBCC             loc_6F4696                                             ; +0xee, 0x6f46b2\nB               loc_6F46C4                                             ; +0xf0, 0x6f46b4\nMOV             R0, R8; this                                           ; +0xf2, 0x6f46b6\nBL              _ZN10GameObject21getSecondaryColorModeEv; GameObject::getSecondaryColorMode(void) ; +0xf4, 0x6f46b8\nCMP             R0, R7                                                 ; +0xf8, 0x6f46bc\nBNE.W           loc_6F48CC                                             ; +0xfa, 0x6f46be\nB               loc_6F46A6                                             ; +0xfe, 0x6f46c2\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x100, 0x6f46c4\nCMP             R0, #0                                                 ; +0x104, 0x6f46c8\nBNE             loc_6F4686                                             ; +0x106, 0x6f46ca\nB               loc_6F48F0                                             ; +0x108, 0x6f46cc\nMOV             R0, R5; this                                           ; +0x10a, 0x6f46ce\nBL              _ZNK7cocos2d7CCArray14containsObjectEPNS_8CCObjectE; cocos2d::CCArray::containsObject(cocos2d::CCObject *) ; +0x10c, 0x6f46d0\nCBNZ            R0, loc_6F471C                                         ; +0x110, 0x6f46d4\nLDR.W           R0, [R4,#0x29C]; this                                  ; +0x112, 0x6f46d6\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x116, 0x6f46da\nMOV             R6, R0                                                 ; +0x11a, 0x6f46de\nCMP             R0, #0                                                 ; +0x11c, 0x6f46e0\nBNE.W           loc_6F48D8                                             ; +0x11e, 0x6f46e2\nLDR.W           R0, [R4,#0x29C]; this                                  ; +0x122, 0x6f46e6\nAND.W           R6, R6, #0xFF000000                                    ; +0x126, 0x6f46ea\nLDR.W           R1, [R4,#0x3E4]; cocos2d::CCObject *                   ; +0x12a, 0x6f46ee\nBL              _ZN7cocos2d7CCArray9addObjectEPNS_8CCObjectE; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x12e, 0x6f46f2\nLDR             R1, =(byte_BF02D4 - 0x6F4700)                          ; +0x132, 0x6f46f6\nLDR.W           R0, [R4,#0x3E4]                                        ; +0x134, 0x6f46f8\nADD             R1, PC; byte_BF02D4                                    ; +0x138, 0x6f46fc\nLDRB            R7, [R1,#(byte_BF02D5 - 0xBF02D4)]                     ; +0x13a, 0x6f46fe\nLDRB            R3, [R1]                                               ; +0x13c, 0x6f4700\nLDRB            R1, [R1,#(byte_BF02D6 - 0xBF02D4)]                     ; +0x13e, 0x6f4702\nLDR             R2, [R0]                                               ; +0x140, 0x6f4704\nORR.W           R3, R3, R7,LSL#8                                       ; +0x142, 0x6f4706\nORR.W           R1, R3, R1,LSL#16                                      ; +0x146, 0x6f470a\nLDR.W           R2, [R2,#0x2FC]                                        ; +0x14a, 0x6f470e\nORRS            R1, R6                                                 ; +0x14e, 0x6f4712\nBLX             R2                                                     ; +0x150, 0x6f4714\nMOVS            R3, #1                                                 ; +0x152, 0x6f4716\nSTRB.W          R3, [R4,#0x24C]                                        ; +0x154, 0x6f4718\nLDR.W           R8, =(byte_BF02D4 - 0x6F472A)                          ; +0x158, 0x6f471c\nMOVS            R6, #0                                                 ; +0x15c, 0x6f4720\nMOV             R9, R6                                                 ; +0x15e, 0x6f4722\nMOV             R7, R6                                                 ; +0x160, 0x6f4724\nADD             R8, PC; byte_BF02D4                                    ; +0x162, 0x6f4726\nMOV.W           R10, #1                                                ; +0x164, 0x6f4728\nSTR.W           R6, [R4,#0x3E4]                                        ; +0x168, 0x6f472c\nMOV             R0, R5; this                                           ; +0x16c, 0x6f4730\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x16e, 0x6f4732\nCMP             R6, R0                                                 ; +0x172, 0x6f4736\nMOV             R0, R5; this                                           ; +0x174, 0x6f4738\nBCS             loc_6F47BA                                             ; +0x176, 0x6f473a\nMOV             R1, R6; unsigned int                                   ; +0x178, 0x6f473c\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x17a, 0x6f473e\nMOV             R11, R0                                                ; +0x17e, 0x6f4742\nLDR.W           R0, [R4,#0x29C]; this                                  ; +0x180, 0x6f4744\nMOV             R1, R11; cocos2d::CCObject *                           ; +0x184, 0x6f4748\nBL              _ZNK7cocos2d7CCArray14containsObjectEPNS_8CCObjectE; cocos2d::CCArray::containsObject(cocos2d::CCObject *) ; +0x186, 0x6f474a\nCBNZ            R0, loc_6F47B6                                         ; +0x18a, 0x6f474e\nSTR             R0, [SP,#0xC+var_8]                                    ; +0x18c, 0x6f4750\nMOV             R1, R11; cocos2d::CCObject *                           ; +0x18e, 0x6f4752\nLDR.W           R0, [R4,#0x29C]; this                                  ; +0x190, 0x6f4754\nBL              _ZN7cocos2d7CCArray9addObjectEPNS_8CCObjectE; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x194, 0x6f4758\nLDRB.W          R1, [R8,#(byte_BF02D5 - 0xBF02D4)]                     ; +0x198, 0x6f475c\nLDRB.W          R3, [R8]                                               ; +0x19c, 0x6f4760\nLDR.W           R0, [R11]                                              ; +0x1a0, 0x6f4764\nORR.W           R3, R3, R1,LSL#8                                       ; +0x1a4, 0x6f4768\nLDRB.W          R1, [R8,#(byte_BF02D6 - 0xBF02D4)]                     ; +0x1a8, 0x6f476c\nLDR             R2, [SP,#0xC+var_8]                                    ; +0x1ac, 0x6f4770\nLDR.W           R12, [R0,#0x2FC]                                       ; +0x1ae, 0x6f4772\nMOV             R0, R11                                                ; +0x1b2, 0x6f4776\nORR.W           R1, R3, R1,LSL#16                                      ; +0x1b4, 0x6f4778\nAND.W           R2, R2, #0xFF000000                                    ; +0x1b8, 0x6f477c\nORRS            R1, R2                                                 ; +0x1bc, 0x6f4780\nBLX             R12                                                    ; +0x1be, 0x6f4782\nLDRB.W          R3, [R4,#0x283]                                        ; +0x1c0, 0x6f4784\nSTRB.W          R10, [R4,#0x24C]                                       ; +0x1c4, 0x6f4788\nCBZ             R3, loc_6F47B6                                         ; +0x1c8, 0x6f478c\nLDRB.W          R3, [R4,#0x284]                                        ; +0x1ca, 0x6f478e\nCBNZ            R3, loc_6F47B6                                         ; +0x1ce, 0x6f4792\nLDR.W           R3, [R11,#0x2E4]                                       ; +0x1d0, 0x6f4794\nCMP             R3, #0                                                 ; +0x1d4, 0x6f4798\nBLE             loc_6F47B6                                             ; +0x1d6, 0x6f479a\nCBNZ            R7, loc_6F47AA                                         ; +0x1d8, 0x6f479c\nBL              _ZN7cocos2d12CCDictionary6createEv; cocos2d::CCDictionary::create(void) ; +0x1da, 0x6f479e\nMOV             R7, R0                                                 ; +0x1de, 0x6f47a2\nBL              _ZN7cocos2d6CCNode6createEv; cocos2d::CCNode::create(void) ; +0x1e0, 0x6f47a4\nMOV             R9, R0                                                 ; +0x1e4, 0x6f47a8\nMOV             R0, R7; this                                           ; +0x1e6, 0x6f47aa\nMOV             R1, R9; cocos2d::CCObject *                            ; +0x1e8, 0x6f47ac\nLDR.W           R2, [R11,#0x2E4]; int                                  ; +0x1ea, 0x6f47ae\nBL              _ZN7cocos2d12CCDictionary9setObjectEPNS_8CCObjectEi; cocos2d::CCDictionary::setObject(cocos2d::CCObject *,int) ; +0x1ee, 0x6f47b2\nADDS            R6, #1                                                 ; +0x1f2, 0x6f47b6\nB               loc_6F4730                                             ; +0x1f4, 0x6f47b8\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x1f6, 0x6f47ba\nCMP             R0, #1                                                 ; +0x1fa, 0x6f47be\nBNE             loc_6F4806                                             ; +0x1fc, 0x6f47c0\nLDR.W           R0, [R4,#0x29C]; this                                  ; +0x1fe, 0x6f47c2\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x202, 0x6f47c6\nCMP             R0, #1                                                 ; +0x206, 0x6f47ca\nBNE             loc_6F4806                                             ; +0x208, 0x6f47cc\nMOV             R0, R5; this                                           ; +0x20a, 0x6f47ce\nMOVS            R1, #0; unsigned int                                   ; +0x20c, 0x6f47d0\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x20e, 0x6f47d2\nLDRB.W          R3, [R4,#0x283]                                        ; +0x212, 0x6f47d6\nMOV             R5, R0                                                 ; +0x216, 0x6f47da\nCMP             R3, #0                                                 ; +0x218, 0x6f47dc\nBEQ.W           loc_6F48E4                                             ; +0x21a, 0x6f47de\nLDRB.W          R3, [R4,#0x284]                                        ; +0x21e, 0x6f47e2\nCMP             R3, #0                                                 ; +0x222, 0x6f47e6\nBNE             loc_6F48E4                                             ; +0x224, 0x6f47e8\nLDR.W           R1, [R5,#0x2E4]; int                                   ; +0x226, 0x6f47ea\nCMP             R1, #0                                                 ; +0x22a, 0x6f47ee\nBLE             loc_6F48E4                                             ; +0x22c, 0x6f47f0\nLDR.W           R0, [R4,#0x3B0]; this                                  ; +0x22e, 0x6f47f2\nBL              _ZN15GJBaseGameLayer14getStickyGroupEi; GJBaseGameLayer::getStickyGroup(int) ; +0x232, 0x6f47f6\nCMP             R0, #0                                                 ; +0x236, 0x6f47fa\nBEQ             loc_6F48E4                                             ; +0x238, 0x6f47fc\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x23a, 0x6f47fe\nCMP             R0, #1                                                 ; +0x23e, 0x6f4802\nBLS             loc_6F48E4                                             ; +0x240, 0x6f4804\nLDR.W           R0, [R4,#0x29C]; this                                  ; +0x242, 0x6f4806\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x246, 0x6f480a\nCBNZ            R0, loc_6F481C                                         ; +0x24a, 0x6f480e\nMOV             R0, R4; this                                           ; +0x24c, 0x6f4810\nADD             SP, SP, #0xC                                           ; +0x24e, 0x6f4812\nPOP.W           {R4-R11,LR}                                            ; +0x250, 0x6f4814\nB.W             _ZN8EditorUI20checkLiveColorSelectEv; EditorUI::checkLiveColorSelect(void) ; +0x254, 0x6f4818\nCMP             R7, #0                                                 ; +0x258, 0x6f481c\nBEQ             loc_6F4810                                             ; +0x25a, 0x6f481e\nMOVS            R3, #1                                                 ; +0x25c, 0x6f4820\nMOV             R0, R7; this                                           ; +0x25e, 0x6f4822\nSTRB.W          R3, [R4,#0x3EE]                                        ; +0x260, 0x6f4824\nMOVS            R5, #0                                                 ; +0x264, 0x6f4828\nBL              _ZN7cocos2d12CCDictionary7allKeysEv; cocos2d::CCDictionary::allKeys(void) ; +0x266, 0x6f482a\nLDR             R7, =(byte_BF02D4 - 0x6F4834)                          ; +0x26a, 0x6f482e\nADD             R7, PC; byte_BF02D4                                    ; +0x26c, 0x6f4830\nMOV             R9, R0                                                 ; +0x26e, 0x6f4832\nMOV             R0, R9; this                                           ; +0x270, 0x6f4834\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x272, 0x6f4836\nCMP             R5, R0                                                 ; +0x276, 0x6f483a\nBCS             loc_6F4810                                             ; +0x278, 0x6f483c\nMOV             R1, R5; unsigned int                                   ; +0x27a, 0x6f483e\nMOV             R0, R9; this                                           ; +0x27c, 0x6f4840\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x27e, 0x6f4842\nMOV             R3, R0                                                 ; +0x282, 0x6f4846\nLDR.W           R0, [R4,#0x3B0]; this                                  ; +0x284, 0x6f4848\nLDR             R1, [R3,#0x34]; int                                    ; +0x288, 0x6f484c\nBL              _ZN15GJBaseGameLayer14getStickyGroupEi; GJBaseGameLayer::getStickyGroup(int) ; +0x28a, 0x6f484e\nMOV             R8, R0                                                 ; +0x28e, 0x6f4852\nCBZ             R0, loc_6F48AA                                         ; +0x290, 0x6f4854\nMOVS            R6, #0                                                 ; +0x292, 0x6f4856\nMOV             R0, R8; this                                           ; +0x294, 0x6f4858\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x296, 0x6f485a\nCMP             R6, R0                                                 ; +0x29a, 0x6f485e\nBCS             loc_6F48AA                                             ; +0x29c, 0x6f4860\nMOV             R1, R6; unsigned int                                   ; +0x29e, 0x6f4862\nMOV             R0, R8; this                                           ; +0x2a0, 0x6f4864\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x2a2, 0x6f4866\nMOV             R11, R0                                                ; +0x2a6, 0x6f486a\nLDR.W           R0, [R4,#0x29C]; this                                  ; +0x2a8, 0x6f486c\nMOV             R1, R11; cocos2d::CCObject *                           ; +0x2ac, 0x6f4870\nBL              _ZNK7cocos2d7CCArray14containsObjectEPNS_8CCObjectE; cocos2d::CCArray::containsObject(cocos2d::CCObject *) ; +0x2ae, 0x6f4872\nMOV             R10, R0                                                ; +0x2b2, 0x6f4876\nCBNZ            R0, loc_6F48A6                                         ; +0x2b4, 0x6f4878\nLDR.W           R0, [R4,#0x29C]; this                                  ; +0x2b6, 0x6f487a\nMOV             R1, R11; cocos2d::CCObject *                           ; +0x2ba, 0x6f487e\nBL              _ZN7cocos2d7CCArray9addObjectEPNS_8CCObjectE; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x2bc, 0x6f4880\nLDRB            R1, [R7,#(byte_BF02D5 - 0xBF02D4)]                     ; +0x2c0, 0x6f4884\nLDRB            R3, [R7]                                               ; +0x2c2, 0x6f4886\nAND.W           R10, R10, #0xFF000000                                  ; +0x2c4, 0x6f4888\nLDR.W           R2, [R11]                                              ; +0x2c8, 0x6f488c\nMOV             R0, R11                                                ; +0x2cc, 0x6f4890\nORR.W           R3, R3, R1,LSL#8                                       ; +0x2ce, 0x6f4892\nLDRB            R1, [R7,#(byte_BF02D6 - 0xBF02D4)]                     ; +0x2d2, 0x6f4896\nLDR.W           R2, [R2,#0x2FC]                                        ; +0x2d4, 0x6f4898\nORR.W           R1, R3, R1,LSL#16                                      ; +0x2d8, 0x6f489c\nORR.W           R1, R10, R1                                            ; +0x2dc, 0x6f48a0\nBLX             R2                                                     ; +0x2e0, 0x6f48a4\nADDS            R6, #1                                                 ; +0x2e2, 0x6f48a6\nB               loc_6F4858                                             ; +0x2e4, 0x6f48a8\nADDS            R5, #1                                                 ; +0x2e6, 0x6f48aa\nB               loc_6F4834                                             ; +0x2e8, 0x6f48ac\nMOV             R1, R7; unsigned int                                   ; +0x2ea, 0x6f48ae\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x2ec, 0x6f48b0\nLDR.W           R3, [R0,#0x37C]                                        ; +0x2f0, 0x6f48b4\nCMP             R3, R8                                                 ; +0x2f4, 0x6f48b8\nBEQ             loc_6F48C8                                             ; +0x2f6, 0x6f48ba\nMOV             R0, R5; this                                           ; +0x2f8, 0x6f48bc\nMOV             R1, R7; unsigned int                                   ; +0x2fa, 0x6f48be\nMOVS            R2, #1; bool                                           ; +0x2fc, 0x6f48c0\nBL              _ZN7cocos2d7CCArray19removeObjectAtIndexEjb; cocos2d::CCArray::removeObjectAtIndex(uint,bool) ; +0x2fe, 0x6f48c2\nB               loc_6F4610                                             ; +0x302, 0x6f48c6\nADDS            R7, #1                                                 ; +0x304, 0x6f48c8\nB               loc_6F4610                                             ; +0x306, 0x6f48ca\nMOV             R0, R5; this                                           ; +0x308, 0x6f48cc\nMOV             R1, R6; unsigned int                                   ; +0x30a, 0x6f48ce\nMOVS            R2, #1; bool                                           ; +0x30c, 0x6f48d0\nBL              _ZN7cocos2d7CCArray19removeObjectAtIndexEjb; cocos2d::CCArray::removeObjectAtIndex(uint,bool) ; +0x30e, 0x6f48d2\nB               loc_6F46A8                                             ; +0x312, 0x6f48d6\nMOV             R0, R5; this                                           ; +0x314, 0x6f48d8\nLDR.W           R1, [R4,#0x3E4]; cocos2d::CCObject *                   ; +0x316, 0x6f48da\nBL              _ZN7cocos2d7CCArray9addObjectEPNS_8CCObjectE; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x31a, 0x6f48de\nB               loc_6F4716                                             ; +0x31e, 0x6f48e2\nMOV             R0, R4; this                                           ; +0x320, 0x6f48e4\nMOV             R1, R5; GameObject *                                   ; +0x322, 0x6f48e6\nMOVS            R2, #0; bool                                           ; +0x324, 0x6f48e8\nBL              _ZN8EditorUI12selectObjectEP10GameObjectb; EditorUI::selectObject(GameObject *,bool) ; +0x326, 0x6f48ea\nB               loc_6F4806                                             ; +0x32a, 0x6f48ee\nADD             SP, SP, #0xC                                           ; +0x32c, 0x6f48f0\nPOP.W           {R4-R11,PC}                                            ; +0x32e, 0x6f48f2", "xrefs": ["LevelEditorLayer::breakApartTextObject @ 0x46ed0c", "LevelEditorLayer::handleAction @ 0x46ef6a", "LevelEditorLayer::handleAction @ 0x46f064", "EditorUI::createSmartObjectsFromType @ 0x482dfc", "EditorUI::createNewKeyframeAnim @ 0x483048", "EditorUI::createSmartObjectsFromTemplate @ 0x4880f8", "SetupKeyframePopup::onCustomButton @ 0x6af15e", "SetupKeyframePopup::onCustomButton @ 0x6af418", "EditorUI::ccTouchEnded @ 0x6f0ce6", "EditorUI::ccTouchEnded @ 0x6f0de8", "EditorUI::selectObject @ 0x6f45ba", "EditorUI::processSelectObjects @ 0x6f496a", "EditorUI::changeSelectedObjects @ 0x6f4b52"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}