{"type": "func", "start": 7402316, "end": 7403164, "name": "EditorUI::alignObjects", "pseudocode": "// \n// EditorUI::alignObjects from 0x70f34c to 0x70f69c (848 bytes)\n// \n// 3 xrefs:\n// > EditorUI::handleEditorAction @ 0x6f1fb6\n// > EditorUI::handleEditorAction @ 0x6f1fce\n// > EditorCommandsPopup::onCommand @ 0x77a7cc\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:57:43 +0000\n// \n\nunsigned int __fastcall EditorUI::alignObjects(unsigned int this, size_t **a2, int a3)\n{\n  int v3; // r5\n  cocos2d::CCArray *v5; // r0\n  unsigned int v6; // r1\n  cocos2d::CCArray *v7; // r0\n  cocos2d::CCDictionary *v8; // r0\n  cocos2d::CCDictionary *v9; // r7\n  unsigned int v10; // r6\n  size_t *v11; // r3\n  void *v12; // r0\n  size_t v13; // r1\n  int (*v14)(const void *, const void *); // r3\n  int v15; // r8\n  cocos2d::CCObject *v16; // r0\n  unsigned int v17; // r6\n  cocos2d::CCArray *v18; // r7\n  int v19; // r9\n  cocos2d::CCArray *StickyGroup; // r2\n  const char *v21; // r1\n  GameObject *v22; // r0\n  cocos2d::CCObject *v23; // r11\n  int v24; // r3\n  size_t *v25; // r2\n  size_t v26; // r3\n  unsigned int *v27; // r2\n  unsigned int v28; // r8\n  unsigned int *v29; // r10\n  int i; // r2\n  unsigned int v31; // t1\n  int v32; // r0\n  unsigned int v33; // r7\n  int *v34; // r9\n  const cocos2d::CCPoint *v35; // r0\n  float v36; // s15\n  float v37; // r1\n  float v38; // r2\n  cocos2d::CCArray *v39; // r9\n  unsigned int v40; // r11\n  GameObject *v41; // r0\n  const cocos2d::CCPoint *v42; // r0\n  cocos2d::CCPoint *v44; // [sp+4h] [bp-58h]\n  cocos2d::CCPoint *v45; // [sp+4h] [bp-58h]\n  GameObject *v46; // [sp+Ch] [bp-50h]\n  float v47; // [sp+14h] [bp-48h] BYREF\n  float v48; // [sp+18h] [bp-44h]\n  float v49; // [sp+1Ch] [bp-40h] BYREF\n  float v50; // [sp+20h] [bp-3Ch]\n  _BYTE v51[8]; // [sp+24h] [bp-38h] BYREF\n  float v52[2]; // [sp+2Ch] [bp-30h] BYREF\n  _DWORD v53[2]; // [sp+34h] [bp-28h] BYREF\n  _BYTE v54[8]; // [sp+3Ch] [bp-20h] BYREF\n  _BYTE v55[8]; // [sp+44h] [bp-18h] BYREF\n  float v56; // [sp+4Ch] [bp-10h] BYREF\n  float v57; // [sp+50h] [bp-Ch]\n\n  v3 = this;\n  if ( a2 )\n  {\n    this = cocos2d::CCArray::count((cocos2d::CCArray *)a2);\n    if ( this > 2 )\n    {\n      v5 = (cocos2d::CCArray *)cocos2d::CCArray::count((cocos2d::CCArray *)a2);\n      v7 = (cocos2d::CCArray *)cocos2d::CCArray::createWithCapacity(v5, v6);\n      v8 = (cocos2d::CCDictionary *)cocos2d::CCArray::addObjectsFromArray(v7, (cocos2d::CCArray *)a2);\n      v9 = (cocos2d::CCDictionary *)cocos2d::CCDictionary::create(v8);\n      if ( *(_BYTE *)(v3 + 643) )\n      {\n        v10 = *(unsigned __int8 *)(v3 + 644);\n        if ( !*(_BYTE *)(v3 + 644) )\n        {\n          while ( v10 < cocos2d::CCArray::count((cocos2d::CCArray *)a2) )\n          {\n            v15 = cocos2d::CCArray::objectAtIndex((cocos2d::CCArray *)a2, v10);\n            if ( *(int *)(v15 + 740) <= 0 )\n            {\n              ++v10;\n            }\n            else\n            {\n              cocos2d::CCArray::removeObjectAtIndex((cocos2d::CCArray *)a2, v10, 1);\n              if ( !cocos2d::CCDictionary::objectForKey(v9, *(_DWORD *)(v15 + 740)) )\n              {\n                v16 = (cocos2d::CCObject *)cocos2d::CCNode::create(nullptr);\n                cocos2d::CCDictionary::setObject(v9, v16, *(_DWORD *)(v15 + 740));\n              }\n            }\n          }\n          v17 = 0;\n          v18 = (cocos2d::CCArray *)cocos2d::CCDictionary::allKeys(v9);\n          while ( v17 < cocos2d::CCArray::count(v18) )\n          {\n            v19 = *(_DWORD *)(cocos2d::CCArray::objectAtIndex(v18, v17) + 52);\n            StickyGroup = (cocos2d::CCArray *)GJBaseGameLayer::getStickyGroup(\n                                                *(cocos2d::CCDictionary ***)(v3 + 944),\n                                                v19);\n            if ( StickyGroup )\n            {\n              EditorUI::getGroupCenter((EditorUI *)v55, (cocos2d::CCArray *)v3, StickyGroup, 1);\n              v22 = GameObject::createWithFrame((GameObject *)\"checkpoint_01_001.png\", v21);\n              *((_DWORD *)v22 + 223) = 44;\n              v23 = v22;\n              v24 = *(_DWORD *)v22;\n              *((_DWORD *)v22 + 185) = v19;\n              v44 = *(cocos2d::CCPoint **)(v24 + 684);\n              cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v56, (const cocos2d::CCPoint *)v55);\n              ((void (__fastcall *)(cocos2d::CCObject *, float *))v44)(v23, &v56);\n              cocos2d::CCArray::addObject((cocos2d::CCArray *)a2, v23);\n            }\n            ++v17;\n          }\n        }\n      }\n      v11 = a2[13];\n      v12 = (void *)v11[3];\n      v13 = *v11;\n      if ( a3 )\n        v14 = (int (*)(const void *, const void *))alignYSort;\n      else\n        v14 = (int (*)(const void *, const void *))alignXSort;\n      qsort(v12, v13, 4u, v14);\n      cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v47);\n      this = cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v49);\n      v25 = a2[13];\n      v26 = *v25;\n      if ( *v25 )\n      {\n        v27 = (unsigned int *)v25[3];\n        v28 = (unsigned int)&v27[v26 - 1];\n        v29 = v27;\n        for ( i = 1; (unsigned int)v29 <= v28; i = 0 )\n        {\n          v31 = *v29++;\n          this = v31;\n          if ( !v31 )\n            break;\n          v45 = (cocos2d::CCPoint *)i;\n          v42 = (const cocos2d::CCPoint *)(*(int (__fastcall **)(unsigned int))(*(_DWORD *)this + 96))(this);\n          this = cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v56, v42);\n          if ( v45 )\n          {\n            cocos2d::CCPoint::operator=(&v47, &v56);\n            this = cocos2d::CCPoint::operator=(&v49, &v56);\n          }\n          else\n          {\n            if ( v56 < v47 )\n              v47 = v56;\n            if ( v56 > v49 )\n              v49 = v56;\n            if ( v57 < v48 )\n              v48 = v57;\n            if ( v57 > v50 )\n              v50 = v57;\n          }\n        }\n      }\n      if ( v47 != v49 || v48 != v50 )\n      {\n        EditorUI::createUndoObject(v3, 5, 0);\n        cocos2d::CCPoint::operator-(v51, &v49, &v47);\n        v32 = cocos2d::CCArray::count((cocos2d::CCArray *)a2);\n        v33 = 1;\n        cocos2d::CCPoint::operator*(v52, v51, 1.0 / (float)(unsigned int)(v32 - 1));\n        while ( v33 < cocos2d::CCArray::count((cocos2d::CCArray *)a2) - 1 )\n        {\n          v34 = (int *)cocos2d::CCArray::objectAtIndex((cocos2d::CCArray *)a2, v33);\n          v35 = (const cocos2d::CCPoint *)(*(int (__fastcall **)(int *))(*v34 + 96))(v34);\n          cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v53, v35);\n          cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v54);\n          v36 = (float)(int)v33;\n          if ( a3 )\n          {\n            v37 = *(float *)v53;\n            v38 = v48 + (float)(v36 * v52[1]);\n          }\n          else\n          {\n            v38 = *(float *)&v53[1];\n            v37 = v47 + (float)(v36 * v52[0]);\n          }\n          cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v56, v37, v38);\n          cocos2d::CCPoint::operator=(v54, &v56);\n          cocos2d::CCPoint::operator-(v55, v54, v53);\n          if ( v34[223] == 44 )\n          {\n            v39 = (cocos2d::CCArray *)GJBaseGameLayer::getStickyGroup(*(cocos2d::CCDictionary ***)(v3 + 944), v34[185]);\n            if ( v39 )\n            {\n              v40 = 0;\n              while ( v40 < cocos2d::CCArray::count(v39) )\n              {\n                v41 = (GameObject *)cocos2d::CCArray::objectAtIndex(v39, v40++);\n                v46 = v41;\n                cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v56, (const cocos2d::CCPoint *)v55);\n                EditorUI::moveObject(v3, v46, (int)&v56);\n              }\n            }\n          }\n          else\n          {\n            cocos2d::CCPoint::operator-(&v56, v54, v53);\n            EditorUI::moveObject(v3, (GameObject *)v34, (int)&v56);\n          }\n          ++v33;\n        }\n        return EditorUI::updateControlsAfterAlign((EditorUI *)v3);\n      }\n    }\n  }\n  return this;\n}", "assembly": "; \n; EditorUI::alignObjects from 0x70f34c to 0x70f69c (848 bytes)\n; \n; 3 xrefs:\n; > EditorUI::handleEditorAction @ 0x6f1fb6\n; > EditorUI::handleEditorAction @ 0x6f1fce\n; > EditorCommandsPopup::onCommand @ 0x77a7cc\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:57:43 +0000\n; \nLDR             R3, =(__stack_chk_guard_ptr - 0x70F356)                ; +0x0, 0x70f34c\nPUSH.W          {R4-R11,LR}                                            ; +0x2, 0x70f34e\nADD             R3, PC; __stack_chk_guard_ptr                          ; +0x6, 0x70f352\nLDR             R3, [R3]; __stack_chk_guard                            ; +0x8, 0x70f354\nSUB             SP, SP, #0x5C                                          ; +0xa, 0x70f356\nMOV             R5, R0                                                 ; +0xc, 0x70f358\nMOV             R4, R1                                                 ; +0xe, 0x70f35a\nSTR             R2, [SP,#0x5C+var_5C]                                  ; +0x10, 0x70f35c\nLDR             R2, [R3]                                               ; +0x12, 0x70f35e\nSTR             R3, [SP,#0x5C+var_54]                                  ; +0x14, 0x70f360\nSTR             R2, [SP,#0x5C+var_8]                                   ; +0x16, 0x70f362\nCMP             R1, #0                                                 ; +0x18, 0x70f364\nBEQ.W           loc_70F688                                             ; +0x1a, 0x70f366\nMOV             R0, R1; this                                           ; +0x1e, 0x70f36a\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x20, 0x70f36c\nCMP             R0, #2                                                 ; +0x24, 0x70f370\nBLS.W           loc_70F688                                             ; +0x26, 0x70f372\nMOV             R0, R4; this                                           ; +0x2a, 0x70f376\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x2c, 0x70f378\nBL              _ZN7cocos2d7CCArray18createWithCapacityEj; cocos2d::CCArray::createWithCapacity(uint) ; +0x30, 0x70f37c\nMOV             R1, R4; cocos2d::CCArray *                             ; +0x34, 0x70f380\nBL              _ZN7cocos2d7CCArray19addObjectsFromArrayEPS0_; cocos2d::CCArray::addObjectsFromArray(cocos2d::CCArray*) ; +0x36, 0x70f382\nBL              _ZN7cocos2d12CCDictionary6createEv; cocos2d::CCDictionary::create(void) ; +0x3a, 0x70f386\nLDRB.W          R3, [R5,#0x283]                                        ; +0x3e, 0x70f38a\nMOV             R7, R0                                                 ; +0x42, 0x70f38e\nCBZ             R3, loc_70F398                                         ; +0x44, 0x70f390\nLDRB.W          R6, [R5,#0x284]                                        ; +0x46, 0x70f392\nCBZ             R6, loc_70F3E6                                         ; +0x4a, 0x70f396\nLDR             R2, [SP,#0x5C+var_5C]                                  ; +0x4c, 0x70f398\nLDR             R3, [R4,#0x34]                                         ; +0x4e, 0x70f39a\nCMP             R2, #0                                                 ; +0x50, 0x70f39c\nBEQ             loc_70F472                                             ; +0x52, 0x70f39e\nLDR             R0, [R3,#0xC]                                          ; +0x54, 0x70f3a0\nMOVS            R2, #4                                                 ; +0x56, 0x70f3a2\nLDR             R1, [R3]                                               ; +0x58, 0x70f3a4\nLDR             R3, =(_Z10alignYSortPKvS0__ptr - 0x70F3AC)             ; +0x5a, 0x70f3a6\nADD             R3, PC; _Z10alignYSortPKvS0__ptr                       ; +0x5c, 0x70f3a8\nLDR             R3, [R3]; alignYSort(void const*,void const*)          ; +0x5e, 0x70f3aa\nB               loc_70F47E                                             ; +0x60, 0x70f3ac\nMOV             R0, R4; this                                           ; +0x62, 0x70f3ae\nMOV             R1, R6; unsigned int                                   ; +0x64, 0x70f3b0\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x66, 0x70f3b2\nLDR.W           R3, [R0,#0x2E4]                                        ; +0x6a, 0x70f3b6\nMOV             R8, R0                                                 ; +0x6e, 0x70f3ba\nCMP             R3, #0                                                 ; +0x70, 0x70f3bc\nBLE             loc_70F3F2                                             ; +0x72, 0x70f3be\nMOV             R0, R4; this                                           ; +0x74, 0x70f3c0\nMOV             R1, R6; unsigned int                                   ; +0x76, 0x70f3c2\nMOVS            R2, #1; bool                                           ; +0x78, 0x70f3c4\nBL              _ZN7cocos2d7CCArray19removeObjectAtIndexEjb; cocos2d::CCArray::removeObjectAtIndex(uint,bool) ; +0x7a, 0x70f3c6\nMOV             R0, R7; this                                           ; +0x7e, 0x70f3ca\nLDR.W           R1, [R8,#0x2E4]; int                                   ; +0x80, 0x70f3cc\nBL              _ZN7cocos2d12CCDictionary12objectForKeyEi; cocos2d::CCDictionary::objectForKey(int) ; +0x84, 0x70f3d0\nCBNZ            R0, loc_70F3E6                                         ; +0x88, 0x70f3d4\nBL              _ZN7cocos2d6CCNode6createEv; cocos2d::CCNode::create(void) ; +0x8a, 0x70f3d6\nLDR.W           R2, [R8,#0x2E4]; int                                   ; +0x8e, 0x70f3da\nMOV             R1, R0; cocos2d::CCObject *                            ; +0x92, 0x70f3de\nMOV             R0, R7; this                                           ; +0x94, 0x70f3e0\nBL              _ZN7cocos2d12CCDictionary9setObjectEPNS_8CCObjectEi; cocos2d::CCDictionary::setObject(cocos2d::CCObject *,int) ; +0x96, 0x70f3e2\nMOV             R0, R4; this                                           ; +0x9a, 0x70f3e6\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x9c, 0x70f3e8\nCMP             R6, R0                                                 ; +0xa0, 0x70f3ec\nBCC             loc_70F3AE                                             ; +0xa2, 0x70f3ee\nB               loc_70F3F6                                             ; +0xa4, 0x70f3f0\nADDS            R6, #1                                                 ; +0xa6, 0x70f3f2\nB               loc_70F3E6                                             ; +0xa8, 0x70f3f4\nMOV             R0, R7; this                                           ; +0xaa, 0x70f3f6\nLDR.W           R10, =(aCheckpoint0100 - 0x70F408); \"checkpoint_01_001.png\" ; +0xac, 0x70f3f8\nBL              _ZN7cocos2d12CCDictionary7allKeysEv; cocos2d::CCDictionary::allKeys(void) ; +0xb0, 0x70f3fc\nADD.W           R8, SP, #0x5C+var_18                                   ; +0xb4, 0x70f400\nADD             R10, PC; \"checkpoint_01_001.png\"                       ; +0xb8, 0x70f404\nMOVS            R6, #0                                                 ; +0xba, 0x70f406\nMOV             R7, R0                                                 ; +0xbc, 0x70f408\nMOV             R0, R7; this                                           ; +0xbe, 0x70f40a\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0xc0, 0x70f40c\nCMP             R6, R0                                                 ; +0xc4, 0x70f410\nBCS             loc_70F398                                             ; +0xc6, 0x70f412\nMOV             R1, R6; unsigned int                                   ; +0xc8, 0x70f414\nMOV             R0, R7; this                                           ; +0xca, 0x70f416\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0xcc, 0x70f418\nLDR.W           R9, [R0,#0x34]                                         ; +0xd0, 0x70f41c\nLDR.W           R0, [R5,#0x3B0]; this                                  ; +0xd4, 0x70f420\nMOV             R1, R9; int                                            ; +0xd8, 0x70f424\nBL              _ZN15GJBaseGameLayer14getStickyGroupEi; GJBaseGameLayer::getStickyGroup(int) ; +0xda, 0x70f426\nMOV             R2, R0; cocos2d::CCArray *                             ; +0xde, 0x70f42a\nCBZ             R0, loc_70F46E                                         ; +0xe0, 0x70f42c\nMOV             R1, R5; cocos2d::CCArray *                             ; +0xe2, 0x70f42e\nMOVS            R3, #1                                                 ; +0xe4, 0x70f430\nMOV             R0, R8; this                                           ; +0xe6, 0x70f432\nBL              _ZN8EditorUI14getGroupCenterEPN7cocos2d7CCArrayEb; EditorUI::getGroupCenter(cocos2d::CCArray *,bool) ; +0xe8, 0x70f434\nMOV             R0, R10; this                                          ; +0xec, 0x70f438\nBL              _ZN10GameObject15createWithFrameEPKc; GameObject::createWithFrame(char const*) ; +0xee, 0x70f43a\nMOVS            R3, #0x2C ; ','                                        ; +0xf2, 0x70f43e\nMOV             R1, R8; cocos2d::CCPoint *                             ; +0xf4, 0x70f440\nSTR.W           R3, [R0,#0x37C]                                        ; +0xf6, 0x70f442\nMOV             R11, R0                                                ; +0xfa, 0x70f446\nLDR             R3, [R0]                                               ; +0xfc, 0x70f448\nSTR.W           R9, [R0,#0x2E4]                                        ; +0xfe, 0x70f44a\nADD.W           R9, SP, #0x5C+var_10                                   ; +0x102, 0x70f44e\nLDR.W           R3, [R3,#0x2AC]                                        ; +0x106, 0x70f452\nMOV             R0, R9; this                                           ; +0x10a, 0x70f456\nSTR             R3, [SP,#0x5C+var_58]                                  ; +0x10c, 0x70f458\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x10e, 0x70f45a\nMOV             R0, R11                                                ; +0x112, 0x70f45e\nMOV             R1, R9                                                 ; +0x114, 0x70f460\nLDR             R3, [SP,#0x5C+var_58]                                  ; +0x116, 0x70f462\nBLX             R3                                                     ; +0x118, 0x70f464\nMOV             R0, R4; this                                           ; +0x11a, 0x70f466\nMOV             R1, R11; cocos2d::CCObject *                           ; +0x11c, 0x70f468\nBL              _ZN7cocos2d7CCArray9addObjectEPNS_8CCObjectE; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x11e, 0x70f46a\nADDS            R6, #1                                                 ; +0x122, 0x70f46e\nB               loc_70F40A                                             ; +0x124, 0x70f470\nLDR             R0, [R3,#0xC]; void *                                  ; +0x126, 0x70f472\nMOVS            R2, #4; size_t                                         ; +0x128, 0x70f474\nLDR             R1, [R3]; size_t                                       ; +0x12a, 0x70f476\nLDR             R3, =(_Z10alignXSortPKvS0__ptr - 0x70F47E)             ; +0x12c, 0x70f478\nADD             R3, PC; _Z10alignXSortPKvS0__ptr                       ; +0x12e, 0x70f47a\nLDR             R3, [R3]; alignXSort(void const*,void const*) ; int (*)(const void *, const void *) ; +0x130, 0x70f47c\nADD             R6, SP, #0x5C+var_48                                   ; +0x132, 0x70f47e\nADD             R7, SP, #0x5C+var_40                                   ; +0x134, 0x70f480\nBLX             qsort                                                  ; +0x136, 0x70f482\nMOV             R0, R6; this                                           ; +0x13a, 0x70f486\nBL              _ZN7cocos2d7CCPointC1Ev; cocos2d::CCPoint::CCPoint(void) ; +0x13c, 0x70f488\nMOV             R0, R7; this                                           ; +0x140, 0x70f48c\nBL              _ZN7cocos2d7CCPointC1Ev; cocos2d::CCPoint::CCPoint(void) ; +0x142, 0x70f48e\nLDR             R2, [R4,#0x34]                                         ; +0x146, 0x70f492\nLDR             R3, [R2]                                               ; +0x148, 0x70f494\nCBNZ            R3, loc_70F4AC                                         ; +0x14a, 0x70f496\nVLDR            S15, [SP,#0x5C+var_40]                                 ; +0x14c, 0x70f498\nVLDR            S14, [SP,#0x5C+var_48]                                 ; +0x150, 0x70f49c\nVCMP.F32        S14, S15                                               ; +0x154, 0x70f4a0\nVMRS            APSR_nzcv, FPSCR                                       ; +0x158, 0x70f4a4\nBEQ             loc_70F4D0                                             ; +0x15c, 0x70f4a8\nB               loc_70F4E4                                             ; +0x15e, 0x70f4aa\nLDR             R2, [R2,#0xC]                                          ; +0x160, 0x70f4ac\nADD.W           R3, R3, #0x40000000                                    ; +0x162, 0x70f4ae\nSUBS            R3, #1                                                 ; +0x166, 0x70f4b2\nADD.W           R9, SP, #0x5C+var_10                                   ; +0x168, 0x70f4b4\nADD.W           R8, R2, R3,LSL#2                                       ; +0x16c, 0x70f4b8\nMOV             R10, R2                                                ; +0x170, 0x70f4bc\nMOVS            R2, #1                                                 ; +0x172, 0x70f4be\nCMP             R10, R8                                                ; +0x174, 0x70f4c0\nBHI             loc_70F498                                             ; +0x176, 0x70f4c2\nLDR.W           R0, [R10],#4                                           ; +0x178, 0x70f4c4\nCMP             R0, #0                                                 ; +0x17c, 0x70f4c8\nBNE.W           loc_70F60E                                             ; +0x17e, 0x70f4ca\nB               loc_70F498                                             ; +0x182, 0x70f4ce\nVLDR            S15, [SP,#0x5C+var_3C]                                 ; +0x184, 0x70f4d0\nVLDR            S14, [SP,#0x5C+var_44]                                 ; +0x188, 0x70f4d4\nVCMP.F32        S14, S15                                               ; +0x18c, 0x70f4d8\nVMRS            APSR_nzcv, FPSCR                                       ; +0x190, 0x70f4dc\nBEQ.W           loc_70F688                                             ; +0x194, 0x70f4e0\nADD.W           R8, SP, #0x5C+var_38                                   ; +0x198, 0x70f4e4\nMOVS            R1, #5                                                 ; +0x19c, 0x70f4e8\nMOVS            R2, #0                                                 ; +0x19e, 0x70f4ea\nMOV             R0, R5                                                 ; +0x1a0, 0x70f4ec\nBL              _ZN8EditorUI16createUndoObjectE11UndoCommandb; EditorUI::createUndoObject(UndoCommand,bool) ; +0x1a2, 0x70f4ee\nMOV             R1, R7                                                 ; +0x1a6, 0x70f4f2\nMOV             R2, R6                                                 ; +0x1a8, 0x70f4f4\nMOV             R0, R8                                                 ; +0x1aa, 0x70f4f6\nBL              _ZNK7cocos2d7CCPointmiERKS0_; cocos2d::CCPoint::operator-(cocos2d::CCPoint const&) ; +0x1ac, 0x70f4f8\nMOV             R0, R4; this                                           ; +0x1b0, 0x70f4fc\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x1b2, 0x70f4fe\nVMOV.F32        S14, #1.0                                              ; +0x1b6, 0x70f502\nMOV             R1, R8                                                 ; +0x1ba, 0x70f506\nADD.W           R10, SP, #0x5C+var_28                                  ; +0x1bc, 0x70f508\nADD.W           R8, SP, #0x5C+var_20                                   ; +0x1c0, 0x70f50c\nADD             R6, SP, #0x5C+var_10                                   ; +0x1c4, 0x70f510\nMOVS            R7, #1                                                 ; +0x1c6, 0x70f512\nSUBS            R0, #1                                                 ; +0x1c8, 0x70f514\nVMOV            S15, R0                                                ; +0x1ca, 0x70f516\nADD             R0, SP, #0x5C+var_30                                   ; +0x1ce, 0x70f51a\nVCVT.F32.U32    S15, S15                                               ; +0x1d0, 0x70f51c\nVDIV.F32        S15, S14, S15                                          ; +0x1d4, 0x70f520\nVMOV            R2, S15                                                ; +0x1d8, 0x70f524\nBL              _ZNK7cocos2d7CCPointmlEf; cocos2d::CCPoint::operator*(float) ; +0x1dc, 0x70f528\nMOV             R0, R4; this                                           ; +0x1e0, 0x70f52c\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x1e2, 0x70f52e\nSUBS            R0, #1                                                 ; +0x1e6, 0x70f532\nCMP             R7, R0                                                 ; +0x1e8, 0x70f534\nBCS             loc_70F606                                             ; +0x1ea, 0x70f536\nMOV             R1, R7; unsigned int                                   ; +0x1ec, 0x70f538\nMOV             R0, R4; this                                           ; +0x1ee, 0x70f53a\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x1f0, 0x70f53c\nLDR             R3, [R0]                                               ; +0x1f4, 0x70f540\nMOV             R9, R0                                                 ; +0x1f6, 0x70f542\nLDR             R3, [R3,#0x60]                                         ; +0x1f8, 0x70f544\nBLX             R3                                                     ; +0x1fa, 0x70f546\nMOV             R1, R0; cocos2d::CCPoint *                             ; +0x1fc, 0x70f548\nMOV             R0, R10; this                                          ; +0x1fe, 0x70f54a\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x200, 0x70f54c\nMOV             R0, R8; this                                           ; +0x204, 0x70f550\nBL              _ZN7cocos2d7CCPointC1Ev; cocos2d::CCPoint::CCPoint(void) ; +0x206, 0x70f552\nLDR             R3, [SP,#0x5C+var_5C]                                  ; +0x20a, 0x70f556\nVMOV            S15, R7                                                ; +0x20c, 0x70f558\nMOV             R0, R6; this                                           ; +0x210, 0x70f55c\nVCVT.F32.S32    S15, S15                                               ; +0x212, 0x70f55e\nCBZ             R3, loc_70F578                                         ; +0x216, 0x70f562\nVLDR            S14, [SP,#0x5C+var_44]                                 ; +0x218, 0x70f564\nLDR             R1, [SP,#0x5C+var_28]                                  ; +0x21c, 0x70f568\nVLDR            S13, [SP,#0x5C+var_2C]                                 ; +0x21e, 0x70f56a\nVMLA.F32        S14, S15, S13                                          ; +0x222, 0x70f56e\nVMOV            R2, S14                                                ; +0x226, 0x70f572\nB               loc_70F58A                                             ; +0x22a, 0x70f576\nVLDR            S14, [SP,#0x5C+var_48]                                 ; +0x22c, 0x70f578\nLDR             R2, [SP,#0x5C+var_24]; float                           ; +0x230, 0x70f57c\nVLDR            S13, [SP,#0x5C+var_30]                                 ; +0x232, 0x70f57e\nVMLA.F32        S14, S15, S13                                          ; +0x236, 0x70f582\nVMOV            R1, S14; float                                         ; +0x23a, 0x70f586\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x23e, 0x70f58a\nMOV             R1, R6                                                 ; +0x242, 0x70f58e\nMOV             R0, R8                                                 ; +0x244, 0x70f590\nBL              _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0x246, 0x70f592\nADD             R3, SP, #0x5C+var_18                                   ; +0x24a, 0x70f596\nMOV             R1, R8                                                 ; +0x24c, 0x70f598\nMOV             R2, R10                                                ; +0x24e, 0x70f59a\nMOV             R0, R3                                                 ; +0x250, 0x70f59c\nSTR             R3, [SP,#0x5C+var_58]                                  ; +0x252, 0x70f59e\nBL              _ZNK7cocos2d7CCPointmiERKS0_; cocos2d::CCPoint::operator-(cocos2d::CCPoint const&) ; +0x254, 0x70f5a0\nLDR.W           R3, [R9,#0x37C]                                        ; +0x258, 0x70f5a4\nCMP             R3, #0x2C ; ','                                        ; +0x25c, 0x70f5a8\nBNE             loc_70F5EE                                             ; +0x25e, 0x70f5aa\nLDR.W           R1, [R9,#0x2E4]; int                                   ; +0x260, 0x70f5ac\nLDR.W           R0, [R5,#0x3B0]; this                                  ; +0x264, 0x70f5b0\nBL              _ZN15GJBaseGameLayer14getStickyGroupEi; GJBaseGameLayer::getStickyGroup(int) ; +0x268, 0x70f5b4\nMOV             R9, R0                                                 ; +0x26c, 0x70f5b8\nCBZ             R0, loc_70F602                                         ; +0x26e, 0x70f5ba\nMOV.W           R11, #0                                                ; +0x270, 0x70f5bc\nMOV             R0, R9; this                                           ; +0x274, 0x70f5c0\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x276, 0x70f5c2\nCMP             R11, R0                                                ; +0x27a, 0x70f5c6\nBCS             loc_70F602                                             ; +0x27c, 0x70f5c8\nMOV             R1, R11; unsigned int                                  ; +0x27e, 0x70f5ca\nMOV             R0, R9; this                                           ; +0x280, 0x70f5cc\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x282, 0x70f5ce\nLDR             R1, [SP,#0x5C+var_58]; cocos2d::CCPoint *              ; +0x286, 0x70f5d2\nADD.W           R11, R11, #1                                           ; +0x288, 0x70f5d4\nSTR             R0, [SP,#0x5C+var_50]                                  ; +0x28c, 0x70f5d8\nMOV             R0, R6; this                                           ; +0x28e, 0x70f5da\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x290, 0x70f5dc\nLDR             R2, [SP,#0x5C+var_50]                                  ; +0x294, 0x70f5e0\nMOV             R0, R5                                                 ; +0x296, 0x70f5e2\nMOV             R1, R2                                                 ; +0x298, 0x70f5e4\nMOV             R2, R6                                                 ; +0x29a, 0x70f5e6\nBL              _ZN8EditorUI10moveObjectEP10GameObjectN7cocos2d7CCPointE; EditorUI::moveObject(GameObject *,cocos2d::CCPoint) ; +0x29c, 0x70f5e8\nB               loc_70F5C0                                             ; +0x2a0, 0x70f5ec\nMOV             R0, R6                                                 ; +0x2a2, 0x70f5ee\nMOV             R1, R8                                                 ; +0x2a4, 0x70f5f0\nMOV             R2, R10                                                ; +0x2a6, 0x70f5f2\nBL              _ZNK7cocos2d7CCPointmiERKS0_; cocos2d::CCPoint::operator-(cocos2d::CCPoint const&) ; +0x2a8, 0x70f5f4\nMOV             R0, R5                                                 ; +0x2ac, 0x70f5f8\nMOV             R1, R9                                                 ; +0x2ae, 0x70f5fa\nMOV             R2, R6                                                 ; +0x2b0, 0x70f5fc\nBL              _ZN8EditorUI10moveObjectEP10GameObjectN7cocos2d7CCPointE; EditorUI::moveObject(GameObject *,cocos2d::CCPoint) ; +0x2b2, 0x70f5fe\nADDS            R7, #1                                                 ; +0x2b6, 0x70f602\nB               loc_70F52C                                             ; +0x2b8, 0x70f604\nMOV             R0, R5; this                                           ; +0x2ba, 0x70f606\nBL              _ZN8EditorUI24updateControlsAfterAlignEv; EditorUI::updateControlsAfterAlign(void) ; +0x2bc, 0x70f608\nB               loc_70F688                                             ; +0x2c0, 0x70f60c\nLDR             R1, [R0]                                               ; +0x2c2, 0x70f60e\nSTR             R2, [SP,#0x5C+var_58]                                  ; +0x2c4, 0x70f610\nLDR             R1, [R1,#0x60]                                         ; +0x2c6, 0x70f612\nBLX             R1                                                     ; +0x2c8, 0x70f614\nMOV             R1, R0; cocos2d::CCPoint *                             ; +0x2ca, 0x70f616\nMOV             R0, R9; this                                           ; +0x2cc, 0x70f618\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x2ce, 0x70f61a\nLDR             R2, [SP,#0x5C+var_58]                                  ; +0x2d2, 0x70f61e\nCBZ             R2, loc_70F634                                         ; +0x2d4, 0x70f620\nMOV             R1, R9                                                 ; +0x2d6, 0x70f622\nMOV             R0, R6                                                 ; +0x2d8, 0x70f624\nBL              _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0x2da, 0x70f626\nMOV             R0, R7                                                 ; +0x2de, 0x70f62a\nMOV             R1, R9                                                 ; +0x2e0, 0x70f62c\nBL              _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0x2e2, 0x70f62e\nB               loc_70F684                                             ; +0x2e6, 0x70f632\nVLDR            S15, [SP,#0x5C+var_10]                                 ; +0x2e8, 0x70f634\nVLDR            S14, [SP,#0x5C+var_48]                                 ; +0x2ec, 0x70f638\nVCMPE.F32       S15, S14                                               ; +0x2f0, 0x70f63c\nVLDR            S14, [SP,#0x5C+var_40]                                 ; +0x2f4, 0x70f640\nVMRS            APSR_nzcv, FPSCR                                       ; +0x2f8, 0x70f644\nIT MI                                                                  ; +0x2fc, 0x70f648\nVSTRMI          S15, [SP,#0x5C+var_48]                                 ; +0x2fe, 0x70f64a\nVCMPE.F32       S15, S14                                               ; +0x302, 0x70f64e\nVLDR            S14, [SP,#0x5C+var_44]                                 ; +0x306, 0x70f652\nVMRS            APSR_nzcv, FPSCR                                       ; +0x30a, 0x70f656\nIT GT                                                                  ; +0x30e, 0x70f65a\nVSTRGT          S15, [SP,#0x5C+var_40]                                 ; +0x310, 0x70f65c\nVLDR            S15, [SP,#0x5C+var_C]                                  ; +0x314, 0x70f660\nVCMPE.F32       S15, S14                                               ; +0x318, 0x70f664\nVLDR            S14, [SP,#0x5C+var_3C]                                 ; +0x31c, 0x70f668\nVMRS            APSR_nzcv, FPSCR                                       ; +0x320, 0x70f66c\nIT MI                                                                  ; +0x324, 0x70f670\nVSTRMI          S15, [SP,#0x5C+var_44]                                 ; +0x326, 0x70f672\nVCMPE.F32       S15, S14                                               ; +0x32a, 0x70f676\nVMRS            APSR_nzcv, FPSCR                                       ; +0x32e, 0x70f67a\nIT GT                                                                  ; +0x332, 0x70f67e\nVSTRGT          S15, [SP,#0x5C+var_3C]                                 ; +0x334, 0x70f680\nMOVS            R2, #0                                                 ; +0x338, 0x70f684\nB               loc_70F4C0                                             ; +0x33a, 0x70f686\nLDR             R3, [SP,#0x5C+var_54]                                  ; +0x33c, 0x70f688\nLDR             R2, [SP,#0x5C+var_8]                                   ; +0x33e, 0x70f68a\nLDR             R3, [R3]                                               ; +0x340, 0x70f68c\nCMP             R2, R3                                                 ; +0x342, 0x70f68e\nBEQ             loc_70F696                                             ; +0x344, 0x70f690\nBLX             __stack_chk_fail                                       ; +0x346, 0x70f692\nADD             SP, SP, #0x5C ; '\\'                                    ; +0x34a, 0x70f696\nPOP.W           {R4-R11,PC}                                            ; +0x34c, 0x70f698", "xrefs": ["EditorUI::handleEditorAction @ 0x6f1fb6", "EditorUI::handleEditorAction @ 0x6f1fce", "EditorCommandsPopup::onCommand @ 0x77a7cc"], "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"}