{"type": "func", "start": 5369890592, "end": 5369891952, "name": "EditorUI::transformObject", "pseudocode": "// \n// EditorUI::transformObject from 0x140120720 to 0x140120c70 (1360 bytes)\n// \n// 7 xrefs:\n// > EditorUI::transformObjectCall_1 @ 0x140120697\n// > EditorUI::transformObjectCall_1 @ 0x1401206e8\n// > EditorUI::flipObjectsX @ 0x140120d51\n// > EditorUI::flipObjectsY @ 0x140120f31\n// > <???> @ 0x1406700cc\n// > <???> @ 0x140670110\n// > <???> @ 0x1406c9684\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid EditorUI::transformObject(EditorUI *a1, GameObject *a2, EditCommand a3, bool a4)\n{\n  int v7; // r8d\n  float v8; // xmm0_4\n  char v9; // r14\n  double v10; // xmm0_8\n  float v11; // xmm0_4\n  bool v12; // si\n  __int32 v13; // eax\n  GameObject_vtbl *v14; // rbx\n  _BOOL8 v15; // rdx\n  _BOOL8 v16; // rdx\n  double v17; // xmm0_8\n  float v18; // xmm6_4\n  GameObject_vtbl *v19; // rbx\n  GameObject_vtbl *v20; // rbx\n  GameObject_vtbl *v21; // rbx\n  _BOOL8 v22; // rdx\n  GameObject_vtbl *v23; // rbx\n  GameObject_vtbl *v24; // rbx\n  float v25; // xmm6_4\n  cocos2d::CCPoint v26; // rax\n  double v27; // xmm0_8\n  float v28; // xmm6_4\n  GameObject_vtbl *v29; // rdx\n  float v30; // xmm0_4\n  GameObject_vtbl *v31; // rbx\n  float (__fastcall *getRotation)(cocos2d::CCNode *__hidden); // rdx\n  float v33; // xmm0_4\n  GameObject_vtbl *v34; // rbx\n  float (__fastcall *getRotationX)(cocos2d::CCNode *__hidden); // rax\n  float v36; // xmm0_4\n  GameObject_vtbl *v37; // rbx\n  float (__fastcall *getRotationY)(cocos2d::CCNode *__hidden); // rax\n  cocos2d::CCPoint v39; // rax\n  cocos2d::CCPoint v40; // [rsp+80h] [rbp+8h] BYREF\n\n  if ( a4\n    || EditorUI::isSpecialSnapObject(a1, a2->m_objectID) && (unsigned int)(v7 - 21) <= 1\n    || (v8 = fabs(COERCE_FLOAT(COERCE_UNSIGNED_INT64(((double (__fastcall *)(GameObject *))a2->getRotation)(a2)))),\n        (int)v8 != 90 * ((int)v8 / 90))\n    || a3 == RotateSnap )\n  {\n    v9 = 1;\n  }\n  else\n  {\n    v9 = 0;\n    EditorUI::removeOffset(a1, a2);\n  }\n  v10 = ((double (__fastcall *)(GameObject *))a2->getRotationX)(a2);\n  if ( *(float *)&v10 == a2->getRotationY(a2) )\n  {\n    v11 = fabs(COERCE_FLOAT(COERCE_UNSIGNED_INT64(((double (__fastcall *)(GameObject *))a2->getRotation)(a2))));\n    if ( v11 == 90.0 || v11 == 270.0 )\n    {\n      v12 = (int)v11 != 90 * ((int)v11 / 90);\n      if ( a3 == FlipX )\n      {\n        v13 = 1;\n        goto LABEL_18;\n      }\n      if ( a3 == FlipY )\n        a3 = FlipX;\n    }\n    else\n    {\n      v12 = (int)v11 != 90 * ((int)v11 / 90);\n    }\n  }\n  else\n  {\n    v12 = 1;\n  }\n  v13 = a3 - 21;\nLABEL_18:\n  switch ( v13 )\n  {\n    case 0:\n      v14 = a2->CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n      LOBYTE(v15) = !a2->isFlipX(a2);\n      v14->setFlipX(a2, v15);\n      goto LABEL_20;\n    case 1:\n      v21 = a2->CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n      LOBYTE(v22) = !a2->isFlipY(a2);\n      v21->setFlipY(a2, v22);\nLABEL_20:\n      if ( v12 )\n      {\n        v17 = ((double (__fastcall *)(GameObject *))a2->getRotationX)(a2);\n        v18 = *(float *)&v17;\n        *(float *)&v17 = a2->getRotationY(a2);\n        v19 = a2->CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n        if ( v18 == *(float *)&v17 )\n        {\n          v19->getRotation(a2);\n          ((void (__fastcall *)(GameObject *))v19->setRotation)(a2);\n        }\n        else\n        {\n          v19->getRotationX(a2);\n          ((void (__fastcall *)(GameObject *))v19->setRotationX)(a2);\n          v20 = a2->CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n          a2->getRotationY(a2);\n          ((void (__fastcall *)(GameObject *))v20->setRotationY)(a2);\n        }\n      }\n      if ( a2->m_updateCustomContentSize )\n      {\n        LOBYTE(v16) = 1;\n        a2->setObjectRectDirty(a2, v16);\n      }\n      break;\n    case 2:\n    case 3:\n    case 4:\n    case 5:\n      v23 = a2->CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n      a2->getRotationX(a2);\n      ((void (__fastcall *)(GameObject *))v23->setRotationX)(a2);\n      v24 = a2->CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n      a2->getRotationY(a2);\n      ((void (__fastcall *)(GameObject *))v24->setRotationY)(a2);\n      if ( fabs(COERCE_FLOAT(COERCE_UNSIGNED_INT64(((double (__fastcall *)(GameObject *))a2->getRotationX)(a2)))) == 360.0 )\n        ((void (__fastcall *)(GameObject *))a2->setRotationX)(a2);\n      if ( fabs(COERCE_FLOAT(COERCE_UNSIGNED_INT64(((double (__fastcall *)(GameObject *))a2->getRotationY)(a2)))) == 360.0 )\n        ((void (__fastcall *)(GameObject *))a2->setRotationY)(a2);\n      break;\n    case 7:\n      v25 = LevelEditorLayer::rotationForSlopeNearObject(a1->m_editorLayer, a2);\n      if ( v25 != -1.0 )\n      {\n        cocos2d::CCPoint::CCPoint(&v40);\n        EditorUI::rotateObjects(a1, a1->m_selectedObjects, v25, v26);\n      }\n      break;\n    default:\n      break;\n  }\n  v27 = ((double (__fastcall *)(GameObject *))a2->getRotationX)(a2);\n  v28 = *(float *)&v27;\n  *(float *)&v27 = a2->getRotationY(a2);\n  v29 = a2->CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n  if ( v28 == *(float *)&v27 )\n  {\n    v30 = v29->getRotation(a2);\n    v31 = a2->CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n    getRotation = a2->getRotation;\n    if ( v30 < 360.0 )\n    {\n      if ( getRotation(a2) > -360.0 )\n        goto LABEL_49;\n      v31 = a2->CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n      a2->getRotation(a2);\n    }\n    else\n    {\n      getRotation(a2);\n    }\n    ((void (__fastcall *)(GameObject *))v31->setRotation)(a2);\n    goto LABEL_49;\n  }\n  v33 = v29->getRotationX(a2);\n  v34 = a2->CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n  getRotationX = a2->getRotationX;\n  if ( v33 >= 360.0 )\n  {\n    getRotationX(a2);\nLABEL_43:\n    ((void (__fastcall *)(GameObject *))v34->setRotationX)(a2);\n    goto LABEL_44;\n  }\n  if ( getRotationX(a2) <= -360.0 )\n  {\n    v34 = a2->CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n    a2->getRotationX(a2);\n    goto LABEL_43;\n  }\nLABEL_44:\n  v36 = a2->getRotationY(a2);\n  v37 = a2->CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n  getRotationY = a2->getRotationY;\n  if ( v36 < 360.0 )\n  {\n    if ( getRotationY(a2) > -360.0 )\n      goto LABEL_49;\n    v37 = a2->CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n    a2->getRotationY(a2);\n  }\n  else\n  {\n    getRotationY(a2);\n  }\n  ((void (__fastcall *)(GameObject *))v37->setRotationY)(a2);\nLABEL_49:\n  if ( !v9 )\n    EditorUI::applyOffset(a1, a2);\n  if ( a1->m_refreshPosition )\n  {\n    cocos2d::CCPoint::CCPoint(&v40);\n    EditorUI::moveObject(a1, a2, v39);\n  }\n}", "assembly": "; \n; EditorUI::transformObject from 0x140120720 to 0x140120c70 (1360 bytes)\n; \n; 7 xrefs:\n; > EditorUI::transformObjectCall_1 @ 0x140120697\n; > EditorUI::transformObjectCall_1 @ 0x1401206e8\n; > EditorUI::flipObjectsX @ 0x140120d51\n; > EditorUI::flipObjectsY @ 0x140120f31\n; > <???> @ 0x1406700cc\n; > <???> @ 0x140670110\n; > <???> @ 0x1406c9684\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmov     rax, rsp                                                       ; +0x0, 0x140120720\npush    rbp                                                            ; +0x3, 0x140120723\npush    rdi                                                            ; +0x4, 0x140120724\nsub     rsp, 68h                                                       ; +0x5, 0x140120725\nmov     [rax+10h], rbx                                                 ; +0x9, 0x140120729\nmov     ebx, r8d                                                       ; +0xd, 0x14012072d\nmov     [rax-18h], r14                                                 ; +0x10, 0x140120730\nmov     rdi, rdx                                                       ; +0x14, 0x140120734\nmovaps  xmmword ptr [rax-28h], xmm6                                    ; +0x17, 0x140120737\nmov     rbp, rcx                                                       ; +0x1b, 0x14012073b\nmovaps  xmmword ptr [rax-38h], xmm7                                    ; +0x1e, 0x14012073e\nmovaps  xmmword ptr [rax-48h], xmm8                                    ; +0x22, 0x140120742\nmovss   xmm8, dword ptr cs:xmmword_1406243C0                           ; +0x27, 0x140120747\nmovaps  xmmword ptr [rax-58h], xmm9                                    ; +0x30, 0x140120750\ntest    r9b, r9b                                                       ; +0x35, 0x140120755\njnz     short loc_1401207B5                                            ; +0x38, 0x140120758\nmov     edx, [rdx+40Ch]                                                ; +0x3a, 0x14012075a\ncall    EditorUI__isSpecialSnapObject                                  ; +0x40, 0x140120760\ntest    al, al                                                         ; +0x45, 0x140120765\njz      short loc_140120772                                            ; +0x47, 0x140120767\nlea     eax, [r8-15h]                                                  ; +0x49, 0x140120769\ncmp     eax, 1                                                         ; +0x4d, 0x14012076d\njbe     short loc_1401207B5                                            ; +0x50, 0x140120770\nmov     rax, [rdi]                                                     ; +0x52, 0x140120772\nmov     rcx, rdi                                                       ; +0x55, 0x140120775\ncall    qword ptr [rax+158h]                                           ; +0x58, 0x140120778\nandps   xmm0, xmm8                                                     ; +0x5e, 0x14012077e\nmov     eax, 0B60B60B7h                                                ; +0x62, 0x140120782\ncvttss2si ecx, xmm0                                                    ; +0x67, 0x140120787\nimul    ecx                                                            ; +0x6b, 0x14012078b\nadd     edx, ecx                                                       ; +0x6d, 0x14012078d\nsar     edx, 6                                                         ; +0x6f, 0x14012078f\nmov     eax, edx                                                       ; +0x72, 0x140120792\nshr     eax, 1Fh                                                       ; +0x74, 0x140120794\nadd     edx, eax                                                       ; +0x77, 0x140120797\nimul    eax, edx, 5Ah ; 'Z'                                            ; +0x79, 0x140120799\ncmp     ecx, eax                                                       ; +0x7c, 0x14012079c\njnz     short loc_1401207B5                                            ; +0x7e, 0x14012079e\ncmp     ebx, 1Ch                                                       ; +0x80, 0x1401207a0\njz      short loc_1401207B5                                            ; +0x83, 0x1401207a3\nxor     r14b, r14b                                                     ; +0x85, 0x1401207a5\nmov     rdx, rdi                                                       ; +0x88, 0x1401207a8\nmov     rcx, rbp                                                       ; +0x8b, 0x1401207ab\ncall    EditorUI__removeOffset                                         ; +0x8e, 0x1401207ae\njmp     short loc_1401207B8                                            ; +0x93, 0x1401207b3\nmov     r14b, 1                                                        ; +0x95, 0x1401207b5\nmov     rax, [rdi]                                                     ; +0x98, 0x1401207b8\nmov     rcx, rdi                                                       ; +0x9b, 0x1401207bb\nmov     [rsp+78h+arg_10], rsi                                          ; +0x9e, 0x1401207be\ncall    qword ptr [rax+168h]                                           ; +0xa6, 0x1401207c6\nmov     rax, [rdi]                                                     ; +0xac, 0x1401207cc\nmov     rcx, rdi                                                       ; +0xaf, 0x1401207cf\nmovaps  xmm6, xmm0                                                     ; +0xb2, 0x1401207d2\ncall    qword ptr [rax+178h]                                           ; +0xb5, 0x1401207d5\nucomiss xmm6, xmm0                                                     ; +0xbb, 0x1401207db\nmovss   xmm9, cs:flt_14062346C                                         ; +0xbe, 0x1401207de\nmovss   xmm7, cs:dword_140623294                                       ; +0xc7, 0x1401207e7\njp      loc_140120876                                                  ; +0xcf, 0x1401207ef\njnz     short loc_140120876                                            ; +0xd5, 0x1401207f5\nmov     rax, [rdi]                                                     ; +0xd7, 0x1401207f7\nmov     rcx, rdi                                                       ; +0xda, 0x1401207fa\ncall    qword ptr [rax+158h]                                           ; +0xdd, 0x1401207fd\nandps   xmm0, xmm8                                                     ; +0xe3, 0x140120803\nucomiss xmm0, xmm7                                                     ; +0xe7, 0x140120807\njp      short loc_14012080E                                            ; +0xea, 0x14012080a\njz      short loc_140120819                                            ; +0xec, 0x14012080c\nucomiss xmm0, cs:dword_140623424                                       ; +0xee, 0x14012080e\njp      short loc_140120854                                            ; +0xf5, 0x140120815\njnz     short loc_140120854                                            ; +0xf7, 0x140120817\ncvttss2si ecx, xmm0                                                    ; +0xf9, 0x140120819\nmov     eax, 0B60B60B7h                                                ; +0xfd, 0x14012081d\nimul    ecx                                                            ; +0x102, 0x140120822\nadd     edx, ecx                                                       ; +0x104, 0x140120824\nsar     edx, 6                                                         ; +0x106, 0x140120826\nmov     eax, edx                                                       ; +0x109, 0x140120829\nshr     eax, 1Fh                                                       ; +0x10b, 0x14012082b\nadd     edx, eax                                                       ; +0x10e, 0x14012082e\nimul    eax, edx, 5Ah ; 'Z'                                            ; +0x110, 0x140120830\ncmp     ecx, eax                                                       ; +0x113, 0x140120833\nsetnz   sil                                                            ; +0x115, 0x140120835\ncmp     ebx, 15h                                                       ; +0x119, 0x140120839\njnz     short loc_140120848                                            ; +0x11c, 0x14012083c\nmov     ebx, 16h                                                       ; +0x11e, 0x14012083e\nlea     eax, [rbx-15h]                                                 ; +0x123, 0x140120843\njmp     short loc_140120885                                            ; +0x126, 0x140120846\ncmp     ebx, 16h                                                       ; +0x128, 0x140120848\njnz     short loc_140120879                                            ; +0x12b, 0x14012084b\nmov     ebx, 15h                                                       ; +0x12d, 0x14012084d\njmp     short loc_140120879                                            ; +0x132, 0x140120852\ncvttss2si ecx, xmm0                                                    ; +0x134, 0x140120854\nmov     eax, 0B60B60B7h                                                ; +0x138, 0x140120858\nimul    ecx                                                            ; +0x13d, 0x14012085d\nadd     edx, ecx                                                       ; +0x13f, 0x14012085f\nsar     edx, 6                                                         ; +0x141, 0x140120861\nmov     eax, edx                                                       ; +0x144, 0x140120864\nshr     eax, 1Fh                                                       ; +0x146, 0x140120866\nadd     edx, eax                                                       ; +0x149, 0x140120869\nimul    eax, edx, 5Ah ; 'Z'                                            ; +0x14b, 0x14012086b\ncmp     ecx, eax                                                       ; +0x14e, 0x14012086e\nsetnz   sil                                                            ; +0x150, 0x140120870\njmp     short loc_140120879                                            ; +0x154, 0x140120874\nmov     sil, 1                                                         ; +0x156, 0x140120876\nlea     eax, [rbx-15h]; switch 8 cases                                 ; +0x159, 0x140120879\ncmp     eax, 7                                                         ; +0x15c, 0x14012087c\nja      def_140120898; jumptable 0000000140120898 default case, case 27 ; +0x15f, 0x14012087f\nlea     rdx, cs:140000000h                                             ; +0x165, 0x140120885\ncdqe                                                                   ; +0x16c, 0x14012088c\nmov     ecx, ds:(jpt_140120898 - 140000000h)[rdx+rax*4]                ; +0x16e, 0x14012088e\nadd     rcx, rdx                                                       ; +0x175, 0x140120895\njmp     rcx; switch jump                                               ; +0x178, 0x140120898\nmov     rbx, [rdi]; jumptable 0000000140120898 case 21                 ; +0x17a, 0x14012089a\nmov     rcx, rdi                                                       ; +0x17d, 0x14012089d\ncall    qword ptr [rbx+4E8h]                                           ; +0x180, 0x1401208a0\ntest    al, al                                                         ; +0x186, 0x1401208a6\nmov     rcx, rdi                                                       ; +0x188, 0x1401208a8\nsetz    dl                                                             ; +0x18b, 0x1401208ab\ncall    qword ptr [rbx+430h]                                           ; +0x18e, 0x1401208ae\ntest    sil, sil                                                       ; +0x194, 0x1401208b4\njz      short loc_140120937                                            ; +0x197, 0x1401208b7\nmov     rax, [rdi]                                                     ; +0x199, 0x1401208b9\nmov     rcx, rdi                                                       ; +0x19c, 0x1401208bc\ncall    qword ptr [rax+168h]                                           ; +0x19f, 0x1401208bf\nmov     rax, [rdi]                                                     ; +0x1a5, 0x1401208c5\nmov     rcx, rdi                                                       ; +0x1a8, 0x1401208c8\nmovaps  xmm6, xmm0                                                     ; +0x1ab, 0x1401208cb\ncall    qword ptr [rax+178h]                                           ; +0x1ae, 0x1401208ce\nucomiss xmm6, xmm0                                                     ; +0x1b4, 0x1401208d4\nmov     rbx, [rdi]                                                     ; +0x1b7, 0x1401208d7\njp      short loc_1401208FC                                            ; +0x1ba, 0x1401208da\njnz     short loc_1401208FC                                            ; +0x1bc, 0x1401208dc\nmov     rcx, rdi                                                       ; +0x1be, 0x1401208de\ncall    qword ptr [rbx+158h]                                           ; +0x1c1, 0x1401208e1\nxorps   xmm0, cs:xmmword_1406243F0                                     ; +0x1c7, 0x1401208e7\nmov     rcx, rdi                                                       ; +0x1ce, 0x1401208ee\nmovaps  xmm1, xmm0                                                     ; +0x1d1, 0x1401208f1\ncall    qword ptr [rbx+150h]                                           ; +0x1d4, 0x1401208f4\njmp     short loc_140120937                                            ; +0x1da, 0x1401208fa\nmov     rcx, rdi                                                       ; +0x1dc, 0x1401208fc\ncall    qword ptr [rbx+168h]                                           ; +0x1df, 0x1401208ff\nxorps   xmm0, cs:xmmword_1406243F0                                     ; +0x1e5, 0x140120905\nmov     rcx, rdi                                                       ; +0x1ec, 0x14012090c\nmovaps  xmm1, xmm0                                                     ; +0x1ef, 0x14012090f\ncall    qword ptr [rbx+160h]                                           ; +0x1f2, 0x140120912\nmov     rbx, [rdi]                                                     ; +0x1f8, 0x140120918\nmov     rcx, rdi                                                       ; +0x1fb, 0x14012091b\ncall    qword ptr [rbx+178h]                                           ; +0x1fe, 0x14012091e\nxorps   xmm0, cs:xmmword_1406243F0                                     ; +0x204, 0x140120924\nmov     rcx, rdi                                                       ; +0x20b, 0x14012092b\nmovaps  xmm1, xmm0                                                     ; +0x20e, 0x14012092e\ncall    qword ptr [rbx+170h]                                           ; +0x211, 0x140120931\ncmp     byte ptr [rdi+4C4h], 0                                         ; +0x217, 0x140120937\njz      def_140120898; jumptable 0000000140120898 default case, case 27 ; +0x21e, 0x14012093e\nmov     rax, [rdi]                                                     ; +0x224, 0x140120944\nmov     dl, 1                                                          ; +0x227, 0x140120947\nmov     rcx, rdi                                                       ; +0x229, 0x140120949\ncall    qword ptr [rax+648h]                                           ; +0x22c, 0x14012094c\njmp     def_140120898; jumptable 0000000140120898 default case, case 27 ; +0x232, 0x140120952\nmov     rbx, [rdi]; jumptable 0000000140120898 case 22                 ; +0x237, 0x140120957\nmov     rcx, rdi                                                       ; +0x23a, 0x14012095a\ncall    qword ptr [rbx+4F0h]                                           ; +0x23d, 0x14012095d\ntest    al, al                                                         ; +0x243, 0x140120963\nmov     rcx, rdi                                                       ; +0x245, 0x140120965\nsetz    dl                                                             ; +0x248, 0x140120968\ncall    qword ptr [rbx+438h]                                           ; +0x24b, 0x14012096b\njmp     loc_1401208B4                                                  ; +0x251, 0x140120971\nsub     ebx, 17h; jumptable 0000000140120898 cases 23-26               ; +0x256, 0x140120976\njz      short loc_1401209AB                                            ; +0x259, 0x140120979\nsub     ebx, 1                                                         ; +0x25b, 0x14012097b\njz      short loc_1401209A3                                            ; +0x25e, 0x14012097e\nsub     ebx, 1                                                         ; +0x260, 0x140120980\njz      short loc_140120999                                            ; +0x263, 0x140120983\ncmp     ebx, 1                                                         ; +0x265, 0x140120985\njz      short loc_14012098F                                            ; +0x268, 0x140120988\nxorps   xmm7, xmm7                                                     ; +0x26a, 0x14012098a\njmp     short loc_1401209AB                                            ; +0x26d, 0x14012098d\nmovss   xmm7, cs:dword_14062392C                                       ; +0x26f, 0x14012098f\njmp     short loc_1401209AB                                            ; +0x277, 0x140120997\nmovss   xmm7, cs:dword_1406231D0                                       ; +0x279, 0x140120999\njmp     short loc_1401209AB                                            ; +0x281, 0x1401209a1\nmovss   xmm7, cs:dword_1406239C0                                       ; +0x283, 0x1401209a3\nmov     rbx, [rdi]                                                     ; +0x28b, 0x1401209ab\nmov     rcx, rdi                                                       ; +0x28e, 0x1401209ae\ncall    qword ptr [rbx+168h]                                           ; +0x291, 0x1401209b1\naddss   xmm0, xmm7                                                     ; +0x297, 0x1401209b7\nmov     rcx, rdi                                                       ; +0x29b, 0x1401209bb\nmovaps  xmm1, xmm0                                                     ; +0x29e, 0x1401209be\ncall    qword ptr [rbx+160h]                                           ; +0x2a1, 0x1401209c1\nmov     rbx, [rdi]                                                     ; +0x2a7, 0x1401209c7\nmov     rcx, rdi                                                       ; +0x2aa, 0x1401209ca\ncall    qword ptr [rbx+178h]                                           ; +0x2ad, 0x1401209cd\naddss   xmm0, xmm7                                                     ; +0x2b3, 0x1401209d3\nmov     rcx, rdi                                                       ; +0x2b7, 0x1401209d7\nmovaps  xmm1, xmm0                                                     ; +0x2ba, 0x1401209da\ncall    qword ptr [rbx+170h]                                           ; +0x2bd, 0x1401209dd\nmov     rax, [rdi]                                                     ; +0x2c3, 0x1401209e3\nmov     rcx, rdi                                                       ; +0x2c6, 0x1401209e6\ncall    qword ptr [rax+168h]                                           ; +0x2c9, 0x1401209e9\nandps   xmm0, xmm8                                                     ; +0x2cf, 0x1401209ef\nucomiss xmm0, xmm9                                                     ; +0x2d3, 0x1401209f3\njp      short loc_140120A0A                                            ; +0x2d7, 0x1401209f7\njnz     short loc_140120A0A                                            ; +0x2d9, 0x1401209f9\nmov     rax, [rdi]                                                     ; +0x2db, 0x1401209fb\nxorps   xmm1, xmm1                                                     ; +0x2de, 0x1401209fe\nmov     rcx, rdi                                                       ; +0x2e1, 0x140120a01\ncall    qword ptr [rax+160h]                                           ; +0x2e4, 0x140120a04\nmov     rax, [rdi]                                                     ; +0x2ea, 0x140120a0a\nmov     rcx, rdi                                                       ; +0x2ed, 0x140120a0d\ncall    qword ptr [rax+178h]                                           ; +0x2f0, 0x140120a10\nandps   xmm0, xmm8                                                     ; +0x2f6, 0x140120a16\nucomiss xmm0, xmm9                                                     ; +0x2fa, 0x140120a1a\njp      short def_140120898; jumptable 0000000140120898 default case, case 27 ; +0x2fe, 0x140120a1e\njnz     short def_140120898; jumptable 0000000140120898 default case, case 27 ; +0x300, 0x140120a20\nmov     rax, [rdi]                                                     ; +0x302, 0x140120a22\nxorps   xmm1, xmm1                                                     ; +0x305, 0x140120a25\nmov     rcx, rdi                                                       ; +0x308, 0x140120a28\ncall    qword ptr [rax+170h]                                           ; +0x30b, 0x140120a2b\njmp     short def_140120898; jumptable 0000000140120898 default case, case 27 ; +0x311, 0x140120a31\nmov     rcx, [rbp+500h]; jumptable 0000000140120898 case 28            ; +0x313, 0x140120a33\nmov     rdx, rdi                                                       ; +0x31a, 0x140120a3a\ncall    LevelEditorLayer__rotationForSlopeNearObject                   ; +0x31d, 0x140120a3d\nmovaps  xmm6, xmm0                                                     ; +0x322, 0x140120a42\nucomiss xmm6, cs:dword_1406236F0                                       ; +0x325, 0x140120a45\njp      short loc_140120A50                                            ; +0x32c, 0x140120a4c\njz      short def_140120898; jumptable 0000000140120898 default case, case 27 ; +0x32e, 0x140120a4e\nlea     rdx, dword_1406C1AA8                                           ; +0x330, 0x140120a50\nlea     rcx, [rsp+78h+arg_0]                                           ; +0x337, 0x140120a57\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x33f, 0x140120a5f\nmov     rdx, [rbp+340h]                                                ; +0x345, 0x140120a65\nmovaps  xmm2, xmm6                                                     ; +0x34c, 0x140120a6c\nmov     r9, rax                                                        ; +0x34f, 0x140120a6f\nmov     rcx, rbp                                                       ; +0x352, 0x140120a72\ncall    EditorUI__rotateObjects                                        ; +0x355, 0x140120a75\nmov     rax, [rdi]; jumptable 0000000140120898 default case, case 27   ; +0x35a, 0x140120a7a\nmov     rcx, rdi                                                       ; +0x35d, 0x140120a7d\ncall    qword ptr [rax+168h]                                           ; +0x360, 0x140120a80\nmov     rax, [rdi]                                                     ; +0x366, 0x140120a86\nmov     rcx, rdi                                                       ; +0x369, 0x140120a89\nmovaps  xmm6, xmm0                                                     ; +0x36c, 0x140120a8c\ncall    qword ptr [rax+178h]                                           ; +0x36f, 0x140120a8f\nucomiss xmm6, xmm0                                                     ; +0x375, 0x140120a95\nmov     rdx, [rdi]                                                     ; +0x378, 0x140120a98\nmov     rsi, [rsp+78h+arg_10]                                          ; +0x37b, 0x140120a9b\nmovaps  xmm8, [rsp+78h+var_48]                                         ; +0x383, 0x140120aa3\nmovaps  xmm7, [rsp+78h+var_38]                                         ; +0x389, 0x140120aa9\njp      short loc_140120B25                                            ; +0x38e, 0x140120aae\njnz     short loc_140120B25                                            ; +0x390, 0x140120ab0\nmov     rcx, rdi                                                       ; +0x392, 0x140120ab2\ncall    qword ptr [rdx+158h]                                           ; +0x395, 0x140120ab5\nmov     rbx, [rdi]                                                     ; +0x39b, 0x140120abb\nmov     rcx, rdi                                                       ; +0x39e, 0x140120abe\ncomiss  xmm0, xmm9                                                     ; +0x3a1, 0x140120ac1\nmov     rdx, [rbx+158h]                                                ; +0x3a5, 0x140120ac5\njb      short loc_140120AD2                                            ; +0x3ac, 0x140120acc\ncall    rdx                                                            ; +0x3ae, 0x140120ace\njmp     short loc_140120AF1                                            ; +0x3b0, 0x140120ad0\ncall    rdx                                                            ; +0x3b2, 0x140120ad2\nmovss   xmm1, cs:dword_140623AD8                                       ; +0x3b4, 0x140120ad4\ncomiss  xmm1, xmm0                                                     ; +0x3bc, 0x140120adc\njb      loc_140120BF4                                                  ; +0x3bf, 0x140120adf\nmov     rbx, [rdi]                                                     ; +0x3c5, 0x140120ae5\nmov     rcx, rdi                                                       ; +0x3c8, 0x140120ae8\ncall    qword ptr [rbx+158h]                                           ; +0x3cb, 0x140120aeb\ncvttss2si ecx, xmm0                                                    ; +0x3d1, 0x140120af1\nmov     eax, 0B60B60B7h                                                ; +0x3d5, 0x140120af5\nimul    ecx                                                            ; +0x3da, 0x140120afa\nadd     edx, ecx                                                       ; +0x3dc, 0x140120afc\nsar     edx, 8                                                         ; +0x3de, 0x140120afe\nmov     eax, edx                                                       ; +0x3e1, 0x140120b01\nshr     eax, 1Fh                                                       ; +0x3e3, 0x140120b03\nadd     edx, eax                                                       ; +0x3e6, 0x140120b06\nimul    eax, edx, 168h                                                 ; +0x3e8, 0x140120b08\nsub     ecx, eax                                                       ; +0x3ee, 0x140120b0e\nmovd    xmm1, ecx                                                      ; +0x3f0, 0x140120b10\nmov     rcx, rdi                                                       ; +0x3f4, 0x140120b14\ncvtdq2ps xmm1, xmm1                                                    ; +0x3f7, 0x140120b17\ncall    qword ptr [rbx+150h]                                           ; +0x3fa, 0x140120b1a\njmp     loc_140120BF4                                                  ; +0x400, 0x140120b20\nmov     rcx, rdi                                                       ; +0x405, 0x140120b25\ncall    qword ptr [rdx+168h]                                           ; +0x408, 0x140120b28\nmov     rbx, [rdi]                                                     ; +0x40e, 0x140120b2e\nmov     rcx, rdi                                                       ; +0x411, 0x140120b31\ncomiss  xmm0, xmm9                                                     ; +0x414, 0x140120b34\nmov     rax, [rbx+168h]                                                ; +0x418, 0x140120b38\nmovss   xmm6, cs:dword_140623AD8                                       ; +0x41f, 0x140120b3f\njb      short loc_140120B4D                                            ; +0x427, 0x140120b47\ncall    rax                                                            ; +0x429, 0x140120b49\njmp     short loc_140120B60                                            ; +0x42b, 0x140120b4b\ncall    rax                                                            ; +0x42d, 0x140120b4d\ncomiss  xmm6, xmm0                                                     ; +0x42f, 0x140120b4f\njb      short loc_140120B8F                                            ; +0x432, 0x140120b52\nmov     rbx, [rdi]                                                     ; +0x434, 0x140120b54\nmov     rcx, rdi                                                       ; +0x437, 0x140120b57\ncall    qword ptr [rbx+168h]                                           ; +0x43a, 0x140120b5a\ncvttss2si ecx, xmm0                                                    ; +0x440, 0x140120b60\nmov     eax, 0B60B60B7h                                                ; +0x444, 0x140120b64\nimul    ecx                                                            ; +0x449, 0x140120b69\nadd     edx, ecx                                                       ; +0x44b, 0x140120b6b\nsar     edx, 8                                                         ; +0x44d, 0x140120b6d\nmov     eax, edx                                                       ; +0x450, 0x140120b70\nshr     eax, 1Fh                                                       ; +0x452, 0x140120b72\nadd     edx, eax                                                       ; +0x455, 0x140120b75\nimul    eax, edx, 168h                                                 ; +0x457, 0x140120b77\nsub     ecx, eax                                                       ; +0x45d, 0x140120b7d\nmovd    xmm1, ecx                                                      ; +0x45f, 0x140120b7f\nmov     rcx, rdi                                                       ; +0x463, 0x140120b83\ncvtdq2ps xmm1, xmm1                                                    ; +0x466, 0x140120b86\ncall    qword ptr [rbx+160h]                                           ; +0x469, 0x140120b89\nmov     rax, [rdi]                                                     ; +0x46f, 0x140120b8f\nmov     rcx, rdi                                                       ; +0x472, 0x140120b92\ncall    qword ptr [rax+178h]                                           ; +0x475, 0x140120b95\nmov     rbx, [rdi]                                                     ; +0x47b, 0x140120b9b\nmov     rcx, rdi                                                       ; +0x47e, 0x140120b9e\ncomiss  xmm0, xmm9                                                     ; +0x481, 0x140120ba1\nmov     rax, [rbx+178h]                                                ; +0x485, 0x140120ba5\njb      short loc_140120BB2                                            ; +0x48c, 0x140120bac\ncall    rax                                                            ; +0x48e, 0x140120bae\njmp     short loc_140120BC5                                            ; +0x490, 0x140120bb0\ncall    rax                                                            ; +0x492, 0x140120bb2\ncomiss  xmm6, xmm0                                                     ; +0x494, 0x140120bb4\njb      short loc_140120BF4                                            ; +0x497, 0x140120bb7\nmov     rbx, [rdi]                                                     ; +0x499, 0x140120bb9\nmov     rcx, rdi                                                       ; +0x49c, 0x140120bbc\ncall    qword ptr [rbx+178h]                                           ; +0x49f, 0x140120bbf\ncvttss2si ecx, xmm0                                                    ; +0x4a5, 0x140120bc5\nmov     eax, 0B60B60B7h                                                ; +0x4a9, 0x140120bc9\nimul    ecx                                                            ; +0x4ae, 0x140120bce\nadd     edx, ecx                                                       ; +0x4b0, 0x140120bd0\nsar     edx, 8                                                         ; +0x4b2, 0x140120bd2\nmov     eax, edx                                                       ; +0x4b5, 0x140120bd5\nshr     eax, 1Fh                                                       ; +0x4b7, 0x140120bd7\nadd     edx, eax                                                       ; +0x4ba, 0x140120bda\nimul    eax, edx, 168h                                                 ; +0x4bc, 0x140120bdc\nsub     ecx, eax                                                       ; +0x4c2, 0x140120be2\nmovd    xmm1, ecx                                                      ; +0x4c4, 0x140120be4\nmov     rcx, rdi                                                       ; +0x4c8, 0x140120be8\ncvtdq2ps xmm1, xmm1                                                    ; +0x4cb, 0x140120beb\ncall    qword ptr [rbx+170h]                                           ; +0x4ce, 0x140120bee\nmovaps  xmm9, [rsp+78h+var_58]                                         ; +0x4d4, 0x140120bf4\ntest    r14b, r14b                                                     ; +0x4da, 0x140120bfa\nmov     r14, [rsp+78h+var_18]                                          ; +0x4dd, 0x140120bfd\nmovaps  xmm6, [rsp+78h+var_28]                                         ; +0x4e2, 0x140120c02\nmov     rbx, [rsp+78h+arg_8]                                           ; +0x4e7, 0x140120c07\njnz     short loc_140120C1C                                            ; +0x4ef, 0x140120c0f\nmov     rdx, rdi                                                       ; +0x4f1, 0x140120c11\nmov     rcx, rbp                                                       ; +0x4f4, 0x140120c14\ncall    EditorUI__applyOffset                                          ; +0x4f7, 0x140120c17\ncmp     byte ptr [rbp+29Ch], 0                                         ; +0x4fc, 0x140120c1c\njz      short loc_140120C48                                            ; +0x503, 0x140120c23\nlea     rdx, dword_1406C1AA8                                           ; +0x505, 0x140120c25\nlea     rcx, [rsp+78h+arg_0]                                           ; +0x50c, 0x140120c2c\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x514, 0x140120c34\nmov     rdx, rdi                                                       ; +0x51a, 0x140120c3a\nmov     rcx, rbp                                                       ; +0x51d, 0x140120c3d\nmov     r8, rax                                                        ; +0x520, 0x140120c40\ncall    EditorUI__moveObject                                           ; +0x523, 0x140120c43\nadd     rsp, 68h                                                       ; +0x528, 0x140120c48\npop     rdi                                                            ; +0x52c, 0x140120c4c\npop     rbp                                                            ; +0x52d, 0x140120c4d\nretn                                                                   ; +0x52e, 0x140120c4e\nalign 10h                                                              ; +0x52f, 0x140120c4f\ndd offset loc_14012089A - 140000000h; jump table for switch statement  ; +0x530, 0x140120c50", "xrefs": ["EditorUI::transformObjectCall_1 @ 0x140120697", "EditorUI::transformObjectCall_1 @ 0x1401206e8", "EditorUI::flipObjectsX @ 0x140120d51", "EditorUI::flipObjectsY @ 0x140120f31", "<???> @ 0x1406700cc", "<???> @ 0x140670110", "<???> @ 0x1406c9684"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}