{"type": "func", "start": 12595072, "end": 12596376, "name": "EditorUI::alignObjects", "pseudocode": "// \n// EditorUI::alignObjects from 0xc02f80 to 0xc03498 (1304 bytes)\n// \n// 5 xrefs:\n// > EditorUI::handleEditorAction @ 0xbd7928\n// > EditorUI::handleEditorAction @ 0xbd794c\n// > EditorCommandsPopup::onCommand @ 0xcbc084\n// > EditorCommandsPopup::onCommand @ 0xcbc0a8\n// > <???> @ 0xba880\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 13:03:50 +0000\n// \n\n__int64 __fastcall EditorUI::alignObjects(cocos2d::CCDictionary ***this, cocos2d::CCArray *a2, unsigned __int8 a3)\n{\n  cocos2d::CCArray *v6; // x0\n  unsigned int v7; // w1\n  cocos2d::CCArray *v8; // x0\n  cocos2d::CCDictionary *v9; // x0\n  cocos2d::CCDictionary *v10; // x23\n  unsigned int v11; // w19\n  __int64 v12; // x20\n  cocos2d::CCObject *v13; // x0\n  unsigned int *v14; // x1\n  __int64 *v15; // x19\n  __int64 *v16; // x23\n  __int64 v17; // x0\n  int v18; // w24\n  const cocos2d::CCPoint *v19; // x0\n  signed int v20; // w24\n  long double v21; // q0\n  int v22; // w0\n  int *v23; // x23\n  const cocos2d::CCPoint *v24; // x0\n  long double v25; // q0\n  long double v26; // q0\n  long double v27; // q0\n  unsigned int v28; // w19\n  cocos2d::CCArray *v29; // x23\n  unsigned int v30; // w1\n  __int64 v31; // x27\n  unsigned int v32; // w19\n  cocos2d::CCArray *v33; // x23\n  int v34; // w20\n  cocos2d::CCArray *StickyGroup; // x0\n  const char *v36; // x1\n  cocos2d::CCObject *v37; // x28\n  __int64 v38; // x2\n  void (__fastcall *v39)(cocos2d::CCObject *, __int64 *); // x20\n  int v40; // [xsp+74h] [xbp+74h]\n  float v41; // [xsp+88h] [xbp+88h] BYREF\n  float v42; // [xsp+8Ch] [xbp+8Ch]\n  float v43; // [xsp+90h] [xbp+90h] BYREF\n  float v44; // [xsp+94h] [xbp+94h]\n  __int64 v45; // [xsp+98h] [xbp+98h] BYREF\n  float v46; // [xsp+A0h] [xbp+A0h]\n  float v47; // [xsp+A4h] [xbp+A4h]\n  float v48[2]; // [xsp+A8h] [xbp+A8h] BYREF\n  _BYTE v49[8]; // [xsp+B0h] [xbp+B0h] BYREF\n  __int64 v50; // [xsp+B8h] [xbp+B8h] BYREF\n  __int64 v51; // [xsp+C0h] [xbp+C0h] BYREF\n\n  v40 = a3;\n  if ( a2 && (unsigned int)cocos2d::CCArray::count(a2) > 2 )\n  {\n    v6 = (cocos2d::CCArray *)cocos2d::CCArray::count(a2);\n    v8 = (cocos2d::CCArray *)cocos2d::CCArray::createWithCapacity(v6, v7);\n    v9 = (cocos2d::CCDictionary *)cocos2d::CCArray::addObjectsFromArray(v8, a2);\n    v10 = (cocos2d::CCDictionary *)cocos2d::CCDictionary::create(v9);\n    if ( *((_BYTE *)this + 867) && !*((_BYTE *)this + 868) )\n    {\n      v11 = 0;\n      while ( v11 < (unsigned int)cocos2d::CCArray::count(a2) )\n      {\n        while ( 1 )\n        {\n          v12 = cocos2d::CCArray::objectAtIndex(a2, v11);\n          if ( *(int *)(v12 + 872) > 0 )\n            break;\n          if ( ++v11 >= (unsigned int)cocos2d::CCArray::count(a2) )\n            goto LABEL_45;\n        }\n        cocos2d::CCArray::removeObjectAtIndex(a2, v11, 1);\n        if ( !cocos2d::CCDictionary::objectForKey(v10, *(int *)(v12 + 872)) )\n        {\n          v13 = (cocos2d::CCObject *)cocos2d::CCNode::create(nullptr);\n          cocos2d::CCDictionary::setObject(v10, v13, *(int *)(v12 + 872));\n        }\n      }\nLABEL_45:\n      v32 = 0;\n      v33 = (cocos2d::CCArray *)cocos2d::CCDictionary::allKeys(v10);\n      while ( v32 < (unsigned int)cocos2d::CCArray::count(v33) )\n      {\n        v34 = *(_DWORD *)(cocos2d::CCArray::objectAtIndex(v33, v32) + 56);\n        StickyGroup = (cocos2d::CCArray *)GJBaseGameLayer::getStickyGroup(*(this + 180), v34);\n        if ( StickyGroup )\n        {\n          EditorUI::getGroupCenter((cocos2d::CCPoint *)&v50, StickyGroup, 1u);\n          v37 = (cocos2d::CCObject *)GameObject::createWithFrame((GameObject *)\"checkpoint_01_001.png\", v36);\n          v38 = *(_QWORD *)v37;\n          *((_DWORD *)v37 + 257) = 44;\n          *((_DWORD *)v37 + 218) = v34;\n          v39 = *(void (__fastcall **)(cocos2d::CCObject *, __int64 *))(v38 + 1368);\n          cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v51, (const cocos2d::CCPoint *)&v50);\n          v39(v37, &v51);\n          cocos2d::CCArray::addObject(a2, v37);\n        }\n        ++v32;\n      }\n    }\n    if ( v40 )\n      qsort(\n        *(void **)(*((_QWORD *)a2 + 7) + 16LL),\n        **((unsigned int **)a2 + 7),\n        8u,\n        (int (*)(const void *, const void *))alignYSort);\n    else\n      qsort(\n        *(void **)(*((_QWORD *)a2 + 7) + 16LL),\n        **((unsigned int **)a2 + 7),\n        8u,\n        (int (*)(const void *, const void *))alignXSort);\n    cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v41);\n    cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v43);\n    v14 = *((unsigned int **)a2 + 7);\n    if ( *v14 )\n    {\n      v15 = *((__int64 **)v14 + 2);\n      v16 = &v15[*v14 - 1];\n      if ( v15 <= v16 )\n      {\n        v17 = *v15;\n        if ( *v15 )\n        {\n          v18 = 1;\n          do\n          {\n            v19 = (const cocos2d::CCPoint *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v17 + 192LL))(v17);\n            cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v51, v19);\n            if ( v18 )\n            {\n              cocos2d::CCPoint::operator=(&v41, &v51);\n              cocos2d::CCPoint::operator=(&v43, &v51);\n            }\n            else\n            {\n              if ( *(float *)&v51 < v41 )\n                v41 = *(float *)&v51;\n              if ( *(float *)&v51 > v43 )\n                v43 = *(float *)&v51;\n              if ( *((float *)&v51 + 1) < v42 )\n                v42 = *((float *)&v51 + 1);\n              if ( *((float *)&v51 + 1) > v44 )\n                v44 = *((float *)&v51 + 1);\n            }\n            if ( v16 < ++v15 )\n              break;\n            v17 = *v15;\n            v18 = 0;\n          }\n          while ( *v15 );\n        }\n      }\n    }\n    if ( v41 != v43 || v42 != v44 )\n    {\n      EditorUI::createUndoObject((__int64)this, 5, 0);\n      v20 = 1;\n      cocos2d::CCPoint::operator-(&v45, &v43, &v41, v21);\n      v22 = cocos2d::CCArray::count(a2);\n      cocos2d::CCPoint::operator*(&v45, 1.0 / (float)(unsigned int)(v22 - 1));\n      if ( (unsigned int)cocos2d::CCArray::count(a2) - 1 > 1 )\n      {\n        do\n        {\n          v23 = (int *)cocos2d::CCArray::objectAtIndex(a2, v20);\n          v24 = (const cocos2d::CCPoint *)(*(__int64 (__fastcall **)(int *))(*(_QWORD *)v23 + 192LL))(v23);\n          cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v48, v24);\n          cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v49);\n          if ( v40 )\n          {\n            cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v51, v48[0], v42 + (float)((float)v20 * v47));\n            *(__n128 *)&v25 = cocos2d::CCPoint::operator=(v49, &v51);\n            cocos2d::CCPoint::operator-(&v50, v49, v48, v25);\n            if ( v23[257] != 44 )\n              goto LABEL_33;\n          }\n          else\n          {\n            cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v51, v41 + (float)((float)v20 * v46), v48[1]);\n            *(__n128 *)&v27 = cocos2d::CCPoint::operator=(v49, &v51);\n            cocos2d::CCPoint::operator-(&v50, v49, v48, v27);\n            if ( v23[257] != 44 )\n            {\nLABEL_33:\n              cocos2d::CCPoint::operator-(&v51, v49, v48, v26);\n              EditorUI::moveObject((__int64)this, (__int64)v23);\n              goto LABEL_34;\n            }\n          }\n          v28 = 0;\n          v29 = (cocos2d::CCArray *)GJBaseGameLayer::getStickyGroup(*(this + 180), v23[218]);\n          if ( v29 )\n          {\n            while ( v28 < (unsigned int)cocos2d::CCArray::count(v29) )\n            {\n              v30 = v28++;\n              v31 = cocos2d::CCArray::objectAtIndex(v29, v30);\n              cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v51, (const cocos2d::CCPoint *)&v50);\n              EditorUI::moveObject((__int64)this, v31);\n            }\n            ++v20;\n            continue;\n          }\nLABEL_34:\n          ++v20;\n        }\n        while ( v20 < (unsigned int)cocos2d::CCArray::count(a2) - 1 );\n      }\n      EditorUI::updateControlsAfterAlign((EditorUI *)this);\n    }\n  }\n  return _stack_chk_guard;\n}", "assembly": "; \n; EditorUI::alignObjects from 0xc02f80 to 0xc03498 (1304 bytes)\n; \n; 5 xrefs:\n; > EditorUI::handleEditorAction @ 0xbd7928\n; > EditorUI::handleEditorAction @ 0xbd794c\n; > EditorCommandsPopup::onCommand @ 0xcbc084\n; > EditorCommandsPopup::onCommand @ 0xcbc0a8\n; > <???> @ 0xba880\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 13:03:50 +0000\n; \nSTP             X29, X30, [SP,#var_D0]!                                ; +0x0, 0xc02f80\nMOV             X29, SP                                                ; +0x4, 0xc02f84\nSTP             X21, X22, [SP,#0xD0+var_B0]                            ; +0x8, 0xc02f88\nMOV             X22, X0                                                ; +0xc, 0xc02f8c\nUXTB            W0, W2                                                 ; +0x10, 0xc02f90\nSTR             W0, [X29,#0xD0+var_5C]                                 ; +0x14, 0xc02f94\nADRP            X0, #__stack_chk_guard_ptr@PAGE                        ; +0x18, 0xc02f98\nSTP             X19, X20, [SP,#0xD0+var_C0]                            ; +0x1c, 0xc02f9c\nSTP             X23, X24, [SP,#0xD0+var_A0]                            ; +0x20, 0xc02fa0\nLDR             X0, [X0,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x24, 0xc02fa4\nMOV             X21, X1                                                ; +0x28, 0xc02fa8\nSTP             X25, X26, [SP,#0xD0+var_90]                            ; +0x2c, 0xc02fac\nSTP             X27, X28, [SP,#0xD0+var_80]                            ; +0x30, 0xc02fb0\nLDR             X0, [X0]                                               ; +0x34, 0xc02fb4\nSTR             X0, [X29,#0xD0+var_8]                                  ; +0x38, 0xc02fb8\nCBZ             X1, loc_C02FD0                                         ; +0x3c, 0xc02fbc\nMOV             X0, X1; this                                           ; +0x40, 0xc02fc0\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x44, 0xc02fc4\nCMP             W0, #2                                                 ; +0x48, 0xc02fc8\nB.HI            loc_C03004                                             ; +0x4c, 0xc02fcc\nADRP            X0, #__stack_chk_guard_ptr@PAGE                        ; +0x50, 0xc02fd0\nLDR             X1, [X29,#0xD0+var_8]                                  ; +0x54, 0xc02fd4\nLDR             X0, [X0,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x58, 0xc02fd8\nLDR             X0, [X0]                                               ; +0x5c, 0xc02fdc\nCMP             X1, X0                                                 ; +0x60, 0xc02fe0\nB.NE            loc_C03494                                             ; +0x64, 0xc02fe4\nLDP             X19, X20, [SP,#0xD0+var_C0]                            ; +0x68, 0xc02fe8\nLDP             X21, X22, [SP,#0xD0+var_B0]                            ; +0x6c, 0xc02fec\nLDP             X23, X24, [SP,#0xD0+var_A0]                            ; +0x70, 0xc02ff0\nLDP             X25, X26, [SP,#0xD0+var_90]                            ; +0x74, 0xc02ff4\nLDP             X27, X28, [SP,#0xD0+var_80]                            ; +0x78, 0xc02ff8\nLDP             X29, X30, [SP+0xD0+var_D0],#0xD0                       ; +0x7c, 0xc02ffc\nRET                                                                    ; +0x80, 0xc03000\nMOV             X0, X21; this                                          ; +0x84, 0xc03004\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x88, 0xc03008\nBL              _ZN7cocos2d7CCArray18createWithCapacityEj; cocos2d::CCArray::createWithCapacity(uint) ; +0x8c, 0xc0300c\nMOV             X1, X21; cocos2d::CCArray *                            ; +0x90, 0xc03010\nBL              _ZN7cocos2d7CCArray19addObjectsFromArrayEPS0_; cocos2d::CCArray::addObjectsFromArray(cocos2d::CCArray*) ; +0x94, 0xc03014\nBL              _ZN7cocos2d12CCDictionary6createEv; cocos2d::CCDictionary::create(void) ; +0x98, 0xc03018\nMOV             X23, X0                                                ; +0x9c, 0xc0301c\nLDRB            W0, [X22,#0x363]                                       ; +0xa0, 0xc03020\nCBZ             W0, loc_C03098                                         ; +0xa4, 0xc03024\nLDRB            W0, [X22,#0x364]                                       ; +0xa8, 0xc03028\nCBNZ            W0, loc_C03098                                         ; +0xac, 0xc0302c\nMOV             W19, #0                                                ; +0xb0, 0xc03030\nMOV             X0, X21; this                                          ; +0xb4, 0xc03034\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0xb8, 0xc03038\nCMP             W19, W0                                                ; +0xbc, 0xc0303c\nB.CS            loc_C033C8                                             ; +0xc0, 0xc03040\nMOV             X0, X21; this                                          ; +0xc4, 0xc03044\nMOV             W1, W19; unsigned int                                  ; +0xc8, 0xc03048\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0xcc, 0xc0304c\nMOV             X20, X0                                                ; +0xd0, 0xc03050\nLDR             W0, [X0,#0x368]                                        ; +0xd4, 0xc03054\nCMP             W0, WZR                                                ; +0xd8, 0xc03058\nB.LE            loc_C033B4                                             ; +0xdc, 0xc0305c\nMOV             W1, W19; unsigned int                                  ; +0xe0, 0xc03060\nMOV             X0, X21; this                                          ; +0xe4, 0xc03064\nMOV             W2, #1; bool                                           ; +0xe8, 0xc03068\nBL              _ZN7cocos2d7CCArray19removeObjectAtIndexEjb; cocos2d::CCArray::removeObjectAtIndex(uint,bool) ; +0xec, 0xc0306c\nLDRSW           X1, [X20,#0x368]; __int64                              ; +0xf0, 0xc03070\nMOV             X0, X23; this                                          ; +0xf4, 0xc03074\nBL              _ZN7cocos2d12CCDictionary12objectForKeyEl; cocos2d::CCDictionary::objectForKey(long) ; +0xf8, 0xc03078\nCBNZ            X0, loc_C03034                                         ; +0xfc, 0xc0307c\nBL              _ZN7cocos2d6CCNode6createEv; cocos2d::CCNode::create(void) ; +0x100, 0xc03080\nMOV             X1, X0; cocos2d::CCObject *                            ; +0x104, 0xc03084\nLDRSW           X2, [X20,#0x368]; __int64                              ; +0x108, 0xc03088\nMOV             X0, X23; this                                          ; +0x10c, 0xc0308c\nBL              _ZN7cocos2d12CCDictionary9setObjectEPNS_8CCObjectEl; cocos2d::CCDictionary::setObject(cocos2d::CCObject *,long) ; +0x110, 0xc03090\nB               loc_C03034                                             ; +0x114, 0xc03094\nLDR             W0, [X29,#0xD0+var_5C]                                 ; +0x118, 0xc03098\nCBNZ            W0, loc_C032E8                                         ; +0x11c, 0xc0309c\nLDR             X1, [X21,#0x38]                                        ; +0x120, 0xc030a0\nADRP            X3, #_Z10alignXSortPKvS0__ptr@PAGE                     ; +0x124, 0xc030a4\nMOV             X2, #8; size_t                                         ; +0x128, 0xc030a8\nLDR             X0, [X1,#0x10]; void *                                 ; +0x12c, 0xc030ac\nLDR             X3, [X3,#_Z10alignXSortPKvS0__ptr@PAGEOFF]; int (*)(const void *, const void *) ; +0x130, 0xc030b0\nLDR             W1, [X1]; size_t                                       ; +0x134, 0xc030b4\nBL              .qsort                                                 ; +0x138, 0xc030b8\nADD             X28, X29, #0xD0+var_48                                 ; +0x13c, 0xc030bc\nADD             X25, X29, #0xD0+var_40                                 ; +0x140, 0xc030c0\nMOV             X0, X28; this                                          ; +0x144, 0xc030c4\nBL              _ZN7cocos2d7CCPointC1Ev; cocos2d::CCPoint::CCPoint(void) ; +0x148, 0xc030c8\nMOV             X0, X25; this                                          ; +0x14c, 0xc030cc\nBL              _ZN7cocos2d7CCPointC1Ev; cocos2d::CCPoint::CCPoint(void) ; +0x150, 0xc030d0\nLDR             X1, [X21,#0x38]                                        ; +0x154, 0xc030d4\nLDR             W0, [X1]                                               ; +0x158, 0xc030d8\nCBZ             W0, loc_C03184                                         ; +0x15c, 0xc030dc\nLDR             X19, [X1,#0x10]                                        ; +0x160, 0xc030e0\nMOV             X23, #0xFFFFFFFFFFFFFFF8                               ; +0x164, 0xc030e4\nADD             X23, X23, W0,UXTW#3                                    ; +0x168, 0xc030e8\nADD             X23, X19, X23                                          ; +0x16c, 0xc030ec\nCMP             X19, X23                                               ; +0x170, 0xc030f0\nB.HI            loc_C03184                                             ; +0x174, 0xc030f4\nLDR             X0, [X19]                                              ; +0x178, 0xc030f8\nCBZ             X0, loc_C03184                                         ; +0x17c, 0xc030fc\nMOV             W24, #1                                                ; +0x180, 0xc03100\nADD             X20, X29, #0xD0+var_10                                 ; +0x184, 0xc03104\nLDR             X1, [X0]                                               ; +0x188, 0xc03108\nLDR             X1, [X1,#0xC0]                                         ; +0x18c, 0xc0310c\nBLR             X1                                                     ; +0x190, 0xc03110\nMOV             X1, X0; cocos2d::CCPoint *                             ; +0x194, 0xc03114\nMOV             X0, X20; this                                          ; +0x198, 0xc03118\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x19c, 0xc0311c\nCBNZ            W24, loc_C03478                                        ; +0x1a0, 0xc03120\nLDR             S0, [X20]                                              ; +0x1a4, 0xc03124\nLDR             S1, [X28]                                              ; +0x1a8, 0xc03128\nFCMPE           S0, S1                                                 ; +0x1ac, 0xc0312c\nB.PL            loc_C03138                                             ; +0x1b0, 0xc03130\nSTR             S0, [X28]                                              ; +0x1b4, 0xc03134\nLDR             S1, [X25]                                              ; +0x1b8, 0xc03138\nFCMPE           S0, S1                                                 ; +0x1bc, 0xc0313c\nB.LE            loc_C03148                                             ; +0x1c0, 0xc03140\nSTR             S0, [X25]                                              ; +0x1c4, 0xc03144\nLDR             S0, [X20,#4]                                           ; +0x1c8, 0xc03148\nLDR             S1, [X28,#4]                                           ; +0x1cc, 0xc0314c\nFCMPE           S0, S1                                                 ; +0x1d0, 0xc03150\nB.PL            loc_C0315C                                             ; +0x1d4, 0xc03154\nSTR             S0, [X28,#4]                                           ; +0x1d8, 0xc03158\nLDR             S1, [X25,#4]                                           ; +0x1dc, 0xc0315c\nFCMPE           S0, S1                                                 ; +0x1e0, 0xc03160\nB.LE            loc_C0316C                                             ; +0x1e4, 0xc03164\nSTR             S0, [X25,#4]                                           ; +0x1e8, 0xc03168\nADD             X19, X19, #8                                           ; +0x1ec, 0xc0316c\nCMP             X23, X19                                               ; +0x1f0, 0xc03170\nB.CC            loc_C03184                                             ; +0x1f4, 0xc03174\nLDR             X0, [X19]                                              ; +0x1f8, 0xc03178\nMOV             W24, #0                                                ; +0x1fc, 0xc0317c\nCBNZ            X0, loc_C03108                                         ; +0x200, 0xc03180\nLDR             S0, [X29,#0xD0+var_40]                                 ; +0x204, 0xc03184\nLDR             S1, [X29,#0xD0+var_48]                                 ; +0x208, 0xc03188\nFCMP            S1, S0                                                 ; +0x20c, 0xc0318c\nB.NE            loc_C031A4                                             ; +0x210, 0xc03190\nLDR             S0, [X29,#0xD0+var_3C]                                 ; +0x214, 0xc03194\nLDR             S1, [X29,#0xD0+var_44]                                 ; +0x218, 0xc03198\nFCMP            S1, S0                                                 ; +0x21c, 0xc0319c\nB.EQ            loc_C02FD0                                             ; +0x220, 0xc031a0\nADD             X3, X29, #0xD0+var_30                                  ; +0x224, 0xc031a4\nMOV             W2, #0                                                 ; +0x228, 0xc031a8\nMOV             W1, #5                                                 ; +0x22c, 0xc031ac\nMOV             X0, X22                                                ; +0x230, 0xc031b0\nMOV             X23, X3                                                ; +0x234, 0xc031b4\nSTR             X3, [X29,#0xD0+var_68]                                 ; +0x238, 0xc031b8\nADD             X19, X29, #0xD0+var_38                                 ; +0x23c, 0xc031bc\nBL              _ZN8EditorUI16createUndoObjectE11UndoCommandb; EditorUI::createUndoObject(UndoCommand,bool) ; +0x240, 0xc031c0\nADD             X2, X29, #0xD0+var_18                                  ; +0x244, 0xc031c4\nMOV             X1, X28                                                ; +0x248, 0xc031c8\nMOV             X8, X19                                                ; +0x24c, 0xc031cc\nMOV             X0, X25                                                ; +0x250, 0xc031d0\nSTR             X2, [X29,#0xD0+var_58]                                 ; +0x254, 0xc031d4\nMOV             W24, #1                                                ; +0x258, 0xc031d8\nBL              _ZNK7cocos2d7CCPointmiERKS0_; cocos2d::CCPoint::operator-(cocos2d::CCPoint const&) ; +0x25c, 0xc031dc\nADD             X26, X29, #0xD0+var_28                                 ; +0x260, 0xc031e0\nMOV             X0, X21; this                                          ; +0x264, 0xc031e4\nADD             X25, X29, #0xD0+var_20                                 ; +0x268, 0xc031e8\nADD             X20, X29, #0xD0+var_10                                 ; +0x26c, 0xc031ec\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x270, 0xc031f0\nSUB             W0, W0, #1                                             ; +0x274, 0xc031f4\nFMOV            S1, #1.0                                               ; +0x278, 0xc031f8\nMOV             X8, X23                                                ; +0x27c, 0xc031fc\nUCVTF           S0, W0                                                 ; +0x280, 0xc03200\nMOV             X0, X19                                                ; +0x284, 0xc03204\nFDIV            S0, S1, S0                                             ; +0x288, 0xc03208\nBL              _ZNK7cocos2d7CCPointmlEf; cocos2d::CCPoint::operator*(float) ; +0x28c, 0xc0320c\nMOV             X0, X21; this                                          ; +0x290, 0xc03210\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x294, 0xc03214\nSUB             W0, W0, #1                                             ; +0x298, 0xc03218\nCMP             W24, W0                                                ; +0x29c, 0xc0321c\nB.CS            loc_C032DC                                             ; +0x2a0, 0xc03220\nMOV             W1, W24; unsigned int                                  ; +0x2a4, 0xc03224\nMOV             X0, X21; this                                          ; +0x2a8, 0xc03228\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x2ac, 0xc0322c\nLDR             X1, [X0]                                               ; +0x2b0, 0xc03230\nMOV             X23, X0                                                ; +0x2b4, 0xc03234\nLDR             X1, [X1,#0xC0]                                         ; +0x2b8, 0xc03238\nBLR             X1                                                     ; +0x2bc, 0xc0323c\nMOV             X1, X0; cocos2d::CCPoint *                             ; +0x2c0, 0xc03240\nMOV             X0, X26; this                                          ; +0x2c4, 0xc03244\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x2c8, 0xc03248\nMOV             X0, X25; this                                          ; +0x2cc, 0xc0324c\nBL              _ZN7cocos2d7CCPointC1Ev; cocos2d::CCPoint::CCPoint(void) ; +0x2d0, 0xc03250\nLDR             W0, [X29,#0xD0+var_5C]                                 ; +0x2d4, 0xc03254\nCBZ             W0, loc_C03308                                         ; +0x2d8, 0xc03258\nLDR             X1, [X29,#0xD0+var_68]                                 ; +0x2dc, 0xc0325c\nMOV             X0, X20; this                                          ; +0x2e0, 0xc03260\nSCVTF           S1, W24                                                ; +0x2e4, 0xc03264\nLDR             S2, [X28,#4]                                           ; +0x2e8, 0xc03268\nLDR             S3, [X1,#4]                                            ; +0x2ec, 0xc0326c\nLDR             S0, [X26]; float                                       ; +0x2f0, 0xc03270\nFMADD           S1, S1, S3, S2; float                                  ; +0x2f4, 0xc03274\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x2f8, 0xc03278\nMOV             X1, X20                                                ; +0x2fc, 0xc0327c\nMOV             X0, X25                                                ; +0x300, 0xc03280\nBL              _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0x304, 0xc03284\nLDR             X8, [X29,#0xD0+var_58]                                 ; +0x308, 0xc03288\nMOV             X0, X25                                                ; +0x30c, 0xc0328c\nMOV             X1, X26                                                ; +0x310, 0xc03290\nBL              _ZNK7cocos2d7CCPointmiERKS0_; cocos2d::CCPoint::operator-(cocos2d::CCPoint const&) ; +0x314, 0xc03294\nLDR             W0, [X23,#0x404]                                       ; +0x318, 0xc03298\nCMP             W0, #0x2C ; ','                                        ; +0x31c, 0xc0329c\nB.EQ            loc_C03350                                             ; +0x320, 0xc032a0\nMOV             X0, X25                                                ; +0x324, 0xc032a4\nMOV             X1, X26                                                ; +0x328, 0xc032a8\nMOV             X8, X20                                                ; +0x32c, 0xc032ac\nBL              _ZNK7cocos2d7CCPointmiERKS0_; cocos2d::CCPoint::operator-(cocos2d::CCPoint const&) ; +0x330, 0xc032b0\nMOV             X0, X22                                                ; +0x334, 0xc032b4\nMOV             X1, X23                                                ; +0x338, 0xc032b8\nMOV             X2, X20                                                ; +0x33c, 0xc032bc\nBL              _ZN8EditorUI10moveObjectEP10GameObjectN7cocos2d7CCPointE; EditorUI::moveObject(GameObject *,cocos2d::CCPoint) ; +0x340, 0xc032c0\nADD             W24, W24, #1                                           ; +0x344, 0xc032c4\nMOV             X0, X21; this                                          ; +0x348, 0xc032c8\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x34c, 0xc032cc\nSUB             W0, W0, #1                                             ; +0x350, 0xc032d0\nCMP             W24, W0                                                ; +0x354, 0xc032d4\nB.CC            loc_C03224                                             ; +0x358, 0xc032d8\nMOV             X0, X22; this                                          ; +0x35c, 0xc032dc\nBL              _ZN8EditorUI24updateControlsAfterAlignEv; EditorUI::updateControlsAfterAlign(void) ; +0x360, 0xc032e0\nB               loc_C02FD0                                             ; +0x364, 0xc032e4\nLDR             X1, [X21,#0x38]                                        ; +0x368, 0xc032e8\nADRP            X3, #_Z10alignYSortPKvS0__ptr@PAGE                     ; +0x36c, 0xc032ec\nMOV             X2, #8; size_t                                         ; +0x370, 0xc032f0\nLDR             X0, [X1,#0x10]; void *                                 ; +0x374, 0xc032f4\nLDR             X3, [X3,#_Z10alignYSortPKvS0__ptr@PAGEOFF]; int (*)(const void *, const void *) ; +0x378, 0xc032f8\nLDR             W1, [X1]; size_t                                       ; +0x37c, 0xc032fc\nBL              .qsort                                                 ; +0x380, 0xc03300\nB               loc_C030BC                                             ; +0x384, 0xc03304\nLDR             X1, [X29,#0xD0+var_68]                                 ; +0x388, 0xc03308\nMOV             X0, X20; this                                          ; +0x38c, 0xc0330c\nSCVTF           S0, W24                                                ; +0x390, 0xc03310\nLDR             S2, [X28]                                              ; +0x394, 0xc03314\nLDR             S3, [X1]                                               ; +0x398, 0xc03318\nLDR             S1, [X26,#4]; float                                    ; +0x39c, 0xc0331c\nFMADD           S0, S0, S3, S2; float                                  ; +0x3a0, 0xc03320\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x3a4, 0xc03324\nMOV             X1, X20                                                ; +0x3a8, 0xc03328\nMOV             X0, X25                                                ; +0x3ac, 0xc0332c\nBL              _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0x3b0, 0xc03330\nLDR             X8, [X29,#0xD0+var_58]                                 ; +0x3b4, 0xc03334\nMOV             X0, X25                                                ; +0x3b8, 0xc03338\nMOV             X1, X26                                                ; +0x3bc, 0xc0333c\nBL              _ZNK7cocos2d7CCPointmiERKS0_; cocos2d::CCPoint::operator-(cocos2d::CCPoint const&) ; +0x3c0, 0xc03340\nLDR             W0, [X23,#0x404]                                       ; +0x3c4, 0xc03344\nCMP             W0, #0x2C ; ','                                        ; +0x3c8, 0xc03348\nB.NE            loc_C032A4                                             ; +0x3cc, 0xc0334c\nLDR             W1, [X23,#0x368]; int                                  ; +0x3d0, 0xc03350\nMOV             W19, #0                                                ; +0x3d4, 0xc03354\nLDR             X0, [X22,#0x5A0]; this                                 ; +0x3d8, 0xc03358\nBL              _ZN15GJBaseGameLayer14getStickyGroupEi; GJBaseGameLayer::getStickyGroup(int) ; +0x3dc, 0xc0335c\nMOV             X23, X0                                                ; +0x3e0, 0xc03360\nCBNZ            X0, loc_C0339C                                         ; +0x3e4, 0xc03364\nB               loc_C032C4                                             ; +0x3e8, 0xc03368\nMOV             W1, W19; unsigned int                                  ; +0x3ec, 0xc0336c\nMOV             X0, X23; this                                          ; +0x3f0, 0xc03370\nADD             W19, W19, #1                                           ; +0x3f4, 0xc03374\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x3f8, 0xc03378\nMOV             X27, X0                                                ; +0x3fc, 0xc0337c\nLDR             X1, [X29,#0xD0+var_58]; cocos2d::CCPoint *             ; +0x400, 0xc03380\nMOV             X0, X20; this                                          ; +0x404, 0xc03384\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x408, 0xc03388\nMOV             X0, X22                                                ; +0x40c, 0xc0338c\nMOV             X1, X27                                                ; +0x410, 0xc03390\nMOV             X2, X20                                                ; +0x414, 0xc03394\nBL              _ZN8EditorUI10moveObjectEP10GameObjectN7cocos2d7CCPointE; EditorUI::moveObject(GameObject *,cocos2d::CCPoint) ; +0x418, 0xc03398\nMOV             X0, X23; this                                          ; +0x41c, 0xc0339c\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x420, 0xc033a0\nCMP             W19, W0                                                ; +0x424, 0xc033a4\nB.CC            loc_C0336C                                             ; +0x428, 0xc033a8\nADD             W24, W24, #1                                           ; +0x42c, 0xc033ac\nB               loc_C032C8                                             ; +0x430, 0xc033b0\nMOV             X0, X21; this                                          ; +0x434, 0xc033b4\nADD             W19, W19, #1                                           ; +0x438, 0xc033b8\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x43c, 0xc033bc\nCMP             W19, W0                                                ; +0x440, 0xc033c0\nB.CC            loc_C03044                                             ; +0x444, 0xc033c4\nMOV             X0, X23; this                                          ; +0x448, 0xc033c8\nADRP            X27, #aCheckpoint0100@PAGE; \"checkpoint_01_001.png\"    ; +0x44c, 0xc033cc\nMOV             W19, #0                                                ; +0x450, 0xc033d0\nADD             X25, X29, #0xD0+var_18                                 ; +0x454, 0xc033d4\nBL              _ZN7cocos2d12CCDictionary7allKeysEv; cocos2d::CCDictionary::allKeys(void) ; +0x458, 0xc033d8\nMOV             W26, #0x2C ; ','                                       ; +0x45c, 0xc033dc\nMOV             X23, X0                                                ; +0x460, 0xc033e0\nADD             X24, X29, #0xD0+var_10                                 ; +0x464, 0xc033e4\nADD             X27, X27, #aCheckpoint0100@PAGEOFF; \"checkpoint_01_001.png\" ; +0x468, 0xc033e8\nMOV             X0, X23; this                                          ; +0x46c, 0xc033ec\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x470, 0xc033f0\nCMP             W19, W0                                                ; +0x474, 0xc033f4\nB.CS            loc_C03098                                             ; +0x478, 0xc033f8\nMOV             W1, W19; unsigned int                                  ; +0x47c, 0xc033fc\nMOV             X0, X23; this                                          ; +0x480, 0xc03400\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x484, 0xc03404\nLDR             W20, [X0,#0x38]                                        ; +0x488, 0xc03408\nLDR             X0, [X22,#0x5A0]; this                                 ; +0x48c, 0xc0340c\nMOV             W1, W20; int                                           ; +0x490, 0xc03410\nBL              _ZN15GJBaseGameLayer14getStickyGroupEi; GJBaseGameLayer::getStickyGroup(int) ; +0x494, 0xc03414\nCBZ             X0, loc_C03470                                         ; +0x498, 0xc03418\nMOV             X8, X25                                                ; +0x49c, 0xc0341c\nMOV             X1, X0; cocos2d::CCArray *                             ; +0x4a0, 0xc03420\nMOV             W2, #1; bool                                           ; +0x4a4, 0xc03424\nMOV             X0, X22; this                                          ; +0x4a8, 0xc03428\nBL              _ZN8EditorUI14getGroupCenterEPN7cocos2d7CCArrayEb; EditorUI::getGroupCenter(cocos2d::CCArray *,bool) ; +0x4ac, 0xc0342c\nMOV             X0, X27; this                                          ; +0x4b0, 0xc03430\nBL              _ZN10GameObject15createWithFrameEPKc; GameObject::createWithFrame(char const*) ; +0x4b4, 0xc03434\nMOV             X28, X0                                                ; +0x4b8, 0xc03438\nMOV             X1, X25; cocos2d::CCPoint *                            ; +0x4bc, 0xc0343c\nMOV             X0, X24; this                                          ; +0x4c0, 0xc03440\nLDR             X2, [X28]                                              ; +0x4c4, 0xc03444\nSTR             W26, [X28,#0x404]                                      ; +0x4c8, 0xc03448\nSTR             W20, [X28,#0x368]                                      ; +0x4cc, 0xc0344c\nLDR             X20, [X2,#0x558]                                       ; +0x4d0, 0xc03450\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x4d4, 0xc03454\nMOV             X0, X28                                                ; +0x4d8, 0xc03458\nMOV             X1, X24                                                ; +0x4dc, 0xc0345c\nBLR             X20                                                    ; +0x4e0, 0xc03460\nMOV             X0, X21; this                                          ; +0x4e4, 0xc03464\nMOV             X1, X28; cocos2d::CCObject *                           ; +0x4e8, 0xc03468\nBL              _ZN7cocos2d7CCArray9addObjectEPNS_8CCObjectE; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x4ec, 0xc0346c\nADD             W19, W19, #1                                           ; +0x4f0, 0xc03470\nB               loc_C033EC                                             ; +0x4f4, 0xc03474\nMOV             X1, X20                                                ; +0x4f8, 0xc03478\nMOV             X0, X28                                                ; +0x4fc, 0xc0347c\nBL              _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0x500, 0xc03480\nMOV             X0, X25                                                ; +0x504, 0xc03484\nMOV             X1, X20                                                ; +0x508, 0xc03488\nBL              _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0x50c, 0xc0348c\nB               loc_C0316C                                             ; +0x510, 0xc03490\nBL              .__stack_chk_fail                                      ; +0x514, 0xc03494", "xrefs": ["EditorUI::handleEditorAction @ 0xbd7928", "EditorUI::handleEditorAction @ 0xbd794c", "EditorCommandsPopup::onCommand @ 0xcbc084", "EditorCommandsPopup::onCommand @ 0xcbc0a8", "<???> @ 0xba880"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}