{"type": "func", "start": 3667764, "end": 3668578, "name": "EditorUI::editObjectSpecial", "pseudocode": "// \n// EditorUI::editObjectSpecial from 0x37f734 to 0x37fa62 (814 bytes)\n// \n// 2 xrefs:\n// > EditorUI::editObject2 @ 0x37fa6a\n// > EditorUI::editObject3 @ 0x37fa70\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::editObjectSpecial(EditorUI *a1, int a2)\n{\n  GameObject *m_selectedObject; // r0\n  unsigned int v5; // r0\n  unsigned int i; // r5\n  int v7; // r0\n  int v8; // r6\n  GameObject *v9; // r3\n  cocos2d::CCArray *m_selectedObjects; // r5\n  unsigned int v11; // r6\n  cocos2d::CCObject *v12; // r1\n  SmartGameObject *v13; // r0\n  cocos2d::CCArray *v14; // r1\n  LevelEditorLayer *m_editorLayer; // r3\n  cocos2d::CCArray *v16; // r2\n  void *v17; // r0\n  EffectGameObject *v18; // r0\n  unsigned int j; // r5\n  int v20; // r0\n  GameObject *v21; // r5\n  unsigned int k; // r5\n  int v23; // r0\n  unsigned int m; // r5\n  int v25; // r0\n  EffectGameObject *v26; // r0\n  cocos2d::CCArray *v27; // r1\n  cocos2d::CCArray *v28; // [sp+8h] [bp-10h] BYREF\n  int v29; // [sp+Ch] [bp-Ch] BYREF\n  int v30; // [sp+10h] [bp-8h] BYREF\n\n  v28 = (cocos2d::CCArray *)-1;\n  v29 = -1;\n  v30 = -1;\n  EditorUI::getGroupInfo(a1, a1->m_selectedObject, a1->m_selectedObjects, (int *)&v28, &v29, &v30);\n  m_selectedObject = a1->m_selectedObject;\n  if ( m_selectedObject )\n  {\n    v5 = ((int (__fastcall *)(GameObject *))m_selectedObject->getHasRotateAction)(m_selectedObject);\nLABEL_8:\n    v8 = v5;\n  }\n  else\n  {\n    for ( i = 0; ; ++i )\n    {\n      v5 = cocos2d::CCArray::count(a1->m_selectedObjects);\n      if ( i >= v5 )\n        break;\n      v7 = cocos2d::CCArray::objectAtIndex(a1->m_selectedObjects, i);\n      v5 = (*(int (__fastcall **)(int))(*(_DWORD *)v7 + 860))(v7);\n      if ( !v5 )\n        goto LABEL_8;\n    }\n    v8 = 1;\n  }\n  if ( v28 != (cocos2d::CCArray *)-1 || v29 != -1 )\n  {\n    if ( v29 == 5 )\n    {\nLABEL_18:\n      m_selectedObjects = a1->m_selectedObjects;\n      if ( m_selectedObjects )\n      {\n        v11 = 0;\n        m_selectedObjects = (cocos2d::CCArray *)cocos2d::CCArray::create((cocos2d::CCArray *)v5);\n        while ( v11 < cocos2d::CCArray::count(a1->m_selectedObjects) )\n        {\n          v12 = (cocos2d::CCObject *)cocos2d::CCArray::objectAtIndex(a1->m_selectedObjects, v11);\n          if ( v12[20].m_unknown2 == 5 )\n            cocos2d::CCArray::addObject(m_selectedObjects, v12);\n          ++v11;\n        }\n      }\n      v13 = (SmartGameObject *)a1->m_selectedObject;\n      v14 = m_selectedObjects;\n      goto LABEL_75;\n    }\nLABEL_15:\n    v9 = a1->m_selectedObject;\n    if ( v9 && v9->m_classType == Smart )\n      goto LABEL_18;\n    v5 = EditorUI::arrayContainsClass(a1, a1->m_selectedObjects, 5);\n    if ( v5 )\n      goto LABEL_18;\n    m_editorLayer = a1->m_editorLayer;\n    v16 = v28;\n    if ( m_editorLayer->m_isPlatformer\n      && (v28 == (cocos2d::CCArray *)&stru_69C.st_info || v28 == (cocos2d::CCArray *)((char *)&stru_6CC.st_size + 3)) )\n    {\n      v17 = SetupDashRingPopup::create((DashRingObject *)a1->m_selectedObject, a1->m_selectedObjects);\nLABEL_80:\n      (*(void (__fastcall **)(void *))(*(_DWORD *)v17 + 644))(v17);\n      return;\n    }\n    if ( v28 == (cocos2d::CCArray *)((char *)&stru_B4C.st_size + 3) )\n    {\n      v17 = SetupGradientPopup::create((GradientTriggerObject *)a1->m_selectedObject, a1->m_selectedObjects);\n      goto LABEL_80;\n    }\n    if ( v28 == (cocos2d::CCArray *)&stru_B4C.st_info )\n      return;\n    if ( v28 == (cocos2d::CCArray *)((char *)&stru_80C.st_name + 3) )\n    {\n      v17 = SetupCheckpointPopup::create((CheckpointGameObject *)a1->m_selectedObject, a1->m_selectedObjects);\n      goto LABEL_80;\n    }\n    if ( v28 == (cocos2d::CCArray *)((char *)&stru_2DC.st_shndx + 1)\n      || v28 == (cocos2d::CCArray *)((char *)&stru_B4C.st_size + 2)\n      || v28 == (cocos2d::CCArray *)((char *)&stru_BCC.st_value + 3) )\n    {\n      v17 = SetupTeleportPopup::create(\n              (TeleportPortalObject *)a1->m_selectedObject,\n              a1->m_selectedObjects,\n              (int)v28,\n              m_editorLayer->m_levelSettings->m_platformerMode);\n      goto LABEL_80;\n    }\n    if ( v28 == (cocos2d::CCArray *)((char *)&stru_64C.st_name + 3) )\n    {\n      v17 = SetItemIDLayer::create((EffectGameObject *)a1->m_selectedObject, a1->m_selectedObjects);\n      goto LABEL_80;\n    }\n    if ( v28 != (cocos2d::CCArray *)((char *)&stru_80C.st_value + 1) )\n    {\n      if ( v28 == (cocos2d::CCArray *)&stru_62C.st_shndx )\n      {\n        v17 = SetupObjectTogglePopup::create(\n                (EffectGameObject *)a1->m_selectedObject,\n                a1->m_selectedObjects,\n                m_editorLayer->m_levelSettings->m_platformerMode);\n        goto LABEL_80;\n      }\n      if ( EditorUI::canAllowMultiActivate(a1, a1->m_selectedObject, a1->m_selectedObjects) )\n      {\n        v17 = EditGameObjectPopup::create(\n                (EffectGameObject *)a1->m_selectedObject,\n                a1->m_selectedObjects,\n                a1->m_editorLayer->m_levelSettings->m_platformerMode);\n        goto LABEL_80;\n      }\n      if ( v8 )\n      {\nLABEL_79:\n        v17 = SetupRotatePopup::create((EnhancedGameObject *)a1->m_selectedObject, a1->m_selectedObjects);\n        goto LABEL_80;\n      }\n      v18 = (EffectGameObject *)a1->m_selectedObject;\n      if ( v30 == 30 && a2 != 1 )\n      {\nLABEL_73:\n        v17 = SetupInteractObjectPopup::create(v18, a1->m_selectedObjects);\n        goto LABEL_80;\n      }\n      if ( v18 && ((int (__fastcall *)(EffectGameObject *))v18->getHasSyncedAnimation)(v18) )\n      {\n        v26 = (EffectGameObject *)a1->m_selectedObject;\n        v27 = nullptr;\nLABEL_78:\n        v17 = SetupAnimSettingsPopup::create(v26, v27);\n        goto LABEL_80;\n      }\n      if ( !cocos2d::CCArray::count(a1->m_selectedObjects) )\n        return;\n      if ( a2 != 1 )\n      {\n        for ( j = 0; j < cocos2d::CCArray::count(a1->m_selectedObjects); ++j )\n        {\n          v20 = cocos2d::CCArray::objectAtIndex(a1->m_selectedObjects, j);\n          if ( (*(int (__fastcall **)(int))(*(_DWORD *)v20 + 892))(v20) != 30 )\n            goto LABEL_56;\n        }\n        v18 = (EffectGameObject *)a1->m_selectedObject;\n        goto LABEL_73;\n      }\nLABEL_56:\n      if ( v29 == 5 )\n        goto LABEL_74;\n      v21 = a1->m_selectedObject;\n      if ( !v21 )\n        goto LABEL_60;\n      if ( v21->m_classType == Smart )\n      {\nLABEL_74:\n        v13 = (SmartGameObject *)a1->m_selectedObject;\n        v14 = a1->m_selectedObjects;\nLABEL_75:\n        v17 = SetupSmartBlockLayer::create(v13, v14);\n        goto LABEL_80;\n      }\n      v21 = nullptr;\nLABEL_60:\n      while ( (unsigned int)v21 < cocos2d::CCArray::count(a1->m_selectedObjects) )\n      {\n        if ( *(_DWORD *)(cocos2d::CCArray::objectAtIndex(a1->m_selectedObjects, (unsigned int)v21) + 884) != 2065 )\n        {\n          for ( k = 0; ; ++k )\n          {\n            if ( k >= cocos2d::CCArray::count(a1->m_selectedObjects) )\n            {\n              v26 = (EffectGameObject *)a1->m_selectedObject;\n              v27 = a1->m_selectedObjects;\n              goto LABEL_78;\n            }\n            v23 = cocos2d::CCArray::objectAtIndex(a1->m_selectedObjects, k);\n            if ( !(*(int (__fastcall **)(int))(*(_DWORD *)v23 + 856))(v23) )\n              break;\n          }\n          for ( m = 0; m < cocos2d::CCArray::count(a1->m_selectedObjects); ++m )\n          {\n            v25 = cocos2d::CCArray::objectAtIndex(a1->m_selectedObjects, m);\n            if ( !(*(int (__fastcall **)(int))(*(_DWORD *)v25 + 860))(v25) )\n              return;\n          }\n          goto LABEL_79;\n        }\n        v21 = (GameObject *)((char *)v21 + 1);\n      }\n    }\n    v17 = (void *)CreateParticlePopup::create(\n                    (CreateParticlePopup *)a1->m_selectedObject,\n                    (ParticleGameObject *)a1->m_selectedObjects,\n                    v16);\n    goto LABEL_80;\n  }\n  if ( v30 != -1 || v8 )\n    goto LABEL_15;\n}", "assembly": "; \n; EditorUI::editObjectSpecial from 0x37f734 to 0x37fa62 (814 bytes)\n; \n; 2 xrefs:\n; > EditorUI::editObject2 @ 0x37fa6a\n; > EditorUI::editObject3 @ 0x37fa70\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-R8,LR}                                             ; +0x0, 0x37f734\nSUB             SP, SP, #0x18                                          ; +0x4, 0x37f738\nLDR             R7, =(__stack_chk_guard_ptr - 0x37F744)                ; +0x6, 0x37f73a\nMOV             R4, R0                                                 ; +0x8, 0x37f73c\nMOV             R8, R1                                                 ; +0xa, 0x37f73e\nADD             R7, PC; __stack_chk_guard_ptr                          ; +0xc, 0x37f740\nLDR             R7, [R7]; __stack_chk_guard                            ; +0xe, 0x37f742\nLDR             R3, [R7]                                               ; +0x10, 0x37f744\nSTR             R3, [SP,#0x18+var_4]                                   ; +0x12, 0x37f746\nMOV.W           R3, #0xFFFFFFFF                                        ; +0x14, 0x37f748\nSTR             R3, [SP,#0x18+var_10]                                  ; +0x18, 0x37f74c\nSTR             R3, [SP,#0x18+var_C]                                   ; +0x1a, 0x37f74e\nSTR             R3, [SP,#0x18+var_8]                                   ; +0x1c, 0x37f750\nADD             R3, SP, #0x18+var_C                                    ; +0x1e, 0x37f752\nSTR             R3, [SP,#0x18+var_18]; bool                            ; +0x20, 0x37f754\nADD             R3, SP, #0x18+var_8                                    ; +0x22, 0x37f756\nSTR             R3, [SP,#0x18+var_14]; int *                           ; +0x24, 0x37f758\nADD             R3, SP, #0x18+var_10; int *                            ; +0x26, 0x37f75a\nLDR.W           R1, [R0,#0x374]; GameObject *                          ; +0x28, 0x37f75c\nLDR.W           R2, [R0,#0x260]; cocos2d::CCArray *                    ; +0x2c, 0x37f760\nBL              _ZN8EditorUI12getGroupInfoEP10GameObjectPN7cocos2d7CCArrayERiS5_S5_; EditorUI::getGroupInfo(GameObject *,cocos2d::CCArray *,int &,int &,int &) ; +0x30, 0x37f764\nLDR.W           R0, [R4,#0x374]                                        ; +0x34, 0x37f768\nCBZ             R0, loc_37F778                                         ; +0x38, 0x37f76c\nLDR             R3, [R0]                                               ; +0x3a, 0x37f76e\nLDR.W           R3, [R3,#0x35C]                                        ; +0x3c, 0x37f770\nBLX             R3                                                     ; +0x40, 0x37f774\nB               loc_37F7A2                                             ; +0x42, 0x37f776\nMOV             R5, R0                                                 ; +0x44, 0x37f778\nLDR.W           R0, [R4,#0x260]; this                                  ; +0x46, 0x37f77a\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x4a, 0x37f77e\nCMP             R5, R0                                                 ; +0x4e, 0x37f782\nBCS             loc_37F79E                                             ; +0x50, 0x37f784\nLDR.W           R0, [R4,#0x260]; this                                  ; +0x52, 0x37f786\nMOV             R1, R5; unsigned int                                   ; +0x56, 0x37f78a\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x58, 0x37f78c\nLDR             R3, [R0]                                               ; +0x5c, 0x37f790\nLDR.W           R3, [R3,#0x35C]                                        ; +0x5e, 0x37f792\nBLX             R3                                                     ; +0x62, 0x37f796\nCBZ             R0, loc_37F7A2                                         ; +0x64, 0x37f798\nADDS            R5, #1                                                 ; +0x66, 0x37f79a\nB               loc_37F77A                                             ; +0x68, 0x37f79c\nMOVS            R6, #1                                                 ; +0x6a, 0x37f79e\nB               loc_37F7A4                                             ; +0x6c, 0x37f7a0\nMOV             R6, R0                                                 ; +0x6e, 0x37f7a2\nLDR             R3, [SP,#0x18+var_10]                                  ; +0x70, 0x37f7a4\nADDS            R3, #1                                                 ; +0x72, 0x37f7a6\nLDR             R3, [SP,#0x18+var_C]                                   ; +0x74, 0x37f7a8\nBNE             loc_37F7BE                                             ; +0x76, 0x37f7aa\nADDS            R2, R3, #1                                             ; +0x78, 0x37f7ac\nBNE             loc_37F7BE                                             ; +0x7a, 0x37f7ae\nLDR             R3, [SP,#0x18+var_8]                                   ; +0x7c, 0x37f7b0\nADDS            R3, #1                                                 ; +0x7e, 0x37f7b2\nBNE             loc_37F7C2                                             ; +0x80, 0x37f7b4\nCMP             R6, #0                                                 ; +0x82, 0x37f7b6\nBEQ.W           loc_37FA50                                             ; +0x84, 0x37f7b8\nB               loc_37F7C2                                             ; +0x88, 0x37f7bc\nCMP             R3, #5                                                 ; +0x8a, 0x37f7be\nBEQ             loc_37F7DE                                             ; +0x8c, 0x37f7c0\nLDR.W           R3, [R4,#0x374]                                        ; +0x8e, 0x37f7c2\nCBZ             R3, loc_37F7D0                                         ; +0x92, 0x37f7c6\nLDR.W           R3, [R3,#0x434]                                        ; +0x94, 0x37f7c8\nCMP             R3, #5                                                 ; +0x98, 0x37f7cc\nBEQ             loc_37F7DE                                             ; +0x9a, 0x37f7ce\nMOV             R0, R4; this                                           ; +0x9c, 0x37f7d0\nLDR.W           R1, [R4,#0x260]; cocos2d::CCArray *                    ; +0x9e, 0x37f7d2\nMOVS            R2, #5; int                                            ; +0xa2, 0x37f7d6\nBL              _ZN8EditorUI18arrayContainsClassEPN7cocos2d7CCArrayEi; EditorUI::arrayContainsClass(cocos2d::CCArray *,int) ; +0xa4, 0x37f7d8\nCBZ             R0, loc_37F81E                                         ; +0xa8, 0x37f7dc\nLDR.W           R5, [R4,#0x260]                                        ; +0xaa, 0x37f7de\nCBZ             R5, loc_37F816                                         ; +0xae, 0x37f7e2\nBL              _ZN7cocos2d7CCArray6createEv; cocos2d::CCArray::create(void) ; +0xb0, 0x37f7e4\nMOVS            R6, #0                                                 ; +0xb4, 0x37f7e8\nMOV             R5, R0                                                 ; +0xb6, 0x37f7ea\nLDR.W           R0, [R4,#0x260]; this                                  ; +0xb8, 0x37f7ec\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0xbc, 0x37f7f0\nCMP             R6, R0                                                 ; +0xc0, 0x37f7f4\nBCS             loc_37F816                                             ; +0xc2, 0x37f7f6\nMOV             R1, R6; unsigned int                                   ; +0xc4, 0x37f7f8\nLDR.W           R0, [R4,#0x260]; this                                  ; +0xc6, 0x37f7fa\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0xca, 0x37f7fe\nLDR.W           R3, [R0,#0x434]                                        ; +0xce, 0x37f802\nMOV             R1, R0; cocos2d::CCObject *                            ; +0xd2, 0x37f806\nCMP             R3, #5                                                 ; +0xd4, 0x37f808\nBNE             loc_37F812                                             ; +0xd6, 0x37f80a\nMOV             R0, R5; this                                           ; +0xd8, 0x37f80c\nBL              _ZN7cocos2d7CCArray9addObjectEPNS_8CCObjectE; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0xda, 0x37f80e\nADDS            R6, #1                                                 ; +0xde, 0x37f812\nB               loc_37F7EC                                             ; +0xe0, 0x37f814\nLDR.W           R0, [R4,#0x374]                                        ; +0xe2, 0x37f816\nMOV             R1, R5                                                 ; +0xe6, 0x37f81a\nB               loc_37FA1A                                             ; +0xe8, 0x37f81c\nLDR.W           R3, [R4,#0x340]                                        ; +0xea, 0x37f81e\nMOVW            R2, #0x2A12                                            ; +0xee, 0x37f822\nLDRB            R1, [R3,R2]                                            ; +0xf2, 0x37f826\nLDR             R2, [SP,#0x18+var_10]; cocos2d::CCArray *              ; +0xf4, 0x37f828\nCBZ             R1, loc_37F848                                         ; +0xf6, 0x37f82a\nCMP.W           R2, #0x6A8                                             ; +0xf8, 0x37f82c\nBEQ             loc_37F83A                                             ; +0xfc, 0x37f830\nMOVW            R1, #0x6D7                                             ; +0xfe, 0x37f832\nCMP             R2, R1                                                 ; +0x102, 0x37f836\nBNE             loc_37F848                                             ; +0x104, 0x37f838\nLDR.W           R0, [R4,#0x374]; this                                  ; +0x106, 0x37f83a\nLDR.W           R1, [R4,#0x260]; DashRingObject *                      ; +0x10a, 0x37f83e\nBL              _ZN18SetupDashRingPopup6createEP14DashRingObjectPN7cocos2d7CCArrayE; SetupDashRingPopup::create(DashRingObject *,cocos2d::CCArray *) ; +0x10e, 0x37f842\nB               loc_37FA48                                             ; +0x112, 0x37f846\nMOVW            R1, #0xB57                                             ; +0x114, 0x37f848\nCMP             R2, R1                                                 ; +0x118, 0x37f84c\nBNE             loc_37F85E                                             ; +0x11a, 0x37f84e\nLDR.W           R0, [R4,#0x374]; this                                  ; +0x11c, 0x37f850\nLDR.W           R1, [R4,#0x260]; GradientTriggerObject *               ; +0x120, 0x37f854\nBL              _ZN18SetupGradientPopup6createEP21GradientTriggerObjectPN7cocos2d7CCArrayE; SetupGradientPopup::create(GradientTriggerObject *,cocos2d::CCArray *) ; +0x124, 0x37f858\nB               loc_37FA48                                             ; +0x128, 0x37f85c\nMOVW            R1, #0xB58                                             ; +0x12a, 0x37f85e\nCMP             R2, R1                                                 ; +0x12e, 0x37f862\nBEQ.W           loc_37FA50                                             ; +0x130, 0x37f864\nMOVW            R1, #0x80F                                             ; +0x134, 0x37f868\nCMP             R2, R1                                                 ; +0x138, 0x37f86c\nBNE             loc_37F87E                                             ; +0x13a, 0x37f86e\nLDR.W           R0, [R4,#0x374]; this                                  ; +0x13c, 0x37f870\nLDR.W           R1, [R4,#0x260]; CheckpointGameObject *                ; +0x140, 0x37f874\nBL              _ZN20SetupCheckpointPopup6createEP20CheckpointGameObjectPN7cocos2d7CCArrayE; SetupCheckpointPopup::create(CheckpointGameObject *,cocos2d::CCArray *) ; +0x144, 0x37f878\nB               loc_37FA48                                             ; +0x148, 0x37f87c\nMOVW            R1, #0x2EB                                             ; +0x14a, 0x37f87e\nCMP             R2, R1                                                 ; +0x14e, 0x37f882\nBEQ             loc_37F896                                             ; +0x150, 0x37f884\nMOVW            R1, #0xB56                                             ; +0x152, 0x37f886\nCMP             R2, R1                                                 ; +0x156, 0x37f88a\nBEQ             loc_37F896                                             ; +0x158, 0x37f88c\nMOVW            R1, #0xBD3                                             ; +0x15a, 0x37f88e\nCMP             R2, R1                                                 ; +0x15e, 0x37f892\nBNE             loc_37F8AC                                             ; +0x160, 0x37f894\nLDR.W           R3, [R3,#0x8C0]                                        ; +0x162, 0x37f896\nLDR.W           R0, [R4,#0x374]; this                                  ; +0x166, 0x37f89a\nLDR.W           R1, [R4,#0x260]; TeleportPortalObject *                ; +0x16a, 0x37f89e\nLDRB.W          R3, [R3,#0x119]; int                                   ; +0x16e, 0x37f8a2\nBL              _ZN18SetupTeleportPopup6createEP20TeleportPortalObjectPN7cocos2d7CCArrayEib; SetupTeleportPopup::create(TeleportPortalObject *,cocos2d::CCArray *,int,bool) ; +0x172, 0x37f8a6\nB               loc_37FA48                                             ; +0x176, 0x37f8aa\nMOVW            R1, #0x64F                                             ; +0x178, 0x37f8ac\nCMP             R2, R1                                                 ; +0x17c, 0x37f8b0\nBNE             loc_37F8C2                                             ; +0x17e, 0x37f8b2\nLDR.W           R0, [R4,#0x374]; this                                  ; +0x180, 0x37f8b4\nLDR.W           R1, [R4,#0x260]; EffectGameObject *                    ; +0x184, 0x37f8b8\nBL              _ZN14SetItemIDLayer6createEP16EffectGameObjectPN7cocos2d7CCArrayE; SetItemIDLayer::create(EffectGameObject *,cocos2d::CCArray *) ; +0x188, 0x37f8bc\nB               loc_37FA48                                             ; +0x18c, 0x37f8c0\nMOVW            R1, #0x811                                             ; +0x18e, 0x37f8c2\nCMP             R2, R1                                                 ; +0x192, 0x37f8c6\nBEQ.W           loc_37FA20                                             ; +0x194, 0x37f8c8\nMOVW            R1, #0x63A                                             ; +0x198, 0x37f8cc\nCMP             R2, R1                                                 ; +0x19c, 0x37f8d0\nBNE             loc_37F8EA                                             ; +0x19e, 0x37f8d2\nLDR.W           R3, [R3,#0x8C0]; bool                                  ; +0x1a0, 0x37f8d4\nLDR.W           R0, [R4,#0x374]; this                                  ; +0x1a4, 0x37f8d8\nLDR.W           R1, [R4,#0x260]; EffectGameObject *                    ; +0x1a8, 0x37f8dc\nLDRB.W          R2, [R3,#0x119]; cocos2d::CCArray *                    ; +0x1ac, 0x37f8e0\nBL              _ZN22SetupObjectTogglePopup6createEP16EffectGameObjectPN7cocos2d7CCArrayEb; SetupObjectTogglePopup::create(EffectGameObject *,cocos2d::CCArray *,bool) ; +0x1b0, 0x37f8e4\nB               loc_37FA48                                             ; +0x1b4, 0x37f8e8\nMOV             R0, R4; this                                           ; +0x1b6, 0x37f8ea\nLDR.W           R1, [R4,#0x374]; GameObject *                          ; +0x1b8, 0x37f8ec\nLDR.W           R2, [R4,#0x260]; cocos2d::CCArray *                    ; +0x1bc, 0x37f8f0\nBL              _ZN8EditorUI21canAllowMultiActivateEP10GameObjectPN7cocos2d7CCArrayE; EditorUI::canAllowMultiActivate(GameObject *,cocos2d::CCArray *) ; +0x1c0, 0x37f8f4\nCBZ             R0, loc_37F914                                         ; +0x1c4, 0x37f8f8\nLDR.W           R3, [R4,#0x340]                                        ; +0x1c6, 0x37f8fa\nLDR.W           R0, [R4,#0x374]; this                                  ; +0x1ca, 0x37f8fe\nLDR.W           R1, [R4,#0x260]; EffectGameObject *                    ; +0x1ce, 0x37f902\nLDR.W           R3, [R3,#0x8C0]; bool                                  ; +0x1d2, 0x37f906\nLDRB.W          R2, [R3,#0x119]; cocos2d::CCArray *                    ; +0x1d6, 0x37f90a\nBL              _ZN19EditGameObjectPopup6createEP16EffectGameObjectPN7cocos2d7CCArrayEb; EditGameObjectPopup::create(EffectGameObject *,cocos2d::CCArray *,bool) ; +0x1da, 0x37f90e\nB               loc_37FA48                                             ; +0x1de, 0x37f912\nCMP             R6, #0                                                 ; +0x1e0, 0x37f914\nBNE.W           loc_37FA3C                                             ; +0x1e2, 0x37f916\nLDR             R3, [SP,#0x18+var_8]                                   ; +0x1e6, 0x37f91a\nLDR.W           R0, [R4,#0x374]                                        ; +0x1e8, 0x37f91c\nCMP             R3, #0x1E                                              ; +0x1ec, 0x37f920\nBNE             loc_37F92A                                             ; +0x1ee, 0x37f922\nCMP.W           R8, #1                                                 ; +0x1f0, 0x37f924\nBNE             loc_37FA08                                             ; +0x1f4, 0x37f928\nCBZ             R0, loc_37F938                                         ; +0x1f6, 0x37f92a\nLDR             R3, [R0]                                               ; +0x1f8, 0x37f92c\nLDR.W           R3, [R3,#0x358]                                        ; +0x1fa, 0x37f92e\nBLX             R3                                                     ; +0x1fe, 0x37f932\nCMP             R0, #0                                                 ; +0x200, 0x37f934\nBNE             loc_37F9FC                                             ; +0x202, 0x37f936\nLDR.W           R0, [R4,#0x260]; this                                  ; +0x204, 0x37f938\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x208, 0x37f93c\nCMP             R0, #0                                                 ; +0x20c, 0x37f940\nBEQ.W           loc_37FA50                                             ; +0x20e, 0x37f942\nCMP.W           R8, #1                                                 ; +0x212, 0x37f946\nBEQ             loc_37F974                                             ; +0x216, 0x37f94a\nMOVS            R5, #0                                                 ; +0x218, 0x37f94c\nLDR.W           R0, [R4,#0x260]; this                                  ; +0x21a, 0x37f94e\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x21e, 0x37f952\nCMP             R5, R0                                                 ; +0x222, 0x37f956\nBCS             loc_37FA04                                             ; +0x224, 0x37f958\nMOV             R1, R5; unsigned int                                   ; +0x226, 0x37f95a\nLDR.W           R0, [R4,#0x260]; this                                  ; +0x228, 0x37f95c\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x22c, 0x37f960\nLDR             R3, [R0]                                               ; +0x230, 0x37f964\nLDR.W           R3, [R3,#0x37C]                                        ; +0x232, 0x37f966\nBLX             R3                                                     ; +0x236, 0x37f96a\nCMP             R0, #0x1E                                              ; +0x238, 0x37f96c\nBNE             loc_37F974                                             ; +0x23a, 0x37f96e\nADDS            R5, #1                                                 ; +0x23c, 0x37f970\nB               loc_37F94E                                             ; +0x23e, 0x37f972\nLDR             R3, [SP,#0x18+var_C]                                   ; +0x240, 0x37f974\nCMP             R3, #5                                                 ; +0x242, 0x37f976\nBEQ             loc_37FA12                                             ; +0x244, 0x37f978\nLDR.W           R5, [R4,#0x374]                                        ; +0x246, 0x37f97a\nCBZ             R5, loc_37F98A                                         ; +0x24a, 0x37f97e\nLDR.W           R3, [R5,#0x434]                                        ; +0x24c, 0x37f980\nCMP             R3, #5                                                 ; +0x250, 0x37f984\nBEQ             loc_37FA12                                             ; +0x252, 0x37f986\nMOVS            R5, #0                                                 ; +0x254, 0x37f988\nMOVW            R6, #0x811                                             ; +0x256, 0x37f98a\nLDR.W           R0, [R4,#0x260]; this                                  ; +0x25a, 0x37f98e\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x25e, 0x37f992\nCMP             R5, R0                                                 ; +0x262, 0x37f996\nBCS             loc_37FA20                                             ; +0x264, 0x37f998\nLDR.W           R0, [R4,#0x260]; this                                  ; +0x266, 0x37f99a\nMOV             R1, R5; unsigned int                                   ; +0x26a, 0x37f99e\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x26c, 0x37f9a0\nLDR.W           R3, [R0,#0x374]                                        ; +0x270, 0x37f9a4\nCMP             R3, R6                                                 ; +0x274, 0x37f9a8\nBNE             loc_37F9B0                                             ; +0x276, 0x37f9aa\nADDS            R5, #1                                                 ; +0x278, 0x37f9ac\nB               loc_37F98E                                             ; +0x27a, 0x37f9ae\nMOVS            R5, #0                                                 ; +0x27c, 0x37f9b0\nLDR.W           R0, [R4,#0x260]; this                                  ; +0x27e, 0x37f9b2\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x282, 0x37f9b6\nCMP             R5, R0                                                 ; +0x286, 0x37f9ba\nBCS             loc_37FA2E                                             ; +0x288, 0x37f9bc\nLDR.W           R0, [R4,#0x260]; this                                  ; +0x28a, 0x37f9be\nMOV             R1, R5; unsigned int                                   ; +0x28e, 0x37f9c2\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x290, 0x37f9c4\nLDR             R3, [R0]                                               ; +0x294, 0x37f9c8\nLDR.W           R3, [R3,#0x358]                                        ; +0x296, 0x37f9ca\nBLX             R3                                                     ; +0x29a, 0x37f9ce\nCBZ             R0, loc_37F9D6                                         ; +0x29c, 0x37f9d0\nADDS            R5, #1                                                 ; +0x29e, 0x37f9d2\nB               loc_37F9B2                                             ; +0x2a0, 0x37f9d4\nMOV             R5, R0                                                 ; +0x2a2, 0x37f9d6\nLDR.W           R0, [R4,#0x260]; this                                  ; +0x2a4, 0x37f9d8\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x2a8, 0x37f9dc\nCMP             R5, R0                                                 ; +0x2ac, 0x37f9e0\nBCS             loc_37FA3C                                             ; +0x2ae, 0x37f9e2\nLDR.W           R0, [R4,#0x260]; this                                  ; +0x2b0, 0x37f9e4\nMOV             R1, R5; unsigned int                                   ; +0x2b4, 0x37f9e8\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x2b6, 0x37f9ea\nLDR             R3, [R0]                                               ; +0x2ba, 0x37f9ee\nLDR.W           R3, [R3,#0x35C]                                        ; +0x2bc, 0x37f9f0\nBLX             R3                                                     ; +0x2c0, 0x37f9f4\nCBZ             R0, loc_37FA50                                         ; +0x2c2, 0x37f9f6\nADDS            R5, #1                                                 ; +0x2c4, 0x37f9f8\nB               loc_37F9D8                                             ; +0x2c6, 0x37f9fa\nLDR.W           R0, [R4,#0x374]                                        ; +0x2c8, 0x37f9fc\nMOVS            R1, #0                                                 ; +0x2cc, 0x37fa00\nB               loc_37FA36                                             ; +0x2ce, 0x37fa02\nLDR.W           R0, [R4,#0x374]; this                                  ; +0x2d0, 0x37fa04\nLDR.W           R1, [R4,#0x260]; EffectGameObject *                    ; +0x2d4, 0x37fa08\nBL              _ZN24SetupInteractObjectPopup6createEP16EffectGameObjectPN7cocos2d7CCArrayE; SetupInteractObjectPopup::create(EffectGameObject *,cocos2d::CCArray *) ; +0x2d8, 0x37fa0c\nB               loc_37FA48                                             ; +0x2dc, 0x37fa10\nLDR.W           R0, [R4,#0x374]; this                                  ; +0x2de, 0x37fa12\nLDR.W           R1, [R4,#0x260]; SmartGameObject *                     ; +0x2e2, 0x37fa16\nBL              _ZN20SetupSmartBlockLayer6createEP15SmartGameObjectPN7cocos2d7CCArrayE; SetupSmartBlockLayer::create(SmartGameObject *,cocos2d::CCArray *) ; +0x2e6, 0x37fa1a\nB               loc_37FA48                                             ; +0x2ea, 0x37fa1e\nLDR.W           R0, [R4,#0x374]; this                                  ; +0x2ec, 0x37fa20\nLDR.W           R1, [R4,#0x260]; ParticleGameObject *                  ; +0x2f0, 0x37fa24\nBL              _ZN19CreateParticlePopup6createEP18ParticleGameObjectPN7cocos2d7CCArrayE; CreateParticlePopup::create(ParticleGameObject *,cocos2d::CCArray *) ; +0x2f4, 0x37fa28\nB               loc_37FA48                                             ; +0x2f8, 0x37fa2c\nLDR.W           R0, [R4,#0x374]; this                                  ; +0x2fa, 0x37fa2e\nLDR.W           R1, [R4,#0x260]; EffectGameObject *                    ; +0x2fe, 0x37fa32\nBL              _ZN22SetupAnimSettingsPopup6createEP16EffectGameObjectPN7cocos2d7CCArrayE; SetupAnimSettingsPopup::create(EffectGameObject *,cocos2d::CCArray *) ; +0x302, 0x37fa36\nB               loc_37FA48                                             ; +0x306, 0x37fa3a\nLDR.W           R0, [R4,#0x374]; this                                  ; +0x308, 0x37fa3c\nLDR.W           R1, [R4,#0x260]; EnhancedGameObject *                  ; +0x30c, 0x37fa40\nBL              _ZN16SetupRotatePopup6createEP18EnhancedGameObjectPN7cocos2d7CCArrayE; SetupRotatePopup::create(EnhancedGameObject *,cocos2d::CCArray *) ; +0x310, 0x37fa44\nLDR             R3, [R0]                                               ; +0x314, 0x37fa48\nLDR.W           R3, [R3,#0x284]                                        ; +0x316, 0x37fa4a\nBLX             R3                                                     ; +0x31a, 0x37fa4e\nLDR             R2, [SP,#0x18+var_4]                                   ; +0x31c, 0x37fa50\nLDR             R3, [R7]                                               ; +0x31e, 0x37fa52\nCMP             R2, R3                                                 ; +0x320, 0x37fa54\nBEQ             loc_37FA5C                                             ; +0x322, 0x37fa56\nBLX             __stack_chk_fail                                       ; +0x324, 0x37fa58\nADD             SP, SP, #0x18                                          ; +0x328, 0x37fa5c\nPOP.W           {R4-R8,PC}                                             ; +0x32a, 0x37fa5e", "xrefs": ["EditorUI::editObject2 @ 0x37fa6a", "EditorUI::editObject3 @ 0x37fa70"], "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"}