{"type": "func", "start": 4750496, "end": 4751870, "name": "EditorUI::createSmartObjectsFromTemplate", "pseudocode": "// \n// EditorUI::createSmartObjectsFromTemplate from 0x487ca0 to 0x4881fe (1374 bytes)\n// \n// 2 xrefs:\n// > SetupSmartBlockLayer::onCreate @ 0x6726fc\n// > SetupSmartBlockLayer::onPasteTemplate @ 0x673af4\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:49:27 +0000\n// \n\ncocos2d::CCArray ***__fastcall EditorUI::createSmartObjectsFromTemplate(\n        cocos2d::CCArray ***this,\n        GJSmartTemplate *a2,\n        cocos2d::CCArray *a3,\n        int a4,\n        bool a5,\n        bool a6,\n        bool a7)\n{\n  cocos2d::CCArray ***v7; // r5\n  cocos2d::CCArray *v9; // r0\n  unsigned int v10; // r4\n  SmartGameObject *v11; // r0\n  SmartGameObject *v12; // r8\n  int v13; // r9\n  int v14; // r9\n  cocos2d::CCArray *v15; // r0\n  cocos2d::CCArray *v16; // r9\n  unsigned int i; // r8\n  int v18; // r11\n  unsigned int j; // r10\n  int v20; // r0\n  unsigned __int8 *v21; // r6\n  int v22; // r9\n  _DWORD *SmartNeighbor; // r9\n  cocos2d::CCArray *v24; // r8\n  unsigned int k; // r4\n  int v26; // r3\n  int v27; // r4\n  _BYTE *v28; // r6\n  int v29; // r2\n  SmartGameObject *v30; // r0\n  EditorUI *v31; // r0\n  cocos2d::CCArray *v32; // r1\n  UndoObject *v33; // r0\n  unsigned int m; // r7\n  GameObject *v35; // r0\n  UndoObject *v36; // r0\n  const cocos2d::CCPoint *v37; // r0\n  float v38; // s16\n  cocos2d::CCArray *v39; // [sp+24h] [bp-E0h]\n  cocos2d::CCDictionary *v40; // [sp+28h] [bp-DCh]\n  cocos2d::CCArray *v41; // [sp+2Ch] [bp-D8h]\n  cocos2d::CCDictionary *v42; // [sp+30h] [bp-D4h]\n  _DWORD *v45; // [sp+44h] [bp-C0h]\n  _DWORD *v46; // [sp+48h] [bp-BCh]\n  _DWORD *v47; // [sp+4Ch] [bp-B8h]\n  _DWORD *v48; // [sp+50h] [bp-B4h]\n  _DWORD *v49; // [sp+54h] [bp-B0h]\n  _DWORD *v50; // [sp+58h] [bp-ACh]\n  _DWORD *v51; // [sp+64h] [bp-A0h]\n  float v52[2]; // [sp+6Ch] [bp-98h] BYREF\n  _BYTE v53[12]; // [sp+74h] [bp-90h] BYREF\n  int v54[3]; // [sp+80h] [bp-84h] BYREF\n  int v55[3]; // [sp+8Ch] [bp-78h] BYREF\n  int v56[3]; // [sp+98h] [bp-6Ch] BYREF\n  int v57[3]; // [sp+A4h] [bp-60h] BYREF\n  _BYTE v58[16]; // [sp+B0h] [bp-54h] BYREF\n  float v59[4]; // [sp+C0h] [bp-44h] BYREF\n  int v60; // [sp+D0h] [bp-34h] BYREF\n  _BYTE v61[12]; // [sp+D4h] [bp-30h] BYREF\n  _BYTE v62[20]; // [sp+E0h] [bp-24h] BYREF\n  int v63; // [sp+F4h] [bp-10h]\n  char v64; // [sp+F8h] [bp-Ch]\n  char v65; // [sp+F9h] [bp-Bh]\n\n  v7 = this;\n  if ( a3 )\n  {\n    this = (cocos2d::CCArray ***)cocos2d::CCArray::count(a3);\n    if ( this )\n    {\n      if ( a2 )\n      {\n        if ( !a7 )\n          EditorBuildStats::noteAction((EditorBuildStats *)(v7[236] + 3026));\n        GJSmartTemplate::resetScannedPrefabs(a2);\n        v9 = (cocos2d::CCArray *)EditorUI::deselectAll((EditorUI *)v7);\n        v10 = 0;\n        v41 = (cocos2d::CCArray *)cocos2d::CCArray::create(v9);\n        v39 = (cocos2d::CCArray *)cocos2d::CCArray::create(v41);\n        v42 = (cocos2d::CCDictionary *)cocos2d::CCArray::create(v39);\n        v40 = (cocos2d::CCDictionary *)cocos2d::CCDictionary::create(v42);\n        while ( v10 < cocos2d::CCArray::count(a3) )\n        {\n          v11 = (SmartGameObject *)cocos2d::CCArray::objectAtIndex(a3, v10);\n          v12 = v11;\n          if ( (unsigned int)(*((_DWORD *)v11 + 223) - 2896) <= 1 )\n            GameObject::determineSlopeDirection(v11);\n          if ( a4 )\n          {\n            v13 = (*(int (__fastcall **)(SmartGameObject *))(*(_DWORD *)v12 + 96))(v12);\n            GJSmartTemplate::offsetForObject((GJSmartTemplate *)v59, v12);\n            cocos2d::CCPoint::operator+(v52, v13, v59);\n            cocos2d::CCRect::CCRect((cocos2d::CCRect *)v58, v52[0] - 37.5, v52[1] - 37.5, 75.0, 75.0);\n            v14 = (int)v7[236];\n            cocos2d::CCRect::CCRect((cocos2d::CCRect *)v59, (const cocos2d::CCRect *)v58);\n            v15 = LevelEditorLayer::objectsInRect(v14, v59, 1);\n            v16 = v15;\n            if ( v15 )\n            {\n              if ( cocos2d::CCArray::count(v15) )\n              {\n                for ( i = 0; i < cocos2d::CCArray::count(v16); ++i )\n                {\n                  v18 = cocos2d::CCArray::objectAtIndex(v16, i);\n                  if ( *(_DWORD *)(v18 + 1084) == 5 && !cocos2d::CCArray::containsObject(a3, (cocos2d::CCObject *)v18) )\n                  {\n                    cocos2d::CCArray::addObject(a3, (cocos2d::CCObject *)v18);\n                    cocos2d::CCDictionary::setObject(v40, (cocos2d::CCObject *)v18, *(_DWORD *)(v18 + 780));\n                    (*(void (__fastcall **)(int, _DWORD))(*(_DWORD *)v18 + 36))(v18, *(unsigned __int8 *)(v18 + 1167));\n                    *(_BYTE *)(v18 + 1167) = 1;\n                  }\n                }\n              }\n            }\n          }\n          ++v10;\n        }\n        for ( j = 0; j < cocos2d::CCArray::count(a3); ++j )\n        {\n          v20 = cocos2d::CCArray::objectAtIndex(a3, j);\n          v21 = (unsigned __int8 *)v20;\n          if ( *(_BYTE *)(v20 + 1167) )\n          {\n            if ( !cocos2d::CCDictionary::objectForKey(v40, *(_DWORD *)(v20 + 780)) )\n              cocos2d::CCArray::addObject(v39, (cocos2d::CCObject *)v21);\n          }\n          else\n          {\n            v22 = (*(int (__fastcall **)(int))(*(_DWORD *)v20 + 96))(v20);\n            GJSmartTemplate::offsetForObject((GJSmartTemplate *)v59, (SmartGameObject *)v21);\n            cocos2d::CCPoint::operator+(v52, v22, v59);\n            cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v59, (const cocos2d::CCPoint *)v52);\n            SmartNeighbor = EditorUI::getSmartNeighbor((int)v7, (int)v21, (int)v59, 1, a3);\n            cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v59, (const cocos2d::CCPoint *)v52);\n            v45 = EditorUI::getSmartNeighbor((int)v7, (int)v21, (int)v59, 2, a3);\n            cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v59, (const cocos2d::CCPoint *)v52);\n            v46 = EditorUI::getSmartNeighbor((int)v7, (int)v21, (int)v59, 3, a3);\n            cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v59, (const cocos2d::CCPoint *)v52);\n            v47 = EditorUI::getSmartNeighbor((int)v7, (int)v21, (int)v59, 4, a3);\n            cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v59, (const cocos2d::CCPoint *)v52);\n            v48 = EditorUI::getSmartNeighbor((int)v7, (int)v21, (int)v59, 5, a3);\n            cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v59, (const cocos2d::CCPoint *)v52);\n            v49 = EditorUI::getSmartNeighbor((int)v7, (int)v21, (int)v59, 6, a3);\n            cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v59, (const cocos2d::CCPoint *)v52);\n            v50 = EditorUI::getSmartNeighbor((int)v7, (int)v21, (int)v59, 7, a3);\n            cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v59, (const cocos2d::CCPoint *)v52);\n            v51 = EditorUI::getSmartNeighbor((int)v7, (int)v21, (int)v59, 8, a3);\n            cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v59, (const cocos2d::CCPoint *)v52);\n            GJSmartTemplate::keyFromNeighbors(v53, v59, v21, SmartNeighbor, v45, v46, v47, v48, v49, v50, v51);\n            std::string::basic_string(v54, (int)v53);\n            GJSmartTemplate::scanForPrefab(&v60, a2, v54);\n            std::string::~string((int)v54);\n            if ( v60 )\n            {\n              cocos2d::CCArray::addObject(v42, (cocos2d::CCObject *)v21);\n              std::string::basic_string(v55, (int)v62);\n              std::string::operator=(v21 + 1168, (unsigned __int8 *)v55);\n              std::string::~string((int)v55);\n              if ( !a7 )\n              {\n                std::string::basic_string(v56, v60 + 64);\n                v24 = (cocos2d::CCArray *)EditorUI::pasteObjects((int)v7, (int)v56);\n                std::string::~string((int)v56);\n                if ( v24 )\n                {\n                  if ( cocos2d::CCArray::count(v24) )\n                  {\n                    v37 = (const cocos2d::CCPoint *)(*(int (__fastcall **)(unsigned __int8 *))(*(_DWORD *)v21 + 96))(v21);\n                    cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v58, v37);\n                    cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v59, (const cocos2d::CCPoint *)v58);\n                    EditorUI::repositionObjectsToCenter(v7, v24, v59, 0);\n                    if ( v65 )\n                      EditorUI::flipObjectsY((EditorUI *)v7, v24);\n                    if ( v64 )\n                      EditorUI::flipObjectsX((EditorUI *)v7, v24);\n                    if ( v63 > 0 )\n                    {\n                      v38 = (float)-v63;\n                      cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v59, (const cocos2d::CCPoint *)&flt_D2B938);\n                      EditorUI::rotateObjects(v7, v24, LODWORD(v38), v59, 0);\n                    }\n                    cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v59, (const cocos2d::CCPoint *)v58);\n                    EditorUI::repositionObjectsToCenter(v7, v24, v59, 0);\n                    EditorUI::deleteSmartBlocksFromObjects((GJBaseGameLayer **)v7, v24);\n                    cocos2d::CCArray::addObjectsFromArray(v41, v24);\n                    cocos2d::CCArray::addObject(v39, (cocos2d::CCObject *)v21);\n                  }\n                }\n              }\n            }\n            else\n            {\n              memset(v57, 0, sizeof(v57));\n              std::string::__init(v57, &unk_B6B226, 0);\n              std::string::operator=(v21 + 1168, (unsigned __int8 *)v57);\n              std::string::~string((int)v57);\n            }\n            std::string::~string((int)v62);\n            std::string::~string((int)v61);\n            std::string::~string((int)v53);\n          }\n        }\n        if ( a4 && v40 )\n        {\n          v26 = *((_DWORD *)v40 + 13);\n          if ( v26 )\n            v27 = *(_DWORD *)(v26 + 272);\n          else\n            v27 = 0;\n          while ( v26 )\n          {\n            v28 = *(_BYTE **)(v26 + 260);\n            v28[1167] = (*(int (__fastcall **)(_BYTE *))(*(_DWORD *)v28 + 32))(v28) != 0;\n            if ( v27 )\n              v29 = *(_DWORD *)(v27 + 272);\n            else\n              v29 = 0;\n            v26 = v27;\n            v27 = v29;\n          }\n        }\n        EditorUI::deselectAll((EditorUI *)v7);\n        if ( a6 )\n        {\n          for ( k = 0; k < cocos2d::CCArray::count(v42); ++k )\n          {\n            v30 = (SmartGameObject *)cocos2d::CCArray::objectAtIndex(v42, k);\n            *((_BYTE *)v30 + 1167) = 1;\n            SmartGameObject::updateSmartFrame(v30);\n          }\n        }\n        else if ( !a5 )\n        {\n          v33 = UndoObject::createWithArray(v39, 4);\n          LevelEditorLayer::addToUndoList(v7[236], v33, 0);\n          for ( m = 0; m < cocos2d::CCArray::count(v39); ++m )\n          {\n            v35 = (GameObject *)cocos2d::CCArray::objectAtIndex(v39, m);\n            EditorUI::deleteObject((EditorUI *)v7, v35, 1);\n          }\n          v32 = v41;\n          v31 = (EditorUI *)v7;\n          goto LABEL_54;\n        }\n        v31 = (EditorUI *)v7;\n        v32 = a3;\nLABEL_54:\n        EditorUI::selectObjects(v31, v32, 1);\n        v36 = UndoObject::createWithArray(v41, 3);\n        LevelEditorLayer::addToUndoList(v7[236], v36, 0);\n        return (cocos2d::CCArray ***)EditorUI::updateSelectionUI((EditorUI *)v7);\n      }\n    }\n  }\n  return this;\n}", "assembly": "; \n; EditorUI::createSmartObjectsFromTemplate from 0x487ca0 to 0x4881fe (1374 bytes)\n; \n; 2 xrefs:\n; > SetupSmartBlockLayer::onCreate @ 0x6726fc\n; > SetupSmartBlockLayer::onPasteTemplate @ 0x673af4\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:49:27 +0000\n; \nPUSH.W          {R4-R11,LR}                                            ; +0x0, 0x487ca0\nMOV             R5, R0                                                 ; +0x4, 0x487ca4\nVPUSH           {D8}                                                   ; +0x6, 0x487ca6\nMOV             R7, R2                                                 ; +0xa, 0x487caa\nSUB             SP, SP, #0x104; float                                  ; +0xc, 0x487cac\nSTR             R3, [SP,#0x104+var_C8]                                 ; +0xe, 0x487cae\nLDRB.W          R3, [SP,#0x104+arg_0]                                  ; +0x10, 0x487cb0\nSTR             R1, [SP,#0x104+var_D0]                                 ; +0x14, 0x487cb4\nSTR             R3, [SP,#0x104+var_CC]                                 ; +0x16, 0x487cb6\nLDRB.W          R3, [SP,#0x104+arg_8]                                  ; +0x18, 0x487cb8\nSTR             R3, [SP,#0x104+var_C4]                                 ; +0x1c, 0x487cbc\nLDR             R3, =(__stack_chk_guard_ptr - 0x487CC4)                ; +0x1e, 0x487cbe\nADD             R3, PC; __stack_chk_guard_ptr                          ; +0x20, 0x487cc0\nLDR             R3, [R3]; __stack_chk_guard                            ; +0x22, 0x487cc2\nSTR             R3, [SP,#0x104+var_A8]                                 ; +0x24, 0x487cc4\nLDR             R1, [R3]                                               ; +0x26, 0x487cc6\nSTR             R1, [SP,#0x104+var_8]                                  ; +0x28, 0x487cc8\nCMP             R2, #0                                                 ; +0x2a, 0x487cca\nBEQ.W           loc_4881E6                                             ; +0x2c, 0x487ccc\nMOV             R0, R2; this                                           ; +0x30, 0x487cd0\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x32, 0x487cd2\nCMP             R0, #0                                                 ; +0x36, 0x487cd6\nBEQ.W           loc_4881E6                                             ; +0x38, 0x487cd8\nLDR             R3, [SP,#0x104+var_D0]                                 ; +0x3c, 0x487cdc\nCMP             R3, #0                                                 ; +0x3e, 0x487cde\nBEQ.W           loc_4881E6                                             ; +0x40, 0x487ce0\nLDR             R3, [SP,#0x104+var_C4]                                 ; +0x44, 0x487ce4\nCBNZ            R3, loc_487CF6                                         ; +0x46, 0x487ce6\nLDR.W           R0, [R5,#0x3B0]                                        ; +0x48, 0x487ce8\nADD.W           R0, R0, #0x2F40                                        ; +0x4c, 0x487cec\nADDS            R0, #8; this                                           ; +0x50, 0x487cf0\nBL              _ZN16EditorBuildStats10noteActionEv; EditorBuildStats::noteAction(void) ; +0x52, 0x487cf2\nLDR             R0, [SP,#0x104+var_D0]; this                           ; +0x56, 0x487cf6\nADD             R6, SP, #0x104+var_44                                  ; +0x58, 0x487cf8\nBL              _ZN15GJSmartTemplate19resetScannedPrefabsEv; GJSmartTemplate::resetScannedPrefabs(void) ; +0x5a, 0x487cfa\nMOV             R0, R5; this                                           ; +0x5e, 0x487cfe\nBL              _ZN8EditorUI11deselectAllEv; EditorUI::deselectAll(void) ; +0x60, 0x487d00\nVLDR            S16, =37.5                                             ; +0x64, 0x487d04\nBL              _ZN7cocos2d7CCArray6createEv; cocos2d::CCArray::create(void) ; +0x68, 0x487d08\nMOVS            R4, #0                                                 ; +0x6c, 0x487d0c\nVLDR            S17, =75.0                                             ; +0x6e, 0x487d0e\nSTR             R0, [SP,#0x104+var_D8]                                 ; +0x72, 0x487d12\nBL              _ZN7cocos2d7CCArray6createEv; cocos2d::CCArray::create(void) ; +0x74, 0x487d14\nSTR             R0, [SP,#0x104+var_E0]                                 ; +0x78, 0x487d18\nBL              _ZN7cocos2d7CCArray6createEv; cocos2d::CCArray::create(void) ; +0x7a, 0x487d1a\nSTR             R0, [SP,#0x104+var_D4]                                 ; +0x7e, 0x487d1e\nBL              _ZN7cocos2d12CCDictionary6createEv; cocos2d::CCDictionary::create(void) ; +0x80, 0x487d20\nSTR             R0, [SP,#0x104+var_DC]                                 ; +0x84, 0x487d24\nMOV             R0, R7; this                                           ; +0x86, 0x487d26\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x88, 0x487d28\nCMP             R4, R0                                                 ; +0x8c, 0x487d2c\nBCS             loc_487E12                                             ; +0x8e, 0x487d2e\nMOV             R0, R7; this                                           ; +0x90, 0x487d30\nMOV             R1, R4; unsigned int                                   ; +0x92, 0x487d32\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x94, 0x487d34\nLDR.W           R3, [R0,#0x37C]                                        ; +0x98, 0x487d38\nMOV             R8, R0                                                 ; +0x9c, 0x487d3c\nSUB.W           R3, R3, #0xB50                                         ; +0x9e, 0x487d3e\nCMP             R3, #1                                                 ; +0xa2, 0x487d42\nBLS.W           loc_488140                                             ; +0xa4, 0x487d44\nLDR             R3, [SP,#0x104+var_C8]                                 ; +0xa8, 0x487d48\nCMP             R3, #0                                                 ; +0xaa, 0x487d4a\nBEQ             loc_487E0E                                             ; +0xac, 0x487d4c\nLDR.W           R3, [R8]                                               ; +0xae, 0x487d4e\nMOV             R0, R8                                                 ; +0xb2, 0x487d52\nLDR             R3, [R3,#0x60]                                         ; +0xb4, 0x487d54\nBLX             R3                                                     ; +0xb6, 0x487d56\nMOV             R1, R8                                                 ; +0xb8, 0x487d58\nADD.W           R8, SP, #0x104+var_54                                  ; +0xba, 0x487d5a\nMOV             R9, R0                                                 ; +0xbe, 0x487d5e\nMOV             R0, R6                                                 ; +0xc0, 0x487d60\nBL              _ZN15GJSmartTemplate15offsetForObjectEP15SmartGameObject; GJSmartTemplate::offsetForObject(SmartGameObject *) ; +0xc2, 0x487d62\nMOV             R1, R9                                                 ; +0xc6, 0x487d66\nADD             R0, SP, #0x104+var_98                                  ; +0xc8, 0x487d68\nMOV             R2, R6                                                 ; +0xca, 0x487d6a\nBL              _ZNK7cocos2d7CCPointplERKS0_; cocos2d::CCPoint::operator+(cocos2d::CCPoint const&) ; +0xcc, 0x487d6c\nVLDR            S15, [SP,#0x104+var_98]                                ; +0xd0, 0x487d70\nLDR             R3, flt_48802C; float                                  ; +0xd4, 0x487d74\nMOV             R0, R8; this                                           ; +0xd6, 0x487d76\nVSTR            S17, [SP,#0x104+var_104]                               ; +0xd8, 0x487d78\nVSUB.F32        S15, S15, S16                                          ; +0xdc, 0x487d7c\nVMOV            R1, S15; float                                         ; +0xe0, 0x487d80\nVLDR            S15, [SP,#0x104+var_94]                                ; +0xe4, 0x487d84\nVSUB.F32        S15, S15, S16                                          ; +0xe8, 0x487d88\nVMOV            R2, S15; float                                         ; +0xec, 0x487d8c\nBL              _ZN7cocos2d6CCRectC1Effff; cocos2d::CCRect::CCRect(float,float,float,float) ; +0xf0, 0x487d90\nLDR.W           R9, [R5,#0x3B0]                                        ; +0xf4, 0x487d94\nMOV             R1, R8; cocos2d::CCRect *                              ; +0xf8, 0x487d98\nMOV             R0, R6; this                                           ; +0xfa, 0x487d9a\nBL              _ZN7cocos2d6CCRectC1ERKS0_; cocos2d::CCRect::CCRect(cocos2d::CCRect const&) ; +0xfc, 0x487d9c\nMOV             R1, R6                                                 ; +0x100, 0x487da0\nMOV             R0, R9                                                 ; +0x102, 0x487da2\nMOVS            R2, #1                                                 ; +0x104, 0x487da4\nBL              _ZN16LevelEditorLayer13objectsInRectEN7cocos2d6CCRectEb; LevelEditorLayer::objectsInRect(cocos2d::CCRect,bool) ; +0x106, 0x487da6\nMOV             R9, R0                                                 ; +0x10a, 0x487daa\nCBZ             R0, loc_487E0E                                         ; +0x10c, 0x487dac\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x10e, 0x487dae\nCBZ             R0, loc_487E0E                                         ; +0x112, 0x487db2\nMOV.W           R8, #0                                                 ; +0x114, 0x487db4\nMOV.W           R10, #1                                                ; +0x118, 0x487db8\nMOV             R0, R9; this                                           ; +0x11c, 0x487dbc\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x11e, 0x487dbe\nCMP             R8, R0                                                 ; +0x122, 0x487dc2\nBCS             loc_487E0E                                             ; +0x124, 0x487dc4\nMOV             R0, R9; this                                           ; +0x126, 0x487dc6\nMOV             R1, R8; unsigned int                                   ; +0x128, 0x487dc8\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x12a, 0x487dca\nLDR.W           R3, [R0,#0x43C]                                        ; +0x12e, 0x487dce\nMOV             R11, R0                                                ; +0x132, 0x487dd2\nCMP             R3, #5                                                 ; +0x134, 0x487dd4\nBNE             loc_487E08                                             ; +0x136, 0x487dd6\nMOV             R0, R7; this                                           ; +0x138, 0x487dd8\nMOV             R1, R11; cocos2d::CCObject *                           ; +0x13a, 0x487dda\nBL              _ZNK7cocos2d7CCArray14containsObjectEPNS_8CCObjectE; cocos2d::CCArray::containsObject(cocos2d::CCObject *) ; +0x13c, 0x487ddc\nCBNZ            R0, loc_487E08                                         ; +0x140, 0x487de0\nMOV             R0, R7; this                                           ; +0x142, 0x487de2\nMOV             R1, R11; cocos2d::CCObject *                           ; +0x144, 0x487de4\nBL              _ZN7cocos2d7CCArray9addObjectEPNS_8CCObjectE; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x146, 0x487de6\nLDR             R0, [SP,#0x104+var_DC]; this                           ; +0x14a, 0x487dea\nMOV             R1, R11; cocos2d::CCObject *                           ; +0x14c, 0x487dec\nLDR.W           R2, [R11,#0x30C]; int                                  ; +0x14e, 0x487dee\nBL              _ZN7cocos2d12CCDictionary9setObjectEPNS_8CCObjectEi; cocos2d::CCDictionary::setObject(cocos2d::CCObject *,int) ; +0x152, 0x487df2\nLDR.W           R3, [R11]                                              ; +0x156, 0x487df6\nMOV             R0, R11                                                ; +0x15a, 0x487dfa\nLDRB.W          R1, [R11,#0x48F]                                       ; +0x15c, 0x487dfc\nLDR             R3, [R3,#0x24]                                         ; +0x160, 0x487e00\nBLX             R3                                                     ; +0x162, 0x487e02\nSTRB.W          R10, [R11,#0x48F]                                      ; +0x164, 0x487e04\nADD.W           R8, R8, #1                                             ; +0x168, 0x487e08\nB               loc_487DBC                                             ; +0x16c, 0x487e0c\nADDS            R4, #1                                                 ; +0x16e, 0x487e0e\nB               loc_487D26                                             ; +0x170, 0x487e10\nLDR.W           R11, =(unk_B6B226 - 0x487E22)                          ; +0x172, 0x487e12\nADD             R4, SP, #0x104+var_44                                  ; +0x176, 0x487e16\nLDR             R3, =(flt_D2B938 - 0x487E24)                           ; +0x178, 0x487e18\nMOV.W           R10, #0                                                ; +0x17a, 0x487e1a\nADD             R11, PC; unk_B6B226                                    ; +0x17e, 0x487e1e\nADD             R3, PC; flt_D2B938                                     ; +0x180, 0x487e20\nSTR             R3, [SP,#0x104+var_A4]                                 ; +0x182, 0x487e22\nMOV             R0, R7; this                                           ; +0x184, 0x487e24\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x186, 0x487e26\nCMP             R10, R0                                                ; +0x18a, 0x487e2a\nBCS.W           loc_48803C                                             ; +0x18c, 0x487e2c\nMOV             R0, R7; this                                           ; +0x190, 0x487e30\nMOV             R1, R10; unsigned int                                  ; +0x192, 0x487e32\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x194, 0x487e34\nLDRB.W          R3, [R0,#0x48F]                                        ; +0x198, 0x487e38\nMOV             R6, R0                                                 ; +0x19c, 0x487e3c\nCMP             R3, #0                                                 ; +0x19e, 0x487e3e\nBNE.W           loc_48800A                                             ; +0x1a0, 0x487e40\nLDR             R3, [R0]                                               ; +0x1a4, 0x487e44\nADD.W           R8, SP, #0x104+var_98                                  ; +0x1a6, 0x487e46\nLDR             R3, [R3,#0x60]                                         ; +0x1aa, 0x487e4a\nBLX             R3                                                     ; +0x1ac, 0x487e4c\nMOV             R1, R6                                                 ; +0x1ae, 0x487e4e\nMOV             R9, R0                                                 ; +0x1b0, 0x487e50\nMOV             R0, R4                                                 ; +0x1b2, 0x487e52\nBL              _ZN15GJSmartTemplate15offsetForObjectEP15SmartGameObject; GJSmartTemplate::offsetForObject(SmartGameObject *) ; +0x1b4, 0x487e54\nMOV             R0, R8                                                 ; +0x1b8, 0x487e58\nMOV             R1, R9                                                 ; +0x1ba, 0x487e5a\nMOV             R2, R4                                                 ; +0x1bc, 0x487e5c\nBL              _ZNK7cocos2d7CCPointplERKS0_; cocos2d::CCPoint::operator+(cocos2d::CCPoint const&) ; +0x1be, 0x487e5e\nMOV             R1, R8; cocos2d::CCPoint *                             ; +0x1c2, 0x487e62\nMOV             R0, R4; this                                           ; +0x1c4, 0x487e64\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x1c6, 0x487e66\nMOV             R2, R4                                                 ; +0x1ca, 0x487e6a\nMOVS            R3, #1                                                 ; +0x1cc, 0x487e6c\nMOV             R1, R6                                                 ; +0x1ce, 0x487e6e\nSTR             R7, [SP,#0x104+var_104]                                ; +0x1d0, 0x487e70\nMOV             R0, R5                                                 ; +0x1d2, 0x487e72\nBL              _ZN8EditorUI16getSmartNeighborEP15SmartGameObjectN7cocos2d7CCPointE16GJSmartDirectionPNS2_7CCArrayE; EditorUI::getSmartNeighbor(SmartGameObject *,cocos2d::CCPoint,GJSmartDirection,cocos2d::CCArray *) ; +0x1d4, 0x487e74\nMOV             R1, R8; cocos2d::CCPoint *                             ; +0x1d8, 0x487e78\nMOV             R9, R0                                                 ; +0x1da, 0x487e7a\nMOV             R0, R4; this                                           ; +0x1dc, 0x487e7c\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x1de, 0x487e7e\nMOV             R2, R4                                                 ; +0x1e2, 0x487e82\nMOVS            R3, #2                                                 ; +0x1e4, 0x487e84\nMOV             R1, R6                                                 ; +0x1e6, 0x487e86\nSTR             R7, [SP,#0x104+var_104]                                ; +0x1e8, 0x487e88\nMOV             R0, R5                                                 ; +0x1ea, 0x487e8a\nBL              _ZN8EditorUI16getSmartNeighborEP15SmartGameObjectN7cocos2d7CCPointE16GJSmartDirectionPNS2_7CCArrayE; EditorUI::getSmartNeighbor(SmartGameObject *,cocos2d::CCPoint,GJSmartDirection,cocos2d::CCArray *) ; +0x1ec, 0x487e8c\nMOV             R1, R8; cocos2d::CCPoint *                             ; +0x1f0, 0x487e90\nSTR             R0, [SP,#0x104+var_C0]                                 ; +0x1f2, 0x487e92\nMOV             R0, R4; this                                           ; +0x1f4, 0x487e94\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x1f6, 0x487e96\nMOV             R2, R4                                                 ; +0x1fa, 0x487e9a\nMOVS            R3, #3                                                 ; +0x1fc, 0x487e9c\nMOV             R1, R6                                                 ; +0x1fe, 0x487e9e\nSTR             R7, [SP,#0x104+var_104]                                ; +0x200, 0x487ea0\nMOV             R0, R5                                                 ; +0x202, 0x487ea2\nBL              _ZN8EditorUI16getSmartNeighborEP15SmartGameObjectN7cocos2d7CCPointE16GJSmartDirectionPNS2_7CCArrayE; EditorUI::getSmartNeighbor(SmartGameObject *,cocos2d::CCPoint,GJSmartDirection,cocos2d::CCArray *) ; +0x204, 0x487ea4\nMOV             R1, R8; cocos2d::CCPoint *                             ; +0x208, 0x487ea8\nSTR             R0, [SP,#0x104+var_BC]                                 ; +0x20a, 0x487eaa\nMOV             R0, R4; this                                           ; +0x20c, 0x487eac\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x20e, 0x487eae\nMOV             R2, R4                                                 ; +0x212, 0x487eb2\nMOVS            R3, #4                                                 ; +0x214, 0x487eb4\nMOV             R1, R6                                                 ; +0x216, 0x487eb6\nSTR             R7, [SP,#0x104+var_104]                                ; +0x218, 0x487eb8\nMOV             R0, R5                                                 ; +0x21a, 0x487eba\nBL              _ZN8EditorUI16getSmartNeighborEP15SmartGameObjectN7cocos2d7CCPointE16GJSmartDirectionPNS2_7CCArrayE; EditorUI::getSmartNeighbor(SmartGameObject *,cocos2d::CCPoint,GJSmartDirection,cocos2d::CCArray *) ; +0x21c, 0x487ebc\nMOV             R1, R8; cocos2d::CCPoint *                             ; +0x220, 0x487ec0\nSTR             R0, [SP,#0x104+var_B8]                                 ; +0x222, 0x487ec2\nMOV             R0, R4; this                                           ; +0x224, 0x487ec4\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x226, 0x487ec6\nMOV             R2, R4                                                 ; +0x22a, 0x487eca\nMOVS            R3, #5                                                 ; +0x22c, 0x487ecc\nMOV             R1, R6                                                 ; +0x22e, 0x487ece\nSTR             R7, [SP,#0x104+var_104]                                ; +0x230, 0x487ed0\nMOV             R0, R5                                                 ; +0x232, 0x487ed2\nBL              _ZN8EditorUI16getSmartNeighborEP15SmartGameObjectN7cocos2d7CCPointE16GJSmartDirectionPNS2_7CCArrayE; EditorUI::getSmartNeighbor(SmartGameObject *,cocos2d::CCPoint,GJSmartDirection,cocos2d::CCArray *) ; +0x234, 0x487ed4\nMOV             R1, R8; cocos2d::CCPoint *                             ; +0x238, 0x487ed8\nSTR             R0, [SP,#0x104+var_B4]                                 ; +0x23a, 0x487eda\nMOV             R0, R4; this                                           ; +0x23c, 0x487edc\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x23e, 0x487ede\nMOV             R2, R4                                                 ; +0x242, 0x487ee2\nMOVS            R3, #6                                                 ; +0x244, 0x487ee4\nMOV             R1, R6                                                 ; +0x246, 0x487ee6\nSTR             R7, [SP,#0x104+var_104]                                ; +0x248, 0x487ee8\nMOV             R0, R5                                                 ; +0x24a, 0x487eea\nBL              _ZN8EditorUI16getSmartNeighborEP15SmartGameObjectN7cocos2d7CCPointE16GJSmartDirectionPNS2_7CCArrayE; EditorUI::getSmartNeighbor(SmartGameObject *,cocos2d::CCPoint,GJSmartDirection,cocos2d::CCArray *) ; +0x24c, 0x487eec\nMOV             R1, R8; cocos2d::CCPoint *                             ; +0x250, 0x487ef0\nSTR             R0, [SP,#0x104+var_B0]                                 ; +0x252, 0x487ef2\nMOV             R0, R4; this                                           ; +0x254, 0x487ef4\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x256, 0x487ef6\nMOV             R2, R4                                                 ; +0x25a, 0x487efa\nMOVS            R3, #7                                                 ; +0x25c, 0x487efc\nMOV             R1, R6                                                 ; +0x25e, 0x487efe\nSTR             R7, [SP,#0x104+var_104]                                ; +0x260, 0x487f00\nMOV             R0, R5                                                 ; +0x262, 0x487f02\nBL              _ZN8EditorUI16getSmartNeighborEP15SmartGameObjectN7cocos2d7CCPointE16GJSmartDirectionPNS2_7CCArrayE; EditorUI::getSmartNeighbor(SmartGameObject *,cocos2d::CCPoint,GJSmartDirection,cocos2d::CCArray *) ; +0x264, 0x487f04\nMOV             R1, R8; cocos2d::CCPoint *                             ; +0x268, 0x487f08\nSTR             R0, [SP,#0x104+var_AC]                                 ; +0x26a, 0x487f0a\nMOV             R0, R4; this                                           ; +0x26c, 0x487f0c\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x26e, 0x487f0e\nMOV             R2, R4                                                 ; +0x272, 0x487f12\nMOVS            R3, #8                                                 ; +0x274, 0x487f14\nMOV             R1, R6                                                 ; +0x276, 0x487f16\nSTR             R7, [SP,#0x104+var_104]                                ; +0x278, 0x487f18\nMOV             R0, R5                                                 ; +0x27a, 0x487f1a\nBL              _ZN8EditorUI16getSmartNeighborEP15SmartGameObjectN7cocos2d7CCPointE16GJSmartDirectionPNS2_7CCArrayE; EditorUI::getSmartNeighbor(SmartGameObject *,cocos2d::CCPoint,GJSmartDirection,cocos2d::CCArray *) ; +0x27c, 0x487f1c\nMOV             R1, R8; cocos2d::CCPoint *                             ; +0x280, 0x487f20\nADD.W           R8, SP, #0x104+var_90                                  ; +0x282, 0x487f22\nSTR             R0, [SP,#0x104+var_A0]                                 ; +0x286, 0x487f26\nMOV             R0, R4; this                                           ; +0x288, 0x487f28\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x28a, 0x487f2a\nLDR             R3, [SP,#0x104+var_C0]                                 ; +0x28e, 0x487f2e\nMOV             R0, R8                                                 ; +0x290, 0x487f30\nMOV             R1, R4                                                 ; +0x292, 0x487f32\nMOV             R2, R6                                                 ; +0x294, 0x487f34\nSTR             R3, [SP,#0x104+var_104]                                ; +0x296, 0x487f36\nLDR             R3, [SP,#0x104+var_BC]                                 ; +0x298, 0x487f38\nSTR             R3, [SP,#0x104+var_100]                                ; +0x29a, 0x487f3a\nLDR             R3, [SP,#0x104+var_B8]                                 ; +0x29c, 0x487f3c\nSTR             R3, [SP,#0x104+var_FC]                                 ; +0x29e, 0x487f3e\nLDR             R3, [SP,#0x104+var_B4]                                 ; +0x2a0, 0x487f40\nSTR             R3, [SP,#0x104+var_F8]                                 ; +0x2a2, 0x487f42\nLDR             R3, [SP,#0x104+var_B0]                                 ; +0x2a4, 0x487f44\nSTR             R3, [SP,#0x104+var_F4]                                 ; +0x2a6, 0x487f46\nLDR             R3, [SP,#0x104+var_AC]                                 ; +0x2a8, 0x487f48\nSTR             R3, [SP,#0x104+var_F0]                                 ; +0x2aa, 0x487f4a\nLDR             R3, [SP,#0x104+var_A0]                                 ; +0x2ac, 0x487f4c\nSTR             R3, [SP,#0x104+var_EC]                                 ; +0x2ae, 0x487f4e\nMOV             R3, R9                                                 ; +0x2b0, 0x487f50\nADD.W           R9, SP, #0x104+var_84                                  ; +0x2b2, 0x487f52\nBL              _ZN15GJSmartTemplate16keyFromNeighborsEN7cocos2d7CCPointEP15SmartGameObjectS3_S3_S3_S3_S3_S3_S3_S3_; GJSmartTemplate::keyFromNeighbors(cocos2d::CCPoint,SmartGameObject *,SmartGameObject *,SmartGameObject *,SmartGameObject *,SmartGameObject *,SmartGameObject *,SmartGameObject *,SmartGameObject *,SmartGameObject *) ; +0x2b6, 0x487f56\nMOV             R1, R8                                                 ; +0x2ba, 0x487f5a\nMOV             R0, R9                                                 ; +0x2bc, 0x487f5c\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2ERKS5_; std::string::basic_string(std::string const&) ; +0x2be, 0x487f5e\nADD             R0, SP, #0x104+var_34                                  ; +0x2c2, 0x487f62\nLDR             R1, [SP,#0x104+var_D0]                                 ; +0x2c4, 0x487f64\nMOV             R2, R9                                                 ; +0x2c6, 0x487f66\nBL              _ZN15GJSmartTemplate13scanForPrefabENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE; GJSmartTemplate::scanForPrefab(std::string) ; +0x2c8, 0x487f68\nADD             R0, SP, #0x104+var_84                                  ; +0x2cc, 0x487f6c\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x2ce, 0x487f6e\nLDR             R2, [SP,#0x104+var_34]                                 ; +0x2d2, 0x487f72\nCBZ             R2, loc_487FD4                                         ; +0x2d4, 0x487f74\nLDR             R0, [SP,#0x104+var_D4]; this                           ; +0x2d6, 0x487f76\nMOV             R1, R6; cocos2d::CCObject *                            ; +0x2d8, 0x487f78\nBL              _ZN7cocos2d7CCArray9addObjectEPNS_8CCObjectE; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x2da, 0x487f7a\nADD.W           R8, SP, #0x104+var_78                                  ; +0x2de, 0x487f7e\nADD             R1, SP, #0x104+var_24                                  ; +0x2e2, 0x487f82\nMOV             R0, R8                                                 ; +0x2e4, 0x487f84\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2ERKS5_; std::string::basic_string(std::string const&) ; +0x2e6, 0x487f86\nADD.W           R0, R6, #0x490                                         ; +0x2ea, 0x487f8a\nMOV             R1, R8                                                 ; +0x2ee, 0x487f8e\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEaSERKS5_; std::string::operator=(std::string const&) ; +0x2f0, 0x487f90\nADD             R0, SP, #0x104+var_78                                  ; +0x2f4, 0x487f94\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x2f6, 0x487f96\nLDR             R3, [SP,#0x104+var_C4]                                 ; +0x2fa, 0x487f9a\nCBNZ            R3, loc_487FF6                                         ; +0x2fc, 0x487f9c\nADD.W           R8, SP, #0x104+var_6C                                  ; +0x2fe, 0x487f9e\nLDR             R1, [SP,#0x104+var_34]                                 ; +0x302, 0x487fa2\nMOV             R0, R8                                                 ; +0x304, 0x487fa4\nADDS            R1, #0x40 ; '@'                                        ; +0x306, 0x487fa6\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2ERKS5_; std::string::basic_string(std::string const&) ; +0x308, 0x487fa8\nMOV             R0, R5; int                                            ; +0x30c, 0x487fac\nMOV             R1, R8; int                                            ; +0x30e, 0x487fae\nMOVS            R2, #0                                                 ; +0x310, 0x487fb0\nMOVS            R3, #1                                                 ; +0x312, 0x487fb2\nBL              _ZN8EditorUI12pasteObjectsENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEbb; EditorUI::pasteObjects(std::string,bool,bool) ; +0x314, 0x487fb4\nMOV             R8, R0                                                 ; +0x318, 0x487fb8\nADD             R0, SP, #0x104+var_6C                                  ; +0x31a, 0x487fba\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x31c, 0x487fbc\nCMP.W           R8, #0                                                 ; +0x320, 0x487fc0\nBEQ             loc_487FF6                                             ; +0x324, 0x487fc4\nMOV             R0, R8; this                                           ; +0x326, 0x487fc6\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x328, 0x487fc8\nCMP             R0, #0                                                 ; +0x32c, 0x487fcc\nBNE.W           loc_488146                                             ; +0x32e, 0x487fce\nB               loc_487FF6                                             ; +0x332, 0x487fd2\nADD.W           R8, SP, #0x104+var_60                                  ; +0x334, 0x487fd4\nMOV             R1, R11                                                ; +0x338, 0x487fd8\nSTR             R2, [SP,#0x104+var_60]                                 ; +0x33a, 0x487fda\nMOV             R0, R8                                                 ; +0x33c, 0x487fdc\nSTR             R2, [SP,#0x104+var_5C]                                 ; +0x33e, 0x487fde\nSTR             R2, [SP,#0x104+var_58]                                 ; +0x340, 0x487fe0\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x342, 0x487fe2\nADD.W           R0, R6, #0x490                                         ; +0x346, 0x487fe6\nMOV             R1, R8                                                 ; +0x34a, 0x487fea\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEaSERKS5_; std::string::operator=(std::string const&) ; +0x34c, 0x487fec\nADD             R0, SP, #0x104+var_60                                  ; +0x350, 0x487ff0\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x352, 0x487ff2\nADD             R0, SP, #0x104+var_24                                  ; +0x356, 0x487ff6\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x358, 0x487ff8\nADD             R0, SP, #0x104+var_30                                  ; +0x35c, 0x487ffc\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x35e, 0x487ffe\nADD             R0, SP, #0x104+var_90                                  ; +0x362, 0x488002\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x364, 0x488004\nB               loc_48801E                                             ; +0x368, 0x488008\nLDR             R0, [SP,#0x104+var_DC]; this                           ; +0x36a, 0x48800a\nLDR.W           R1, [R6,#0x30C]; int                                   ; +0x36c, 0x48800c\nBL              _ZN7cocos2d12CCDictionary12objectForKeyEi; cocos2d::CCDictionary::objectForKey(int) ; +0x370, 0x488010\nCBNZ            R0, loc_48801E                                         ; +0x374, 0x488014\nLDR             R0, [SP,#0x104+var_E0]; this                           ; +0x376, 0x488016\nMOV             R1, R6; cocos2d::CCObject *                            ; +0x378, 0x488018\nBL              _ZN7cocos2d7CCArray9addObjectEPNS_8CCObjectE; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x37a, 0x48801a\nADD.W           R10, R10, #1                                           ; +0x37e, 0x48801e\nB               loc_487E24                                             ; +0x382, 0x488022\nDCFS 37.5                                                              ; +0x384, 0x488024\nDCFS 75.0                                                              ; +0x388, 0x488028\nDCFS 75.0                                                              ; +0x38c, 0x48802c\nDCD __stack_chk_guard_ptr - 0x487CC4                                   ; +0x390, 0x488030\nDCD unk_B6B226 - 0x487E22                                              ; +0x394, 0x488034\nDCD flt_D2B938 - 0x487E24                                              ; +0x398, 0x488038\nLDR             R3, [SP,#0x104+var_C8]                                 ; +0x39c, 0x48803c\nCBNZ            R3, loc_488054                                         ; +0x39e, 0x48803e\nMOV             R0, R5; this                                           ; +0x3a0, 0x488040\nBL              _ZN8EditorUI11deselectAllEv; EditorUI::deselectAll(void) ; +0x3a2, 0x488042\nLDRB.W          R3, [SP,#0x104+arg_4]                                  ; +0x3a6, 0x488046\nCMP             R3, #0                                                 ; +0x3aa, 0x48804a\nBEQ             loc_4880B6                                             ; +0x3ac, 0x48804c\nMOVS            R4, #0                                                 ; +0x3ae, 0x48804e\nMOVS            R6, #1                                                 ; +0x3b0, 0x488050\nB               loc_488092                                             ; +0x3b2, 0x488052\nLDR             R3, [SP,#0x104+var_DC]                                 ; +0x3b4, 0x488054\nCMP             R3, #0                                                 ; +0x3b6, 0x488056\nBEQ             loc_488040                                             ; +0x3b8, 0x488058\nLDR             R3, [R3,#0x34]                                         ; +0x3ba, 0x48805a\nCBZ             R3, loc_488064                                         ; +0x3bc, 0x48805c\nLDR.W           R4, [R3,#0x110]                                        ; +0x3be, 0x48805e\nB               loc_488088                                             ; +0x3c2, 0x488062\nMOV             R4, R3                                                 ; +0x3c4, 0x488064\nB               loc_488088                                             ; +0x3c6, 0x488066\nLDR.W           R6, [R3,#0x104]                                        ; +0x3c8, 0x488068\nLDR             R3, [R6]                                               ; +0x3cc, 0x48806c\nMOV             R0, R6                                                 ; +0x3ce, 0x48806e\nLDR             R3, [R3,#0x20]                                         ; +0x3d0, 0x488070\nBLX             R3                                                     ; +0x3d2, 0x488072\nADDS            R0, #0                                                 ; +0x3d4, 0x488074\nIT NE                                                                  ; +0x3d6, 0x488076\nMOVNE           R0, #1                                                 ; +0x3d8, 0x488078\nSTRB.W          R0, [R6,#0x48F]                                        ; +0x3da, 0x48807a\nCBZ             R4, loc_48808E                                         ; +0x3de, 0x48807e\nLDR.W           R2, [R4,#0x110]                                        ; +0x3e0, 0x488080\nMOV             R3, R4                                                 ; +0x3e4, 0x488084\nMOV             R4, R2                                                 ; +0x3e6, 0x488086\nCMP             R3, #0                                                 ; +0x3e8, 0x488088\nBNE             loc_488068                                             ; +0x3ea, 0x48808a\nB               loc_488040                                             ; +0x3ec, 0x48808c\nMOV             R2, R4                                                 ; +0x3ee, 0x48808e\nB               loc_488084                                             ; +0x3f0, 0x488090\nLDR             R0, [SP,#0x104+var_D4]; this                           ; +0x3f2, 0x488092\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x3f4, 0x488094\nCMP             R4, R0                                                 ; +0x3f8, 0x488098\nBCS             loc_4880B0                                             ; +0x3fa, 0x48809a\nMOV             R1, R4; unsigned int                                   ; +0x3fc, 0x48809c\nLDR             R0, [SP,#0x104+var_D4]; this                           ; +0x3fe, 0x48809e\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x400, 0x4880a0\nADDS            R4, #1                                                 ; +0x404, 0x4880a4\nSTRB.W          R6, [R0,#0x48F]                                        ; +0x406, 0x4880a6\nBL              _ZN15SmartGameObject16updateSmartFrameEv; SmartGameObject::updateSmartFrame(void) ; +0x40a, 0x4880aa\nB               loc_488092                                             ; +0x40e, 0x4880ae\nMOV             R0, R5                                                 ; +0x410, 0x4880b0\nMOV             R1, R7                                                 ; +0x412, 0x4880b2\nB               loc_4880F6                                             ; +0x414, 0x4880b4\nLDR             R3, [SP,#0x104+var_CC]                                 ; +0x416, 0x4880b6\nCMP             R3, #0                                                 ; +0x418, 0x4880b8\nBNE             loc_4880B0                                             ; +0x41a, 0x4880ba\nMOVS            R1, #4                                                 ; +0x41c, 0x4880bc\nLDR             R0, [SP,#0x104+var_E0]                                 ; +0x41e, 0x4880be\nBL              _ZN10UndoObject15createWithArrayEPN7cocos2d7CCArrayE11UndoCommand; UndoObject::createWithArray(cocos2d::CCArray *,UndoCommand) ; +0x420, 0x4880c0\nLDR             R2, [SP,#0x104+var_CC]; bool                           ; +0x424, 0x4880c4\nMOV             R1, R0; UndoObject *                                   ; +0x426, 0x4880c6\nLDR.W           R0, [R5,#0x3B0]; this                                  ; +0x428, 0x4880c8\nBL              _ZN16LevelEditorLayer13addToUndoListEP10UndoObjectb; LevelEditorLayer::addToUndoList(UndoObject *,bool) ; +0x42c, 0x4880cc\nLDR             R7, [SP,#0x104+var_CC]                                 ; +0x430, 0x4880d0\nLDR             R0, [SP,#0x104+var_E0]; this                           ; +0x432, 0x4880d2\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x434, 0x4880d4\nCMP             R7, R0                                                 ; +0x438, 0x4880d8\nBCS             loc_4880F2                                             ; +0x43a, 0x4880da\nMOV             R1, R7; unsigned int                                   ; +0x43c, 0x4880dc\nLDR             R0, [SP,#0x104+var_E0]; this                           ; +0x43e, 0x4880de\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x440, 0x4880e0\nMOVS            R2, #1; bool                                           ; +0x444, 0x4880e4\nADDS            R7, #1                                                 ; +0x446, 0x4880e6\nMOV             R1, R0; GameObject *                                   ; +0x448, 0x4880e8\nMOV             R0, R5; this                                           ; +0x44a, 0x4880ea\nBL              _ZN8EditorUI12deleteObjectEP10GameObjectb; EditorUI::deleteObject(GameObject *,bool) ; +0x44c, 0x4880ec\nB               loc_4880D2                                             ; +0x450, 0x4880f0\nLDR             R1, [SP,#0x104+var_D8]; cocos2d::CCArray *             ; +0x452, 0x4880f2\nMOV             R0, R5; this                                           ; +0x454, 0x4880f4\nMOVS            R2, #1; bool                                           ; +0x456, 0x4880f6\nBL              _ZN8EditorUI13selectObjectsEPN7cocos2d7CCArrayEb; EditorUI::selectObjects(cocos2d::CCArray *,bool) ; +0x458, 0x4880f8\nLDR             R0, [SP,#0x104+var_D8]                                 ; +0x45c, 0x4880fc\nMOVS            R1, #3                                                 ; +0x45e, 0x4880fe\nBL              _ZN10UndoObject15createWithArrayEPN7cocos2d7CCArrayE11UndoCommand; UndoObject::createWithArray(cocos2d::CCArray *,UndoCommand) ; +0x460, 0x488100\nMOVS            R2, #0; bool                                           ; +0x464, 0x488104\nMOV             R1, R0; UndoObject *                                   ; +0x466, 0x488106\nLDR.W           R0, [R5,#0x3B0]; this                                  ; +0x468, 0x488108\nBL              _ZN16LevelEditorLayer13addToUndoListEP10UndoObjectb; LevelEditorLayer::addToUndoList(UndoObject *,bool) ; +0x46c, 0x48810c\nMOV             R0, R5; this                                           ; +0x470, 0x488110\nBL              _ZN8EditorUI17updateSelectionUIEv; EditorUI::updateSelectionUI(void) ; +0x472, 0x488112\nB               loc_4881E6                                             ; +0x476, 0x488116\nMOV             R0, R9                                                 ; +0x478, 0x488118\nB               loc_488130                                             ; +0x47a, 0x48811a\nB               loc_488120                                             ; +0x47c, 0x48811c\nB               loc_488120                                             ; +0x47e, 0x48811e\nMOV             R0, R8                                                 ; +0x480, 0x488120\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x482, 0x488122\nB               loc_488128                                             ; +0x486, 0x488126\nADD             R0, SP, #0x104+var_24                                  ; +0x488, 0x488128\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x48a, 0x48812a\nADD             R0, SP, #0x104+var_30                                  ; +0x48e, 0x48812e\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x490, 0x488130\nB               loc_488136                                             ; +0x494, 0x488134\nADD             R0, SP, #0x104+var_90                                  ; +0x496, 0x488136\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x498, 0x488138\nBL              __cxa_end_cleanup                                      ; +0x49c, 0x48813c\nBL              _ZN10GameObject23determineSlopeDirectionEv; GameObject::determineSlopeDirection(void) ; +0x4a0, 0x488140\nB               loc_487D48                                             ; +0x4a4, 0x488144\nLDR             R3, [R6]                                               ; +0x4a6, 0x488146\nMOV             R0, R6                                                 ; +0x4a8, 0x488148\nLDR             R3, [R3,#0x60]                                         ; +0x4aa, 0x48814a\nBLX             R3                                                     ; +0x4ac, 0x48814c\nADD.W           R9, SP, #0x104+var_54                                  ; +0x4ae, 0x48814e\nMOV             R1, R0; cocos2d::CCPoint *                             ; +0x4b2, 0x488152\nMOV             R0, R9; this                                           ; +0x4b4, 0x488154\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x4b6, 0x488156\nMOV             R0, R4; this                                           ; +0x4ba, 0x48815a\nMOV             R1, R9; cocos2d::CCPoint *                             ; +0x4bc, 0x48815c\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x4be, 0x48815e\nMOV             R0, R5                                                 ; +0x4c2, 0x488162\nMOV             R1, R8                                                 ; +0x4c4, 0x488164\nMOV             R2, R4                                                 ; +0x4c6, 0x488166\nMOVS            R3, #0                                                 ; +0x4c8, 0x488168\nBL              _ZN8EditorUI25repositionObjectsToCenterEPN7cocos2d7CCArrayENS0_7CCPointEb; EditorUI::repositionObjectsToCenter(cocos2d::CCArray *,cocos2d::CCPoint,bool) ; +0x4ca, 0x48816a\nLDRB.W          R3, [SP,#0x104+var_B]                                  ; +0x4ce, 0x48816e\nCBNZ            R3, loc_48817C                                         ; +0x4d2, 0x488172\nLDRB.W          R3, [SP,#0x104+var_C]                                  ; +0x4d4, 0x488174\nCBZ             R3, loc_48818E                                         ; +0x4d8, 0x488178\nB               loc_488186                                             ; +0x4da, 0x48817a\nMOV             R0, R5; this                                           ; +0x4dc, 0x48817c\nMOV             R1, R8; cocos2d::CCArray *                             ; +0x4de, 0x48817e\nBL              _ZN8EditorUI12flipObjectsYEPN7cocos2d7CCArrayE; EditorUI::flipObjectsY(cocos2d::CCArray *) ; +0x4e0, 0x488180\nB               loc_488174                                             ; +0x4e4, 0x488184\nMOV             R0, R5; this                                           ; +0x4e6, 0x488186\nMOV             R1, R8; cocos2d::CCArray *                             ; +0x4e8, 0x488188\nBL              _ZN8EditorUI12flipObjectsXEPN7cocos2d7CCArrayE; EditorUI::flipObjectsX(cocos2d::CCArray *) ; +0x4ea, 0x48818a\nLDR             R3, [SP,#0x104+var_10]                                 ; +0x4ee, 0x48818e\nCMP             R3, #0                                                 ; +0x4f0, 0x488190\nBLE             loc_4881B8                                             ; +0x4f2, 0x488192\nNEGS            R3, R3                                                 ; +0x4f4, 0x488194\nMOV             R0, R4; this                                           ; +0x4f6, 0x488196\nLDR             R1, [SP,#0x104+var_A4]; cocos2d::CCPoint *             ; +0x4f8, 0x488198\nVMOV            S15, R3                                                ; +0x4fa, 0x48819a\nVCVT.F32.S32    S16, S15                                               ; +0x4fe, 0x48819e\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x502, 0x4881a2\nMOVS            R3, #0                                                 ; +0x506, 0x4881a6\nMOV             R0, R5                                                 ; +0x508, 0x4881a8\nSTR             R3, [SP,#0x104+var_104]                                ; +0x50a, 0x4881aa\nMOV             R1, R8                                                 ; +0x50c, 0x4881ac\nVMOV            R2, S16                                                ; +0x50e, 0x4881ae\nMOV             R3, R4                                                 ; +0x512, 0x4881b2\nBL              _ZN8EditorUI13rotateObjectsEPN7cocos2d7CCArrayEfNS0_7CCPointEb; EditorUI::rotateObjects(cocos2d::CCArray *,float,cocos2d::CCPoint,bool) ; +0x514, 0x4881b4\nMOV             R0, R4; this                                           ; +0x518, 0x4881b8\nADD             R1, SP, #0x104+var_54; cocos2d::CCPoint *              ; +0x51a, 0x4881ba\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x51c, 0x4881bc\nMOV             R0, R5                                                 ; +0x520, 0x4881c0\nMOV             R1, R8                                                 ; +0x522, 0x4881c2\nMOV             R2, R4                                                 ; +0x524, 0x4881c4\nMOVS            R3, #0                                                 ; +0x526, 0x4881c6\nBL              _ZN8EditorUI25repositionObjectsToCenterEPN7cocos2d7CCArrayENS0_7CCPointEb; EditorUI::repositionObjectsToCenter(cocos2d::CCArray *,cocos2d::CCPoint,bool) ; +0x528, 0x4881c8\nMOV             R0, R5; this                                           ; +0x52c, 0x4881cc\nMOV             R1, R8; cocos2d::CCArray *                             ; +0x52e, 0x4881ce\nBL              _ZN8EditorUI28deleteSmartBlocksFromObjectsEPN7cocos2d7CCArrayE; EditorUI::deleteSmartBlocksFromObjects(cocos2d::CCArray *) ; +0x530, 0x4881d0\nLDR             R0, [SP,#0x104+var_D8]; this                           ; +0x534, 0x4881d4\nMOV             R1, R8; cocos2d::CCArray *                             ; +0x536, 0x4881d6\nBL              _ZN7cocos2d7CCArray19addObjectsFromArrayEPS0_; cocos2d::CCArray::addObjectsFromArray(cocos2d::CCArray*) ; +0x538, 0x4881d8\nLDR             R0, [SP,#0x104+var_E0]; this                           ; +0x53c, 0x4881dc\nMOV             R1, R6; cocos2d::CCObject *                            ; +0x53e, 0x4881de\nBL              _ZN7cocos2d7CCArray9addObjectEPNS_8CCObjectE; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x540, 0x4881e0\nB               loc_487FF6                                             ; +0x544, 0x4881e4\nLDR             R3, [SP,#0x104+var_A8]                                 ; +0x546, 0x4881e6\nLDR             R2, [SP,#0x104+var_8]                                  ; +0x548, 0x4881e8\nLDR             R3, [R3]                                               ; +0x54a, 0x4881ea\nCMP             R2, R3                                                 ; +0x54c, 0x4881ec\nBEQ             loc_4881F4                                             ; +0x54e, 0x4881ee\nBLX             __stack_chk_fail                                       ; +0x550, 0x4881f0\nADD             SP, SP, #0x104                                         ; +0x554, 0x4881f4\nVPOP            {D8}                                                   ; +0x556, 0x4881f6\nPOP.W           {R4-R11,PC}                                            ; +0x55a, 0x4881fa", "xrefs": ["SetupSmartBlockLayer::onCreate @ 0x6726fc", "SetupSmartBlockLayer::onPasteTemplate @ 0x673af4"], "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"}