{"type": "func", "start": 3819456, "end": 3820040, "name": "EditorUI::createSmartObjectsFromType", "pseudocode": "// \n// EditorUI::createSmartObjectsFromType from 0x3a47c0 to 0x3a4a08 (584 bytes)\n// \n// 1 xrefs:\n// > SetupSmartBlockLayer::onCreate @ 0x53d55e\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::createSmartObjectsFromType(EditorUI *a1, int a2, cocos2d::CCArray *a3, bool a4, bool a5)\n{\n  unsigned int v7; // r7\n  cocos2d::CCArray *v8; // r0\n  cocos2d::CCArray *v9; // r5\n  int v10; // r0\n  int v11; // r2\n  ObjectToolbox *v12; // r0\n  float v13; // r0\n  cocos2d::CCArray *v14; // r10\n  int v15; // r8\n  cocos2d::CCNode *v16; // r11\n  float v17; // r1\n  float v18; // r2\n  int v19; // r2\n  bool v20; // r3\n  int v21; // r0\n  cocos2d::CCArray *v22; // r8\n  cocos2d::CCArray *v23; // r0\n  cocos2d::CCArray *v24; // r9\n  cocos2d::CCArray *v25; // r0\n  unsigned int v26; // r9\n  cocos2d::CCArray *v27; // r7\n  int v28; // r0\n  cocos2d::CCArray *RockEdges; // r1\n  cocos2d::CCArray *RockBases; // r1\n  cocos2d::CCArray *Outlines; // r1\n  cocos2d::CCArray *Extras; // r1\n  unsigned int i; // r7\n  GameObject *v34; // r0\n  EditorUI *v35; // r0\n  cocos2d::CCArray *v36; // r1\n  cocos2d::CCArray *v37; // [sp+0h] [bp-4Ch]\n  unsigned int v38; // [sp+Ch] [bp-40h]\n  int v39; // [sp+10h] [bp-3Ch]\n  int v41; // [sp+18h] [bp-34h]\n  _BOOL4 v42; // [sp+20h] [bp-2Ch]\n  void (__fastcall *setPosition)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // [sp+2Ch] [bp-20h]\n  cocos2d::CCPoint v44; // [sp+34h] [bp-18h] BYREF\n  cocos2d::CCPoint v45; // [sp+3Ch] [bp-10h] BYREF\n\n  v42 = a4;\n  if ( a3 && cocos2d::CCArray::count(a3) )\n  {\n    v7 = 0;\n    EditorUI::deselectAll(a1);\n    v39 = 0;\n    v9 = (cocos2d::CCArray *)cocos2d::CCArray::create(v8);\n    while ( v7 < cocos2d::CCArray::count(a3) )\n    {\n      v10 = cocos2d::CCArray::objectAtIndex(a3, v7);\n      v11 = v39;\n      ++v7;\n      if ( v39 < *(__int16 *)(v10 + 1030) )\n        v11 = *(__int16 *)(v10 + 1030);\n      v39 = v11;\n    }\n    v12 = ObjectToolbox::sharedState();\n    v13 = ObjectToolbox::gridNodeSizeForKey(v12, a2);\n    if ( v13 == 15.0 )\n    {\n      v38 = 0;\n      v14 = (cocos2d::CCArray *)cocos2d::CCArray::create((cocos2d::CCArray *)LODWORD(v13));\n      while ( 1 )\n      {\n        v13 = COERCE_FLOAT(cocos2d::CCArray::count(a3));\n        if ( v38 >= LODWORD(v13) )\n          goto LABEL_23;\n        v15 = 0;\n        v41 = cocos2d::CCArray::objectAtIndex(a3, v38);\n        do\n        {\n          v16 = cocos2d::CCNode::create();\n          cocos2d::CCPoint::CCPoint(&v44, (const cocos2d::CCPoint *)&flt_AC5D38);\n          if ( v15 == 2 )\n          {\n            v17 = -7.5;\nLABEL_18:\n            v18 = v17;\n            goto LABEL_20;\n          }\n          if ( v15 != 3 )\n          {\n            if ( v15 != 1 )\n            {\n              v17 = -7.5;\n              v18 = 7.5;\n              goto LABEL_20;\n            }\n            v17 = 7.5;\n            goto LABEL_18;\n          }\n          v17 = 7.5;\n          v18 = -7.5;\nLABEL_20:\n          cocos2d::CCPoint::CCPoint(&v45, v17, v18);\n          ++v15;\n          cocos2d::CCPoint::operator=((PlayerObject *)&v44, COERCE_FLOAT(&v45), v19, v20);\n          setPosition = v16->setPosition;\n          v21 = (*(int (__fastcall **)(int))(*(_DWORD *)v41 + 96))(v41);\n          cocos2d::CCPoint::operator+(&v45, &v44, v21);\n          setPosition(v16, &v45);\n          cocos2d::CCArray::addObject(v14, v16);\n        }\n        while ( v15 != 4 );\n        ++v38;\n      }\n    }\n    v14 = a3;\nLABEL_23:\n    v22 = (cocos2d::CCArray *)cocos2d::CCArray::create((cocos2d::CCArray *)LODWORD(v13));\n    v23 = (cocos2d::CCArray *)cocos2d::CCArray::addObjectsFromArray(v22, v14);\n    v24 = (cocos2d::CCArray *)cocos2d::CCArray::create(v23);\n    v25 = (cocos2d::CCArray *)cocos2d::CCArray::create(v24);\n    v37 = v24;\n    v26 = 0;\n    v27 = v25;\n    EditorUI::processSmartObjectsFromType(a1, a2, v14, v22, v37, v25);\n    while ( v26 < cocos2d::CCArray::count(v27) )\n    {\n      v28 = cocos2d::CCArray::objectAtIndex(v27, v26++);\n      *(_WORD *)(v28 + 1032) = v39 + 1;\n    }\n    cocos2d::CCArray::addObjectsFromArray(v9, v27);\n    if ( cocos2d::CCArray::count(v9) )\n    {\n      RockEdges = EditorUI::createRockEdges(a1, v9);\n      if ( RockEdges )\n        cocos2d::CCArray::addObjectsFromArray(v9, RockEdges);\n      RockBases = EditorUI::createRockBases(a1, v9);\n      if ( RockBases )\n        cocos2d::CCArray::addObjectsFromArray(v9, RockBases);\n      Outlines = EditorUI::createOutlines(a1, v9);\n      if ( Outlines )\n        cocos2d::CCArray::addObjectsFromArray(v9, Outlines);\n      if ( v42 && (unsigned int)(a2 - 2703) <= 1 )\n      {\n        Extras = EditorUI::createExtras(a1, v9);\n        if ( Extras )\n          cocos2d::CCArray::addObjectsFromArray(v9, Extras);\n      }\n      EditorUI::deselectAll(a1);\n      if ( a5 )\n      {\n        v35 = a1;\n        v36 = a3;\n      }\n      else\n      {\n        for ( i = 0; i < cocos2d::CCArray::count(a3); ++i )\n        {\n          v34 = (GameObject *)cocos2d::CCArray::objectAtIndex(a3, i);\n          EditorUI::deleteObject(a1, v34, 1);\n        }\n        v35 = a1;\n        v36 = v9;\n      }\n      EditorUI::selectObjects(v35, v36, 1);\n      EditorUI::updateButtons(a1);\n      EditorUI::updateSpecialUIElements(a1);\n    }\n  }\n}", "assembly": "; \n; EditorUI::createSmartObjectsFromType from 0x3a47c0 to 0x3a4a08 (584 bytes)\n; \n; 1 xrefs:\n; > SetupSmartBlockLayer::onCreate @ 0x53d55e\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nPUSH.W          {R4-R11,LR}                                            ; +0x0, 0x3a47c0\nSUB             SP, SP, #0x4C                                          ; +0x4, 0x3a47c4\nMOV             R4, R0                                                 ; +0x6, 0x3a47c6\nMOV             R6, R2                                                 ; +0x8, 0x3a47c8\nSTR             R3, [SP,#0x4C+var_2C]                                  ; +0xa, 0x3a47ca\nLDRB.W          R3, [SP,#0x4C+arg_0]                                   ; +0xc, 0x3a47cc\nSTR             R1, [SP,#0x4C+var_38]                                  ; +0x10, 0x3a47d0\nSTR             R3, [SP,#0x4C+var_30]                                  ; +0x12, 0x3a47d2\nLDR             R3, =(__stack_chk_guard_ptr - 0x3A47DA)                ; +0x14, 0x3a47d4\nADD             R3, PC; __stack_chk_guard_ptr                          ; +0x16, 0x3a47d6\nLDR             R3, [R3]; __stack_chk_guard                            ; +0x18, 0x3a47d8\nSTR             R3, [SP,#0x4C+var_28]                                  ; +0x1a, 0x3a47da\nLDR             R1, [R3]                                               ; +0x1c, 0x3a47dc\nSTR             R1, [SP,#0x4C+var_8]                                   ; +0x1e, 0x3a47de\nCMP             R2, #0                                                 ; +0x20, 0x3a47e0\nBEQ.W           loc_3A49F4                                             ; +0x22, 0x3a47e2\nMOV             R0, R2; this                                           ; +0x26, 0x3a47e6\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x28, 0x3a47e8\nCMP             R0, #0                                                 ; +0x2c, 0x3a47ec\nBEQ.W           loc_3A49F4                                             ; +0x2e, 0x3a47ee\nMOV             R0, R4; this                                           ; +0x32, 0x3a47f2\nMOVS            R7, #0                                                 ; +0x34, 0x3a47f4\nBL              _ZN8EditorUI11deselectAllEv; EditorUI::deselectAll(void) ; +0x36, 0x3a47f6\nBL              _ZN7cocos2d7CCArray6createEv; cocos2d::CCArray::create(void) ; +0x3a, 0x3a47fa\nSTR             R7, [SP,#0x4C+var_3C]                                  ; +0x3e, 0x3a47fe\nMOV             R5, R0                                                 ; +0x40, 0x3a4800\nMOV             R0, R6; this                                           ; +0x42, 0x3a4802\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x44, 0x3a4804\nCMP             R7, R0                                                 ; +0x48, 0x3a4808\nBCS             loc_3A4826                                             ; +0x4a, 0x3a480a\nMOV             R1, R7; unsigned int                                   ; +0x4c, 0x3a480c\nMOV             R0, R6; this                                           ; +0x4e, 0x3a480e\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x50, 0x3a4810\nLDR             R2, [SP,#0x4C+var_3C]                                  ; +0x54, 0x3a4814\nADDS            R7, #1                                                 ; +0x56, 0x3a4816\nLDRSH.W         R3, [R0,#0x406]                                        ; +0x58, 0x3a4818\nCMP             R2, R3                                                 ; +0x5c, 0x3a481c\nIT LT                                                                  ; +0x5e, 0x3a481e\nMOVLT           R2, R3                                                 ; +0x60, 0x3a4820\nSTR             R2, [SP,#0x4C+var_3C]                                  ; +0x62, 0x3a4822\nB               loc_3A4802                                             ; +0x64, 0x3a4824\nBL              _ZN13ObjectToolbox11sharedStateEv; ObjectToolbox::sharedState(void) ; +0x66, 0x3a4826\nLDR             R1, [SP,#0x4C+var_38]; int                             ; +0x6a, 0x3a482a\nBL              _ZN13ObjectToolbox18gridNodeSizeForKeyEi; ObjectToolbox::gridNodeSizeForKey(int) ; +0x6c, 0x3a482c\nVMOV.F32        S15, #15.0                                             ; +0x70, 0x3a4830\nVMOV            S14, R0; this                                          ; +0x74, 0x3a4834\nVCMP.F32        S14, S15                                               ; +0x78, 0x3a4838\nVMRS            APSR_nzcv, FPSCR                                       ; +0x7c, 0x3a483c\nBNE             loc_3A48F2                                             ; +0x80, 0x3a4840\nBL              _ZN7cocos2d7CCArray6createEv; cocos2d::CCArray::create(void) ; +0x82, 0x3a4842\nMOVS            R3, #0                                                 ; +0x86, 0x3a4846\nSTR             R3, [SP,#0x4C+var_40]                                  ; +0x88, 0x3a4848\nLDR             R3, =(flt_AC5D38 - 0x3A4850)                           ; +0x8a, 0x3a484a\nADD             R3, PC; flt_AC5D38                                     ; +0x8c, 0x3a484c\nSTR             R3, [SP,#0x4C+var_24]                                  ; +0x8e, 0x3a484e\nMOV             R10, R0                                                ; +0x90, 0x3a4850\nMOV             R0, R6; this                                           ; +0x92, 0x3a4852\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x94, 0x3a4854\nLDR             R3, [SP,#0x4C+var_40]                                  ; +0x98, 0x3a4858\nCMP             R3, R0                                                 ; +0x9a, 0x3a485a\nBCS             loc_3A48F4                                             ; +0x9c, 0x3a485c\nMOV             R0, R6; this                                           ; +0x9e, 0x3a485e\nLDR             R1, [SP,#0x4C+var_40]; unsigned int                    ; +0xa0, 0x3a4860\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0xa2, 0x3a4862\nADD.W           R9, SP, #0x4C+var_18                                   ; +0xa6, 0x3a4866\nADD             R7, SP, #0x4C+var_10                                   ; +0xaa, 0x3a486a\nMOV.W           R8, #0                                                 ; +0xac, 0x3a486c\nSTR             R0, [SP,#0x4C+var_34]                                  ; +0xb0, 0x3a4870\nBL              _ZN7cocos2d6CCNode6createEv; cocos2d::CCNode::create(void) ; +0xb2, 0x3a4872\nLDR             R1, [SP,#0x4C+var_24]; cocos2d::CCPoint *              ; +0xb6, 0x3a4876\nMOV             R11, R0                                                ; +0xb8, 0x3a4878\nMOV             R0, R9; this                                           ; +0xba, 0x3a487a\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0xbc, 0x3a487c\nCMP.W           R8, #2                                                 ; +0xc0, 0x3a4880\nMOV             R0, R7; this                                           ; +0xc4, 0x3a4884\nBEQ             loc_3A489E                                             ; +0xc6, 0x3a4886\nCMP.W           R8, #3                                                 ; +0xc8, 0x3a4888\nBEQ             loc_3A48A4                                             ; +0xcc, 0x3a488c\nCMP.W           R8, #1                                                 ; +0xce, 0x3a488e\nBEQ             loc_3A489A                                             ; +0xd2, 0x3a4892\nLDR             R1, flt_3A4A08                                         ; +0xd4, 0x3a4894\nLDR             R2, flt_3A4A0C                                         ; +0xd6, 0x3a4896\nB               loc_3A48A8                                             ; +0xd8, 0x3a4898\nLDR             R1, flt_3A4A0C                                         ; +0xda, 0x3a489a\nB               loc_3A48A0                                             ; +0xdc, 0x3a489c\nLDR             R1, flt_3A4A08                                         ; +0xde, 0x3a489e\nMOV             R2, R1                                                 ; +0xe0, 0x3a48a0\nB               loc_3A48A8                                             ; +0xe2, 0x3a48a2\nLDR             R1, flt_3A4A0C; float                                  ; +0xe4, 0x3a48a4\nLDR             R2, flt_3A4A08; float                                  ; +0xe6, 0x3a48a6\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0xe8, 0x3a48a8\nMOV             R1, R7                                                 ; +0xec, 0x3a48ac\nMOV             R0, R9                                                 ; +0xee, 0x3a48ae\nADD.W           R8, R8, #1                                             ; +0xf0, 0x3a48b0\nBL              _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0xf4, 0x3a48b4\nLDR.W           R3, [R11]                                              ; +0xf8, 0x3a48b8\nLDR             R3, [R3,#0x5C]                                         ; +0xfc, 0x3a48bc\nSTR             R3, [SP,#0x4C+var_20]                                  ; +0xfe, 0x3a48be\nLDR             R3, [SP,#0x4C+var_34]                                  ; +0x100, 0x3a48c0\nLDR             R2, [R3]                                               ; +0x102, 0x3a48c2\nMOV             R0, R3                                                 ; +0x104, 0x3a48c4\nLDR             R2, [R2,#0x60]                                         ; +0x106, 0x3a48c6\nBLX             R2                                                     ; +0x108, 0x3a48c8\nMOV             R1, R9                                                 ; +0x10a, 0x3a48ca\nMOV             R2, R0                                                 ; +0x10c, 0x3a48cc\nMOV             R0, R7                                                 ; +0x10e, 0x3a48ce\nBL              _ZNK7cocos2d7CCPointplERKS0_; cocos2d::CCPoint::operator+(cocos2d::CCPoint const&) ; +0x110, 0x3a48d0\nMOV             R0, R11                                                ; +0x114, 0x3a48d4\nMOV             R1, R7                                                 ; +0x116, 0x3a48d6\nLDR             R3, [SP,#0x4C+var_20]                                  ; +0x118, 0x3a48d8\nBLX             R3                                                     ; +0x11a, 0x3a48da\nMOV             R0, R10; this                                          ; +0x11c, 0x3a48dc\nMOV             R1, R11; cocos2d::CCObject *                           ; +0x11e, 0x3a48de\nBL              _ZN7cocos2d7CCArray9addObjectEPNS_8CCObjectE; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x120, 0x3a48e0\nCMP.W           R8, #4                                                 ; +0x124, 0x3a48e4\nBNE             loc_3A4872                                             ; +0x128, 0x3a48e8\nLDR             R3, [SP,#0x4C+var_40]                                  ; +0x12a, 0x3a48ea\nADDS            R3, #1                                                 ; +0x12c, 0x3a48ec\nSTR             R3, [SP,#0x4C+var_40]                                  ; +0x12e, 0x3a48ee\nB               loc_3A4852                                             ; +0x130, 0x3a48f0\nMOV             R10, R6                                                ; +0x132, 0x3a48f2\nBL              _ZN7cocos2d7CCArray6createEv; cocos2d::CCArray::create(void) ; +0x134, 0x3a48f4\nMOV             R1, R10; cocos2d::CCArray *                            ; +0x138, 0x3a48f8\nMOV             R8, R0                                                 ; +0x13a, 0x3a48fa\nBL              _ZN7cocos2d7CCArray19addObjectsFromArrayEPS0_; cocos2d::CCArray::addObjectsFromArray(cocos2d::CCArray*) ; +0x13c, 0x3a48fc\nBL              _ZN7cocos2d7CCArray6createEv; cocos2d::CCArray::create(void) ; +0x140, 0x3a4900\nMOV             R9, R0                                                 ; +0x144, 0x3a4904\nBL              _ZN7cocos2d7CCArray6createEv; cocos2d::CCArray::create(void) ; +0x146, 0x3a4906\nMOV             R3, R8; cocos2d::CCArray *                             ; +0x14a, 0x3a490a\nSTR.W           R9, [SP,#0x4C+var_4C]; cocos2d::CCArray *              ; +0x14c, 0x3a490c\nLDR             R1, [SP,#0x4C+var_38]; int                             ; +0x150, 0x3a4910\nMOV             R2, R10; cocos2d::CCArray *                            ; +0x152, 0x3a4912\nMOV.W           R9, #0                                                 ; +0x154, 0x3a4914\nSTR             R0, [SP,#0x4C+var_48]; cocos2d::CCArray *              ; +0x158, 0x3a4918\nMOV             R7, R0                                                 ; +0x15a, 0x3a491a\nMOV             R0, R4; this                                           ; +0x15c, 0x3a491c\nBL              _ZN8EditorUI27processSmartObjectsFromTypeEiPN7cocos2d7CCArrayES2_S2_S2_; EditorUI::processSmartObjectsFromType(int,cocos2d::CCArray *,cocos2d::CCArray *,cocos2d::CCArray *,cocos2d::CCArray *) ; +0x15e, 0x3a491e\nLDR             R3, [SP,#0x4C+var_3C]                                  ; +0x162, 0x3a4922\nADD.W           R8, R3, #1                                             ; +0x164, 0x3a4924\nMOV             R0, R7; this                                           ; +0x168, 0x3a4928\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x16a, 0x3a492a\nCMP             R9, R0                                                 ; +0x16e, 0x3a492e\nBCS             loc_3A4944                                             ; +0x170, 0x3a4930\nMOV             R1, R9; unsigned int                                   ; +0x172, 0x3a4932\nMOV             R0, R7; this                                           ; +0x174, 0x3a4934\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x176, 0x3a4936\nADD.W           R9, R9, #1                                             ; +0x17a, 0x3a493a\nSTRH.W          R8, [R0,#0x408]                                        ; +0x17e, 0x3a493e\nB               loc_3A4928                                             ; +0x182, 0x3a4942\nMOV             R0, R5; this                                           ; +0x184, 0x3a4944\nMOV             R1, R7; cocos2d::CCArray *                             ; +0x186, 0x3a4946\nBL              _ZN7cocos2d7CCArray19addObjectsFromArrayEPS0_; cocos2d::CCArray::addObjectsFromArray(cocos2d::CCArray*) ; +0x188, 0x3a4948\nMOV             R0, R5; this                                           ; +0x18c, 0x3a494c\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x18e, 0x3a494e\nCMP             R0, #0                                                 ; +0x192, 0x3a4952\nBEQ             loc_3A49F4                                             ; +0x194, 0x3a4954\nMOV             R1, R5; cocos2d::CCArray *                             ; +0x196, 0x3a4956\nMOV             R0, R4; this                                           ; +0x198, 0x3a4958\nBL              _ZN8EditorUI15createRockEdgesEPN7cocos2d7CCArrayE; EditorUI::createRockEdges(cocos2d::CCArray *) ; +0x19a, 0x3a495a\nMOV             R1, R0; cocos2d::CCArray *                             ; +0x19e, 0x3a495e\nCBZ             R0, loc_3A4968                                         ; +0x1a0, 0x3a4960\nMOV             R0, R5; this                                           ; +0x1a2, 0x3a4962\nBL              _ZN7cocos2d7CCArray19addObjectsFromArrayEPS0_; cocos2d::CCArray::addObjectsFromArray(cocos2d::CCArray*) ; +0x1a4, 0x3a4964\nMOV             R1, R5; cocos2d::CCArray *                             ; +0x1a8, 0x3a4968\nMOV             R0, R4; this                                           ; +0x1aa, 0x3a496a\nBL              _ZN8EditorUI15createRockBasesEPN7cocos2d7CCArrayE; EditorUI::createRockBases(cocos2d::CCArray *) ; +0x1ac, 0x3a496c\nMOV             R1, R0; cocos2d::CCArray *                             ; +0x1b0, 0x3a4970\nCBZ             R0, loc_3A497A                                         ; +0x1b2, 0x3a4972\nMOV             R0, R5; this                                           ; +0x1b4, 0x3a4974\nBL              _ZN7cocos2d7CCArray19addObjectsFromArrayEPS0_; cocos2d::CCArray::addObjectsFromArray(cocos2d::CCArray*) ; +0x1b6, 0x3a4976\nMOV             R1, R5; cocos2d::CCArray *                             ; +0x1ba, 0x3a497a\nMOV             R0, R4; this                                           ; +0x1bc, 0x3a497c\nBL              _ZN8EditorUI14createOutlinesEPN7cocos2d7CCArrayE; EditorUI::createOutlines(cocos2d::CCArray *) ; +0x1be, 0x3a497e\nMOV             R1, R0; cocos2d::CCArray *                             ; +0x1c2, 0x3a4982\nCBZ             R0, loc_3A498C                                         ; +0x1c4, 0x3a4984\nMOV             R0, R5; this                                           ; +0x1c6, 0x3a4986\nBL              _ZN7cocos2d7CCArray19addObjectsFromArrayEPS0_; cocos2d::CCArray::addObjectsFromArray(cocos2d::CCArray*) ; +0x1c8, 0x3a4988\nLDR             R3, [SP,#0x4C+var_2C]                                  ; +0x1cc, 0x3a498c\nCBZ             R3, loc_3A49AC                                         ; +0x1ce, 0x3a498e\nLDR             R3, [SP,#0x4C+var_38]                                  ; +0x1d0, 0x3a4990\nSUBW            R3, R3, #0xA8F                                         ; +0x1d2, 0x3a4992\nCMP             R3, #1                                                 ; +0x1d6, 0x3a4996\nBHI             loc_3A49AC                                             ; +0x1d8, 0x3a4998\nMOV             R1, R5; cocos2d::CCArray *                             ; +0x1da, 0x3a499a\nMOV             R0, R4; this                                           ; +0x1dc, 0x3a499c\nBL              _ZN8EditorUI12createExtrasEPN7cocos2d7CCArrayE; EditorUI::createExtras(cocos2d::CCArray *) ; +0x1de, 0x3a499e\nMOV             R1, R0; cocos2d::CCArray *                             ; +0x1e2, 0x3a49a2\nCBZ             R0, loc_3A49AC                                         ; +0x1e4, 0x3a49a4\nMOV             R0, R5; this                                           ; +0x1e6, 0x3a49a6\nBL              _ZN7cocos2d7CCArray19addObjectsFromArrayEPS0_; cocos2d::CCArray::addObjectsFromArray(cocos2d::CCArray*) ; +0x1e8, 0x3a49a8\nMOV             R0, R4; this                                           ; +0x1ec, 0x3a49ac\nBL              _ZN8EditorUI11deselectAllEv; EditorUI::deselectAll(void) ; +0x1ee, 0x3a49ae\nLDR             R3, [SP,#0x4C+var_30]                                  ; +0x1f2, 0x3a49b2\nCBNZ            R3, loc_3A49DE                                         ; +0x1f4, 0x3a49b4\nMOV             R7, R3                                                 ; +0x1f6, 0x3a49b6\nMOV             R0, R6; this                                           ; +0x1f8, 0x3a49b8\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x1fa, 0x3a49ba\nCMP             R7, R0                                                 ; +0x1fe, 0x3a49be\nBCS             loc_3A49D8                                             ; +0x200, 0x3a49c0\nMOV             R1, R7; unsigned int                                   ; +0x202, 0x3a49c2\nMOV             R0, R6; this                                           ; +0x204, 0x3a49c4\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x206, 0x3a49c6\nMOVS            R2, #1; bool                                           ; +0x20a, 0x3a49ca\nADDS            R7, #1                                                 ; +0x20c, 0x3a49cc\nMOV             R1, R0; GameObject *                                   ; +0x20e, 0x3a49ce\nMOV             R0, R4; this                                           ; +0x210, 0x3a49d0\nBL              _ZN8EditorUI12deleteObjectEP10GameObjectb; EditorUI::deleteObject(GameObject *,bool) ; +0x212, 0x3a49d2\nB               loc_3A49B8                                             ; +0x216, 0x3a49d6\nMOV             R0, R4                                                 ; +0x218, 0x3a49d8\nMOV             R1, R5                                                 ; +0x21a, 0x3a49da\nB               loc_3A49E2                                             ; +0x21c, 0x3a49dc\nMOV             R0, R4; this                                           ; +0x21e, 0x3a49de\nMOV             R1, R6; cocos2d::CCArray *                             ; +0x220, 0x3a49e0\nMOVS            R2, #1; bool                                           ; +0x222, 0x3a49e2\nBL              _ZN8EditorUI13selectObjectsEPN7cocos2d7CCArrayEb; EditorUI::selectObjects(cocos2d::CCArray *,bool) ; +0x224, 0x3a49e4\nMOV             R0, R4; this                                           ; +0x228, 0x3a49e8\nBL              _ZN8EditorUI13updateButtonsEv; EditorUI::updateButtons(void) ; +0x22a, 0x3a49ea\nMOV             R0, R4; this                                           ; +0x22e, 0x3a49ee\nBL              _ZN8EditorUI23updateSpecialUIElementsEv; EditorUI::updateSpecialUIElements(void) ; +0x230, 0x3a49f0\nLDR             R3, [SP,#0x4C+var_28]                                  ; +0x234, 0x3a49f4\nLDR             R2, [SP,#0x4C+var_8]                                   ; +0x236, 0x3a49f6\nLDR             R3, [R3]                                               ; +0x238, 0x3a49f8\nCMP             R2, R3                                                 ; +0x23a, 0x3a49fa\nBEQ             loc_3A4A02                                             ; +0x23c, 0x3a49fc\nBLX             __stack_chk_fail                                       ; +0x23e, 0x3a49fe\nADD             SP, SP, #0x4C ; 'L'                                    ; +0x242, 0x3a4a02\nPOP.W           {R4-R11,PC}                                            ; +0x244, 0x3a4a04", "xrefs": ["SetupSmartBlockLayer::onCreate @ 0x53d55e"], "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"}