{"type": "func", "start": 5370811136, "end": 5370812308, "name": "EditorUI::alignObjectsOnAxis", "pseudocode": "// \n// EditorUI::alignObjectsOnAxis from 0x140201300 to 0x140201794 (1172 bytes)\n// \n// 5 xrefs:\n// > EditorCommandsPopup::onCommand @ 0x14017db9d\n// > EditorCommandsPopup::onCommand @ 0x14017dbc4\n// > EditorUI::handleEditorAction @ 0x1401c33e4\n// > EditorUI::handleEditorAction @ 0x1401c3409\n// > <???> @ 0x14091ae34\n// \n// This function is hookable on this platform (idp: pc, 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 11:28:13 +0000\n// \n\n// Hidden C++ exception states: #wind=1\nvoid __fastcall EditorUI::alignObjectsOnAxis(__int64 a1, cocos2d::CCArray *a2, char a3)\n{\n  unsigned int v6; // eax\n  cocos2d::CCArray *v7; // rax\n  cocos2d::CCDictionary *v8; // r14\n  unsigned int v9; // edi\n  struct cocos2d::CCObject *v10; // rbx\n  __int64 v11; // rbx\n  struct cocos2d::CCObject *v12; // rax\n  cocos2d::CCArray *v13; // r12\n  unsigned int i; // r14d\n  int v15; // ebx\n  struct cocos2d::CCObject *v16; // rax\n  __int64 v17; // rcx\n  __int64 v18; // r9\n  cocos2d::CCSprite *v19; // rax\n  cocos2d::CCSprite *v20; // rdi\n  __int64 v21; // rbx\n  __int64 v22; // rax\n  char v23; // di\n  unsigned int *v24; // rbx\n  __int64 v25; // rax\n  _QWORD *v26; // rbx\n  _QWORD *j; // r14\n  const struct cocos2d::CCPoint *v28; // rax\n  bool v29; // zf\n  __int64 v30; // rax\n  __int64 v31; // rdx\n  unsigned int *v32; // r14\n  __int64 v33; // rax\n  int **v34; // r14\n  int **k; // r12\n  int *v36; // rbx\n  const struct cocos2d::CCPoint *v37; // rax\n  cocos2d::CCArray *v38; // rax\n  cocos2d::CCArray *v39; // rsi\n  unsigned int v40; // edi\n  struct cocos2d::CCObject *v41; // rbx\n  __int64 v42; // rax\n  __int64 v43; // rax\n  float v44; // [rsp+20h] [rbp-30h] BYREF\n  float v45; // [rsp+24h] [rbp-2Ch]\n  _DWORD v46[2]; // [rsp+28h] [rbp-28h] BYREF\n  void *v47; // [rsp+30h] [rbp-20h] BYREF\n  char v48[8]; // [rsp+38h] [rbp-18h] BYREF\n  char v49[8]; // [rsp+40h] [rbp-10h] BYREF\n  char v50[8]; // [rsp+48h] [rbp-8h] BYREF\n  float v51; // [rsp+98h] [rbp+48h] BYREF\n  float v52; // [rsp+9Ch] [rbp+4Ch]\n  float v53; // [rsp+A8h] [rbp+58h] BYREF\n  float v54; // [rsp+ACh] [rbp+5Ch]\n\n  if ( a2 && cocos2d::CCArray::count(a2) >= 2 )\n  {\n    v6 = cocos2d::CCArray::count(a2);\n    v7 = cocos2d::CCArray::createWithCapacity(v6);\n    cocos2d::CCArray::addObjectsFromArray(v7, a2);\n    v8 = (cocos2d::CCDictionary *)cocos2d::CCDictionary::create();\n    if ( *(_BYTE *)(a1 + 915) && !*(_BYTE *)(a1 + 916) )\n    {\n      v9 = 0;\n      while ( v9 < cocos2d::CCArray::count(a2) )\n      {\n        v10 = cocos2d::CCArray::objectAtIndex(a2, v9);\n        if ( *((int *)v10 + 220) <= 0 )\n        {\n          ++v9;\n        }\n        else\n        {\n          cocos2d::CCArray::removeObjectAtIndex(a2, v9, 1);\n          if ( !cocos2d::CCDictionary::objectForKey(v8, *((int *)v10 + 220)) )\n          {\n            v11 = *((int *)v10 + 220);\n            v12 = (struct cocos2d::CCObject *)cocos2d::CCNode::create();\n            cocos2d::CCDictionary::setObject(v8, v12, v11);\n          }\n        }\n      }\n      v13 = cocos2d::CCDictionary::allKeys(v8);\n      for ( i = 0; i < cocos2d::CCArray::count(v13); ++i )\n      {\n        v15 = *((_DWORD *)cocos2d::CCArray::objectAtIndex(v13, i) + 14);\n        v16 = cocos2d::CCDictionary::objectForKey(*(cocos2d::CCDictionary **)(*(_QWORD *)(a1 + 1512) + 4256LL), v15);\n        if ( v16 )\n        {\n          LOBYTE(v18) = 1;\n          EditorUI::getGroupCenter(v17, v48, v16, v18);\n          v47 = operator new(0x550u);\n          v19 = (cocos2d::CCSprite *)GameObject::GameObject(v47);\n          v20 = v19;\n          if ( v19 )\n          {\n            *((_DWORD *)v19 + 7) = 13;\n            if ( cocos2d::CCSprite::initWithSpriteFrameName(v19, \"checkpoint_01_001.png\") )\n            {\n              GameObject::commonSetup(v20);\n              *((_BYTE *)v20 + 313) = 1;\n              cocos2d::CCObject::autorelease(v20);\n            }\n            else\n            {\n              (*(void (__fastcall **)(cocos2d::CCSprite *, __int64))(*(_QWORD *)v20 + 8LL))(v20, 1);\n              v20 = nullptr;\n            }\n          }\n          *((_DWORD *)v20 + 259) = 44;\n          *((_DWORD *)v20 + 220) = v15;\n          v21 = *(_QWORD *)v20;\n          cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v44, (const struct cocos2d::CCPoint *)v48);\n          (*(void (__fastcall **)(cocos2d::CCSprite *, __int64))(v21 + 1216))(v20, v22);\n          cocos2d::CCArray::addObject(a2, v20);\n        }\n      }\n    }\n    if ( cocos2d::CCArray::count(a2) >= 2 )\n    {\n      cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v53);\n      cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v51);\n      v23 = 1;\n      v24 = *((unsigned int **)a2 + 7);\n      v25 = *v24;\n      if ( (_DWORD)v25 )\n      {\n        v26 = *((_QWORD **)v24 + 2);\n        for ( j = &v26[v25 - 1]; v26 <= j; ++v26 )\n        {\n          if ( !*v26 )\n            break;\n          v28 = (const struct cocos2d::CCPoint *)(*(__int64 (__fastcall **)(_QWORD))(*(_QWORD *)*v26 + 200LL))(*v26);\n          cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v44, v28);\n          if ( v23 )\n          {\n            v23 = 0;\n            cocos2d::CCPoint::operator=(&v53, &v44);\n            cocos2d::CCPoint::operator=(&v51, &v44);\n          }\n          else\n          {\n            if ( v53 > v44 )\n              v53 = v44;\n            if ( v44 > v51 )\n              v51 = v44;\n            if ( v54 > v45 )\n              v54 = v45;\n            if ( v45 > v52 )\n              v52 = v45;\n          }\n        }\n      }\n      if ( a3 )\n        v29 = v54 == v52;\n      else\n        v29 = v53 == v51;\n      if ( !v29 )\n      {\n        cocos2d::CCPoint::operator+(&v53, v48, &v51);\n        cocos2d::CCPoint::operator/(v30, v46);\n        EditorUI::createUndoObject(a1, v31, 0);\n        v32 = *((unsigned int **)a2 + 7);\n        v33 = *v32;\n        if ( (_DWORD)v33 )\n        {\n          v34 = *((int ***)v32 + 2);\n          for ( k = &v34[v33 - 1]; v34 <= k; ++v34 )\n          {\n            v36 = *v34;\n            if ( !*v34 )\n              break;\n            v37 = (const struct cocos2d::CCPoint *)(*(__int64 (__fastcall **)(int *))(*(_QWORD *)v36 + 200LL))(*v34);\n            cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v47, v37);\n            cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v44, (const struct cocos2d::CCPoint *)&v47);\n            if ( a3 )\n              v45 = *(float *)&v46[1];\n            else\n              v44 = *(float *)v46;\n            cocos2d::CCPoint::operator-(&v44, v48, &v47);\n            if ( v36[259] == 44 )\n            {\n              v38 = cocos2d::CCDictionary::objectForKey(\n                      *(cocos2d::CCDictionary **)(*(_QWORD *)(a1 + 1512) + 4256LL),\n                      v36[220]);\n              v39 = v38;\n              if ( v38 )\n              {\n                v40 = 0;\n                if ( cocos2d::CCArray::count(v38) )\n                {\n                  do\n                  {\n                    v41 = cocos2d::CCArray::objectAtIndex(v39, v40);\n                    cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v49, (const struct cocos2d::CCPoint *)v48);\n                    EditorUI::moveObject(a1, (__int64)v41, v42);\n                    ++v40;\n                  }\n                  while ( v40 < cocos2d::CCArray::count(v39) );\n                }\n              }\n            }\n            else\n            {\n              cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v50, (const struct cocos2d::CCPoint *)v48);\n              EditorUI::moveObject(a1, (__int64)v36, v43);\n            }\n          }\n        }\n        EditorUI::updateControlsAfterAlign(a1);\n      }\n    }\n  }\n}", "assembly": "; \n; EditorUI::alignObjectsOnAxis from 0x140201300 to 0x140201794 (1172 bytes)\n; \n; 5 xrefs:\n; > EditorCommandsPopup::onCommand @ 0x14017db9d\n; > EditorCommandsPopup::onCommand @ 0x14017dbc4\n; > EditorUI::handleEditorAction @ 0x1401c33e4\n; > EditorUI::handleEditorAction @ 0x1401c3409\n; > <???> @ 0x14091ae34\n; \n; This function is hookable on this platform (idp: pc, 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 11:28:13 +0000\n; \ntest    rdx, rdx                                                       ; +0x0, 0x140201300\njz      locret_140201793                                               ; +0x3, 0x140201303\nmov     [rsp-38h+arg_0], rbx                                           ; +0x9, 0x140201309\npush    rbp                                                            ; +0xe, 0x14020130e\npush    rsi                                                            ; +0xf, 0x14020130f\npush    rdi                                                            ; +0x10, 0x140201310\npush    r12                                                            ; +0x11, 0x140201311\npush    r13                                                            ; +0x13, 0x140201313\npush    r14                                                            ; +0x15, 0x140201315\npush    r15                                                            ; +0x17, 0x140201317\nmov     rbp, rsp                                                       ; +0x19, 0x140201319\nsub     rsp, 50h                                                       ; +0x1c, 0x14020131c\nmovzx   r13d, r8b                                                      ; +0x20, 0x140201320\nmov     rsi, rdx                                                       ; +0x24, 0x140201324\nmov     r15, rcx                                                       ; +0x27, 0x140201327\nmov     rcx, rdx                                                       ; +0x2a, 0x14020132a\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x2d, 0x14020132d\ncmp     eax, 2                                                         ; +0x33, 0x140201333\njb      loc_14020177C                                                  ; +0x36, 0x140201336\nmov     rcx, rsi                                                       ; +0x3c, 0x14020133c\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x3f, 0x14020133f\nmov     ecx, eax                                                       ; +0x45, 0x140201345\ncall    cs:?createWithCapacity@CCArray@cocos2d@@SAPEAV12@I@Z; cocos2d::CCArray::createWithCapacity(uint) ; +0x47, 0x140201347\nmov     rdx, rsi                                                       ; +0x4d, 0x14020134d\nmov     rcx, rax                                                       ; +0x50, 0x140201350\ncall    cs:?addObjectsFromArray@CCArray@cocos2d@@QEAAXPEAV12@@Z; cocos2d::CCArray::addObjectsFromArray(cocos2d::CCArray *) ; +0x53, 0x140201353\ncall    cs:?create@CCDictionary@cocos2d@@SAPEAV12@XZ; cocos2d::CCDictionary::create(void) ; +0x59, 0x140201359\nmov     r14, rax                                                       ; +0x5f, 0x14020135f\ncmp     byte ptr [r15+393h], 0                                         ; +0x62, 0x140201362\njz      loc_14020150D                                                  ; +0x6a, 0x14020136a\ncmp     byte ptr [r15+394h], 0                                         ; +0x70, 0x140201370\njnz     loc_14020150D                                                  ; +0x78, 0x140201378\nxor     edi, edi                                                       ; +0x7e, 0x14020137e\nmov     rcx, rsi                                                       ; +0x80, 0x140201380\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x83, 0x140201383\ntest    eax, eax                                                       ; +0x89, 0x140201389\njz      short loc_1402013F7                                            ; +0x8b, 0x14020138b\nnop     dword ptr [rax]                                                ; +0x8d, 0x14020138d\nmov     edx, edi                                                       ; +0x90, 0x140201390\nmov     rcx, rsi                                                       ; +0x92, 0x140201392\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x95, 0x140201395\nmov     rbx, rax                                                       ; +0x9b, 0x14020139b\ncmp     dword ptr [rax+370h], 0                                        ; +0x9e, 0x14020139e\njle     short loc_1402013E8                                            ; +0xa5, 0x1402013a5\nmov     r8b, 1                                                         ; +0xa7, 0x1402013a7\nmov     edx, edi                                                       ; +0xaa, 0x1402013aa\nmov     rcx, rsi                                                       ; +0xac, 0x1402013ac\ncall    cs:?removeObjectAtIndex@CCArray@cocos2d@@QEAAXI_N@Z; cocos2d::CCArray::removeObjectAtIndex(uint,bool) ; +0xaf, 0x1402013af\nmovsxd  rdx, dword ptr [rbx+370h]                                      ; +0xb5, 0x1402013b5\nmov     rcx, r14                                                       ; +0xbc, 0x1402013bc\ncall    cs:?objectForKey@CCDictionary@cocos2d@@QEAAPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::objectForKey(__int64) ; +0xbf, 0x1402013bf\ntest    rax, rax                                                       ; +0xc5, 0x1402013c5\njnz     short loc_1402013EA                                            ; +0xc8, 0x1402013c8\nmovsxd  rbx, dword ptr [rbx+370h]                                      ; +0xca, 0x1402013ca\ncall    cs:?create@CCNode@cocos2d@@SAPEAV12@XZ; cocos2d::CCNode::create(void) ; +0xd1, 0x1402013d1\nmov     rdx, rax                                                       ; +0xd7, 0x1402013d7\nmov     r8, rbx                                                        ; +0xda, 0x1402013da\nmov     rcx, r14                                                       ; +0xdd, 0x1402013dd\ncall    cs:?setObject@CCDictionary@cocos2d@@QEAAXPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::setObject(cocos2d::CCObject *,__int64) ; +0xe0, 0x1402013e0\njmp     short loc_1402013EA                                            ; +0xe6, 0x1402013e6\ninc     edi                                                            ; +0xe8, 0x1402013e8\nmov     rcx, rsi                                                       ; +0xea, 0x1402013ea\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0xed, 0x1402013ed\ncmp     edi, eax                                                       ; +0xf3, 0x1402013f3\njb      short loc_140201390                                            ; +0xf5, 0x1402013f5\nmov     rcx, r14                                                       ; +0xf7, 0x1402013f7\ncall    cs:?allKeys@CCDictionary@cocos2d@@QEAAPEAVCCArray@2@XZ; cocos2d::CCDictionary::allKeys(void) ; +0xfa, 0x1402013fa\nmov     r12, rax                                                       ; +0x100, 0x140201400\nxor     r14d, r14d                                                     ; +0x103, 0x140201403\nmov     rcx, rax                                                       ; +0x106, 0x140201406\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x109, 0x140201409\ntest    eax, eax                                                       ; +0x10f, 0x14020140f\njz      loc_14020150D                                                  ; +0x111, 0x140201411\nnop     word ptr [rax+rax+00000000h]                                   ; +0x117, 0x140201417\nmov     edx, r14d                                                      ; +0x120, 0x140201420\nmov     rcx, r12                                                       ; +0x123, 0x140201423\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x126, 0x140201426\nmovsxd  rbx, dword ptr [rax+38h]                                       ; +0x12c, 0x14020142c\nmov     rdx, rbx                                                       ; +0x130, 0x140201430\nmov     rcx, [r15+5E8h]                                                ; +0x133, 0x140201433\nmov     rcx, [rcx+10A0h]                                               ; +0x13a, 0x14020143a\ncall    cs:?objectForKey@CCDictionary@cocos2d@@QEAAPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::objectForKey(__int64) ; +0x141, 0x140201441\ntest    rax, rax                                                       ; +0x147, 0x140201447\njz      loc_1402014F8                                                  ; +0x14a, 0x14020144a\nmov     r9b, 1                                                         ; +0x150, 0x140201450\nmov     r8, rax                                                        ; +0x153, 0x140201453\nlea     rdx, [rbp+var_18]                                              ; +0x156, 0x140201456\ncall    EditorUI__getGroupCenter                                       ; +0x15a, 0x14020145a\nmov     ecx, 550h; Size                                                ; +0x15f, 0x14020145f\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x164, 0x140201464\nmov     [rbp+var_20], rax                                              ; +0x169, 0x140201469\nmov     rcx, rax                                                       ; +0x16d, 0x14020146d\ncall    GameObject__GameObject                                         ; +0x170, 0x140201470\nmov     rdi, rax                                                       ; +0x175, 0x140201475\ntest    rax, rax                                                       ; +0x178, 0x140201478\njz      short loc_1402014BF                                            ; +0x17b, 0x14020147b\nmov     dword ptr [rax+1Ch], 0Dh                                       ; +0x17d, 0x14020147d\nlea     rdx, aCheckpoint0100; \"checkpoint_01_001.png\"                  ; +0x184, 0x140201484\nmov     rcx, rax                                                       ; +0x18b, 0x14020148b\ncall    cs:__imp_?initWithSpriteFrameName@CCSprite@cocos2d@@UEAA_NPEBD@Z; cocos2d::CCSprite::initWithSpriteFrameName(char const *) ; +0x18e, 0x14020148e\nmov     rcx, rdi                                                       ; +0x194, 0x140201494\ntest    al, al                                                         ; +0x197, 0x140201497\njnz     short loc_1402014AA                                            ; +0x199, 0x140201499\nmov     rax, [rdi]                                                     ; +0x19b, 0x14020149b\nmov     edx, 1                                                         ; +0x19e, 0x14020149e\ncall    qword ptr [rax+8]                                              ; +0x1a3, 0x1402014a3\nxor     edi, edi                                                       ; +0x1a6, 0x1402014a6\njmp     short loc_1402014BF                                            ; +0x1a8, 0x1402014a8\ncall    GameObject__commonSetup                                        ; +0x1aa, 0x1402014aa\nmov     byte ptr [rdi+139h], 1                                         ; +0x1af, 0x1402014af\nmov     rcx, rdi                                                       ; +0x1b6, 0x1402014b6\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x1b9, 0x1402014b9\nmov     dword ptr [rdi+40Ch], 2Ch ; ','                                ; +0x1bf, 0x1402014bf\nmov     [rdi+370h], ebx                                                ; +0x1c9, 0x1402014c9\nmov     rbx, [rdi]                                                     ; +0x1cf, 0x1402014cf\nlea     rdx, [rbp+var_18]                                              ; +0x1d2, 0x1402014d2\nlea     rcx, [rbp+var_30]                                              ; +0x1d6, 0x1402014d6\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x1da, 0x1402014da\nmov     rdx, rax                                                       ; +0x1e0, 0x1402014e0\nmov     rcx, rdi                                                       ; +0x1e3, 0x1402014e3\ncall    qword ptr [rbx+4C0h]                                           ; +0x1e6, 0x1402014e6\nmov     rdx, rdi                                                       ; +0x1ec, 0x1402014ec\nmov     rcx, rsi                                                       ; +0x1ef, 0x1402014ef\ncall    cs:?addObject@CCArray@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x1f2, 0x1402014f2\ninc     r14d                                                           ; +0x1f8, 0x1402014f8\nmov     rcx, r12                                                       ; +0x1fb, 0x1402014fb\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x1fe, 0x1402014fe\ncmp     r14d, eax                                                      ; +0x204, 0x140201504\njb      loc_140201420                                                  ; +0x207, 0x140201507\nmov     rcx, rsi                                                       ; +0x20d, 0x14020150d\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x210, 0x140201510\ncmp     eax, 2                                                         ; +0x216, 0x140201516\njb      loc_14020177C                                                  ; +0x219, 0x140201519\nlea     rcx, [rbp+arg_18]                                              ; +0x21f, 0x14020151f\ncall    cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x223, 0x140201523\nlea     rcx, [rbp+arg_8]                                               ; +0x229, 0x140201529\ncall    cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x22d, 0x14020152d\nmov     dil, 1                                                         ; +0x233, 0x140201533\nmov     rbx, [rsi+38h]                                                 ; +0x236, 0x140201536\nmov     eax, [rbx]                                                     ; +0x23a, 0x14020153a\ntest    eax, eax                                                       ; +0x23c, 0x14020153c\njz      loc_1402015F3                                                  ; +0x23e, 0x14020153e\nmov     rbx, [rbx+10h]                                                 ; +0x244, 0x140201544\nlea     r14, [rax-1]                                                   ; +0x248, 0x140201548\nlea     r14, [rbx+r14*8]                                               ; +0x24c, 0x14020154c\ncmp     rbx, r14                                                       ; +0x250, 0x140201550\nja      loc_1402015F3                                                  ; +0x253, 0x140201553\nnop     dword ptr [rax+00000000h]                                      ; +0x259, 0x140201559\nmov     rcx, [rbx]                                                     ; +0x260, 0x140201560\ntest    rcx, rcx                                                       ; +0x263, 0x140201563\njz      loc_1402015F3                                                  ; +0x266, 0x140201566\nmov     rax, [rcx]                                                     ; +0x26c, 0x14020156c\ncall    qword ptr [rax+0C8h]                                           ; +0x26f, 0x14020156f\nmov     rdx, rax                                                       ; +0x275, 0x140201575\nlea     rcx, [rbp+var_30]                                              ; +0x278, 0x140201578\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x27c, 0x14020157c\ntest    dil, dil                                                       ; +0x282, 0x140201582\njz      short loc_1402015A8                                            ; +0x285, 0x140201585\nxor     dil, dil                                                       ; +0x287, 0x140201587\nlea     rdx, [rbp+var_30]                                              ; +0x28a, 0x14020158a\nlea     rcx, [rbp+arg_18]                                              ; +0x28e, 0x14020158e\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x292, 0x140201592\nlea     rdx, [rbp+var_30]                                              ; +0x298, 0x140201598\nlea     rcx, [rbp+arg_8]                                               ; +0x29c, 0x14020159c\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x2a0, 0x1402015a0\njmp     short loc_1402015E6                                            ; +0x2a6, 0x1402015a6\nmovss   xmm1, [rbp+var_30]                                             ; +0x2a8, 0x1402015a8\nmovss   xmm0, [rbp+arg_18]                                             ; +0x2ad, 0x1402015ad\ncomiss  xmm0, xmm1                                                     ; +0x2b2, 0x1402015b2\njbe     short loc_1402015BC                                            ; +0x2b5, 0x1402015b5\nmovss   [rbp+arg_18], xmm1                                             ; +0x2b7, 0x1402015b7\ncomiss  xmm1, [rbp+arg_8]                                              ; +0x2bc, 0x1402015bc\njbe     short loc_1402015C7                                            ; +0x2c0, 0x1402015c0\nmovss   [rbp+arg_8], xmm1                                              ; +0x2c2, 0x1402015c2\nmovss   xmm1, [rbp+var_2C]                                             ; +0x2c7, 0x1402015c7\nmovss   xmm0, [rbp+arg_1C]                                             ; +0x2cc, 0x1402015cc\ncomiss  xmm0, xmm1                                                     ; +0x2d1, 0x1402015d1\njbe     short loc_1402015DB                                            ; +0x2d4, 0x1402015d4\nmovss   [rbp+arg_1C], xmm1                                             ; +0x2d6, 0x1402015d6\ncomiss  xmm1, [rbp+arg_C]                                              ; +0x2db, 0x1402015db\njbe     short loc_1402015E6                                            ; +0x2df, 0x1402015df\nmovss   [rbp+arg_C], xmm1                                              ; +0x2e1, 0x1402015e1\nadd     rbx, 8                                                         ; +0x2e6, 0x1402015e6\ncmp     rbx, r14                                                       ; +0x2ea, 0x1402015ea\njbe     loc_140201560                                                  ; +0x2ed, 0x1402015ed\ntest    r13b, r13b                                                     ; +0x2f3, 0x1402015f3\njz      short loc_140201603                                            ; +0x2f6, 0x1402015f6\nmovss   xmm0, [rbp+arg_1C]                                             ; +0x2f8, 0x1402015f8\nucomiss xmm0, [rbp+arg_C]                                              ; +0x2fd, 0x1402015fd\njmp     short loc_14020160C                                            ; +0x301, 0x140201601\nmovss   xmm0, [rbp+arg_18]                                             ; +0x303, 0x140201603\nucomiss xmm0, [rbp+arg_8]                                              ; +0x308, 0x140201608\njp      short loc_140201614                                            ; +0x30c, 0x14020160c\njz      loc_14020177C                                                  ; +0x30e, 0x14020160e\nlea     r8, [rbp+arg_8]                                                ; +0x314, 0x140201614\nlea     rdx, [rbp+var_18]                                              ; +0x318, 0x140201618\nlea     rcx, [rbp+arg_18]                                              ; +0x31c, 0x14020161c\ncall    cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x320, 0x140201620\nmov     rcx, rax                                                       ; +0x326, 0x140201626\nmovss   xmm2, cs:width                                                 ; +0x329, 0x140201629\nlea     rdx, [rbp+var_28]                                              ; +0x331, 0x140201631\ncall    cs:??KCCPoint@cocos2d@@QEBA?AV01@M@Z; cocos2d::CCPoint::operator/(float) ; +0x335, 0x140201635\nxor     r8d, r8d                                                       ; +0x33b, 0x14020163b\nmov     rcx, r15                                                       ; +0x33e, 0x14020163e\ncall    EditorUI__createUndoObject                                     ; +0x341, 0x140201641\nmov     r14, [rsi+38h]                                                 ; +0x346, 0x140201646\nmov     eax, [r14]                                                     ; +0x34a, 0x14020164a\ntest    eax, eax                                                       ; +0x34d, 0x14020164d\njz      loc_140201774                                                  ; +0x34f, 0x14020164f\nmov     r14, [r14+10h]                                                 ; +0x355, 0x140201655\nlea     r12, [rax-1]                                                   ; +0x359, 0x140201659\nlea     r12, [r14+r12*8]                                               ; +0x35d, 0x14020165d\ncmp     r14, r12                                                       ; +0x361, 0x140201661\nja      loc_140201774                                                  ; +0x364, 0x140201664\nnop     word ptr [rax+rax+00h]                                         ; +0x36a, 0x14020166a\nmov     rbx, [r14]                                                     ; +0x370, 0x140201670\ntest    rbx, rbx                                                       ; +0x373, 0x140201673\njz      loc_140201774                                                  ; +0x376, 0x140201676\nmov     rax, [rbx]                                                     ; +0x37c, 0x14020167c\nmov     rcx, rbx                                                       ; +0x37f, 0x14020167f\ncall    qword ptr [rax+0C8h]                                           ; +0x382, 0x140201682\nmov     rdx, rax                                                       ; +0x388, 0x140201688\nlea     rcx, [rbp+var_20]                                              ; +0x38b, 0x14020168b\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x38f, 0x14020168f\nlea     rdx, [rbp+var_20]                                              ; +0x395, 0x140201695\nlea     rcx, [rbp+var_30]                                              ; +0x399, 0x140201699\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x39d, 0x14020169d\ntest    r13b, r13b                                                     ; +0x3a3, 0x1402016a3\njz      short loc_1402016B4                                            ; +0x3a6, 0x1402016a6\nmovss   xmm0, [rbp+var_24]                                             ; +0x3a8, 0x1402016a8\nmovss   [rbp+var_2C], xmm0                                             ; +0x3ad, 0x1402016ad\njmp     short loc_1402016BE                                            ; +0x3b2, 0x1402016b2\nmovss   xmm0, [rbp+var_28]                                             ; +0x3b4, 0x1402016b4\nmovss   [rbp+var_30], xmm0                                             ; +0x3b9, 0x1402016b9\nlea     r8, [rbp+var_20]                                               ; +0x3be, 0x1402016be\nlea     rdx, [rbp+var_18]                                              ; +0x3c2, 0x1402016c2\nlea     rcx, [rbp+var_30]                                              ; +0x3c6, 0x1402016c6\ncall    cs:??GCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator-(cocos2d::CCPoint const &) ; +0x3ca, 0x1402016ca\ncmp     dword ptr [rbx+40Ch], 2Ch ; ','                                ; +0x3d0, 0x1402016d0\njnz     short loc_14020174B                                            ; +0x3d7, 0x1402016d7\nmovsxd  rdx, dword ptr [rbx+370h]                                      ; +0x3d9, 0x1402016d9\nmov     rcx, [r15+5E8h]                                                ; +0x3e0, 0x1402016e0\nmov     rcx, [rcx+10A0h]                                               ; +0x3e7, 0x1402016e7\ncall    cs:?objectForKey@CCDictionary@cocos2d@@QEAAPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::objectForKey(__int64) ; +0x3ee, 0x1402016ee\nmov     rsi, rax                                                       ; +0x3f4, 0x1402016f4\ntest    rax, rax                                                       ; +0x3f7, 0x1402016f7\njz      short loc_140201767                                            ; +0x3fa, 0x1402016fa\nxor     edi, edi                                                       ; +0x3fc, 0x1402016fc\nmov     rcx, rax                                                       ; +0x3fe, 0x1402016fe\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x401, 0x140201701\ntest    eax, eax                                                       ; +0x407, 0x140201707\njz      short loc_140201767                                            ; +0x409, 0x140201709\nnop     dword ptr [rax+rax+00h]                                        ; +0x40b, 0x14020170b\nmov     edx, edi                                                       ; +0x410, 0x140201710\nmov     rcx, rsi                                                       ; +0x412, 0x140201712\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x415, 0x140201715\nmov     rbx, rax                                                       ; +0x41b, 0x14020171b\nlea     rdx, [rbp+var_18]                                              ; +0x41e, 0x14020171e\nlea     rcx, [rbp+var_10]                                              ; +0x422, 0x140201722\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x426, 0x140201726\nmov     r8, rax                                                        ; +0x42c, 0x14020172c\nmov     rdx, rbx                                                       ; +0x42f, 0x14020172f\nmov     rcx, r15                                                       ; +0x432, 0x140201732\ncall    EditorUI__moveObject                                           ; +0x435, 0x140201735\ninc     edi                                                            ; +0x43a, 0x14020173a\nmov     rcx, rsi                                                       ; +0x43c, 0x14020173c\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x43f, 0x14020173f\ncmp     edi, eax                                                       ; +0x445, 0x140201745\njb      short loc_140201710                                            ; +0x447, 0x140201747\njmp     short loc_140201767                                            ; +0x449, 0x140201749\nlea     rdx, [rbp+var_18]                                              ; +0x44b, 0x14020174b\nlea     rcx, [rbp+var_8]                                               ; +0x44f, 0x14020174f\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x453, 0x140201753\nmov     r8, rax                                                        ; +0x459, 0x140201759\nmov     rdx, rbx                                                       ; +0x45c, 0x14020175c\nmov     rcx, r15                                                       ; +0x45f, 0x14020175f\ncall    EditorUI__moveObject                                           ; +0x462, 0x140201762\nadd     r14, 8                                                         ; +0x467, 0x140201767\ncmp     r14, r12                                                       ; +0x46b, 0x14020176b\njbe     loc_140201670                                                  ; +0x46e, 0x14020176e\nmov     rcx, r15                                                       ; +0x474, 0x140201774\ncall    EditorUI__updateControlsAfterAlign                             ; +0x477, 0x140201777\nmov     rbx, [rsp+50h+arg_0]                                           ; +0x47c, 0x14020177c\nadd     rsp, 50h                                                       ; +0x484, 0x140201784\npop     r15                                                            ; +0x488, 0x140201788\npop     r14                                                            ; +0x48a, 0x14020178a\npop     r13                                                            ; +0x48c, 0x14020178c\npop     r12                                                            ; +0x48e, 0x14020178e\npop     rdi                                                            ; +0x490, 0x140201790\npop     rsi                                                            ; +0x491, 0x140201791\npop     rbp                                                            ; +0x492, 0x140201792\nretn                                                                   ; +0x493, 0x140201793", "xrefs": ["EditorCommandsPopup::onCommand @ 0x14017db9d", "EditorCommandsPopup::onCommand @ 0x14017dbc4", "EditorUI::handleEditorAction @ 0x1401c33e4", "EditorUI::handleEditorAction @ 0x1401c3409", "<???> @ 0x14091ae34"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}