{"type": "func", "start": 5369892912, "end": 5369893965, "name": "EditorUI::rotateObjects", "pseudocode": "// \n// EditorUI::rotateObjects from 0x140121030 to 0x14012144d (1053 bytes)\n// \n// 9 xrefs:\n// > EditorUI::onCreateObject @ 0x14010feb9\n// > EditorUI::createSmartObjectsFromTemplate @ 0x1401174b2\n// > EditorUI::transformObjectCall_1 @ 0x1401205e7\n// > EditorUI::transformObjectCall_1 @ 0x14012064f\n// > EditorUI::transformObject @ 0x140120a75\n// > EditorUI::angleChanged @ 0x14012322f\n// > <???> @ 0x140670210\n// > <???> @ 0x140670220\n// > <???> @ 0x1406c9738\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::rotateObjects(EditorUI *a1, cocos2d::CCArray *a2, float a3, cocos2d::CCPoint a4)\n{\n  EditorUI *v7; // rcx\n  cocos2d::CCPoint GroupCenter; // rax\n  unsigned int v9; // esi\n  GameObject *v10; // rdi\n  __int64 v11; // rax\n  float v12; // xmm7_4\n  float v13; // xmm0_4\n  float v14; // xmm12_4\n  float v15; // xmm6_4\n  float v16; // xmm7_4\n  float v17; // xmm6_4\n  float v18; // xmm0_4\n  __int64 v19; // rax\n  double v20; // xmm0_8\n  float v21; // xmm6_4\n  GameObject_vtbl *v22; // rbx\n  float v23; // xmm0_4\n  GameObject_vtbl *v24; // rbx\n  float (__fastcall *getRotation)(cocos2d::CCNode *__hidden); // rax\n  GameObject_vtbl *v26; // rbx\n  GameObject_vtbl *v27; // rax\n  float v28; // xmm0_4\n  GameObject_vtbl *v29; // rbx\n  float (__fastcall *getRotationX)(cocos2d::CCNode *__hidden); // rax\n  float v31; // xmm0_4\n  GameObject_vtbl *v32; // rbx\n  float (__fastcall *getRotationY)(cocos2d::CCNode *__hidden); // rax\n  __int64 v34; // rax\n  float v35; // [rsp+20h] [rbp-D8h] BYREF\n  float X; // [rsp+24h] [rbp-D4h]\n  char v37[8]; // [rsp+28h] [rbp-D0h] BYREF\n  char v38[8]; // [rsp+30h] [rbp-C8h] BYREF\n  cocos2d::CCArray v39; // [rsp+38h] [rbp-C0h] BYREF\n\n  if ( cocos2d::CCPoint::equals(*(const struct cocos2d::CCPoint **)&a4) )\n  {\n    GroupCenter = EditorUI::getGroupCenter(v7, &v39, (bool)a2);\n    ((void (__fastcall *)(_QWORD, _QWORD))cocos2d::CCPoint::operator=)(a4, GroupCenter);\n  }\n  v9 = 0;\n  if ( cocos2d::CCArray::count(a2) )\n  {\n    while ( 1 )\n    {\n      v10 = (GameObject *)cocos2d::CCArray::objectAtIndex(a2, v9);\n      v11 = (__int64)v10->getPosition_0(v10);\n      ((void (__fastcall *)(_QWORD, _QWORD, _QWORD))cocos2d::CCPoint::operator-)(v11, &v35, a4);\n      v12 = X;\n      v13 = powf(X, 2.0);\n      v14 = v35;\n      v15 = v13 + powf(v35, 2.0);\n      if ( v15 < 0.0 )\n        sqrtf(v15);\n      v16 = atan2f(v12, v14) - (float)(a3 * 0.017453292);\n      v17 = sinf(v16);\n      v18 = cosf(v16);\n      cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v39.m_uID, v18, v17);\n      cocos2d::CCPoint::operator*(v19, v37);\n      ((void (__fastcall *)(_QWORD, _QWORD))cocos2d::CCPoint::operator+)(a4, v38);\n      v20 = ((double (__fastcall *)(GameObject *))v10->getRotationX)(v10);\n      v21 = *(float *)&v20;\n      *(float *)&v20 = v10->getRotationY(v10);\n      v22 = v10->CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n      if ( v21 != *(float *)&v20 )\n        break;\n      v22->getRotation(v10);\n      ((void (__fastcall *)(GameObject *))v22->setRotation)(v10);\n      v23 = v10->getRotation(v10);\n      v24 = v10->CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n      getRotation = v10->getRotation;\n      if ( v23 < 360.0 )\n      {\n        if ( getRotation(v10) > -360.0 )\n          goto LABEL_22;\n        v24 = v10->CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n        v10->getRotation(v10);\n      }\n      else\n      {\n        getRotation(v10);\n      }\n      ((void (__fastcall *)(GameObject *))v24->setRotation)(v10);\nLABEL_22:\n      v34 = (__int64)v10->getPosition_0(v10);\n      cocos2d::CCPoint::operator-(v38, &v39, v34);\n      EditorUI::moveObject(a1, v10, (cocos2d::CCPoint)&v39);\n      if ( ++v9 >= cocos2d::CCArray::count(a2) )\n        return;\n    }\n    v22->getRotationX(v10);\n    ((void (__fastcall *)(GameObject *))v22->setRotationX)(v10);\n    v26 = v10->CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n    v10->getRotationY(v10);\n    ((void (__fastcall *)(GameObject *))v26->setRotationY)(v10);\n    v27 = v10->CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n    v10->m_isDirty = 1;\n    v28 = v27->getRotationX(v10);\n    v29 = v10->CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n    getRotationX = v10->getRotationX;\n    if ( v28 < 360.0 )\n    {\n      if ( getRotationX(v10) > -360.0 )\n      {\nLABEL_17:\n        v31 = v10->getRotationY(v10);\n        v32 = v10->CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n        getRotationY = v10->getRotationY;\n        if ( v31 >= 360.0 )\n        {\n          getRotationY(v10);\nLABEL_21:\n          ((void (__fastcall *)(GameObject *))v32->setRotationY)(v10);\n          goto LABEL_22;\n        }\n        if ( getRotationY(v10) <= -360.0 )\n        {\n          v32 = v10->CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n          v10->getRotationY(v10);\n          goto LABEL_21;\n        }\n        goto LABEL_22;\n      }\n      v29 = v10->CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n      v10->getRotationX(v10);\n    }\n    else\n    {\n      getRotationX(v10);\n    }\n    ((void (__fastcall *)(GameObject *))v29->setRotationX)(v10);\n    goto LABEL_17;\n  }\n}", "assembly": "; \n; EditorUI::rotateObjects from 0x140121030 to 0x14012144d (1053 bytes)\n; \n; 9 xrefs:\n; > EditorUI::onCreateObject @ 0x14010feb9\n; > EditorUI::createSmartObjectsFromTemplate @ 0x1401174b2\n; > EditorUI::transformObjectCall_1 @ 0x1401205e7\n; > EditorUI::transformObjectCall_1 @ 0x14012064f\n; > EditorUI::transformObject @ 0x140120a75\n; > EditorUI::angleChanged @ 0x14012322f\n; > <???> @ 0x140670210\n; > <???> @ 0x140670220\n; > <???> @ 0x1406c9738\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     [rsp+arg_10], rbp                                              ; +0x0, 0x140121030\npush    rsi                                                            ; +0x5, 0x140121035\npush    r14                                                            ; +0x6, 0x140121036\npush    r15                                                            ; +0x8, 0x140121038\nsub     rsp, 0E0h                                                      ; +0xa, 0x14012103a\nmov     rbp, rdx                                                       ; +0x11, 0x140121041\nmovaps  [rsp+0F8h+var_78], xmm11                                       ; +0x14, 0x140121044\nmov     r15, rcx                                                       ; +0x1d, 0x14012104d\nlea     rdx, dword_1406C1AA8                                           ; +0x20, 0x140121050\nmov     rcx, r9                                                        ; +0x27, 0x140121057\nmov     r14, r9                                                        ; +0x2a, 0x14012105a\nmovaps  xmm11, xmm2                                                    ; +0x2d, 0x14012105d\ncall    cs:?equals@CCPoint@cocos2d@@QEBA_NAEBV12@@Z; cocos2d::CCPoint::equals(cocos2d::CCPoint const &) ; +0x31, 0x140121061\ntest    al, al                                                         ; +0x37, 0x140121067\njz      short loc_140121087                                            ; +0x39, 0x140121069\nxor     r9d, r9d                                                       ; +0x3b, 0x14012106b\nlea     rdx, [rsp+0F8h+var_C0]                                         ; +0x3e, 0x14012106e\nmov     r8, rbp                                                        ; +0x43, 0x140121073\ncall    EditorUI__getGroupCenter                                       ; +0x46, 0x140121076\nmov     rdx, rax                                                       ; +0x4b, 0x14012107b\nmov     rcx, r14                                                       ; +0x4e, 0x14012107e\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x51, 0x140121081\nmov     rcx, rbp                                                       ; +0x57, 0x140121087\nxor     esi, esi                                                       ; +0x5a, 0x14012108a\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x5c, 0x14012108c\ntest    eax, eax                                                       ; +0x62, 0x140121092\njz      loc_140121433                                                  ; +0x64, 0x140121094\nmov     [rsp+0F8h+arg_0], rbx                                          ; +0x6a, 0x14012109a\nmov     [rsp+0F8h+arg_8], rdi                                          ; +0x72, 0x1401210a2\nmovaps  [rsp+0F8h+var_28], xmm6                                        ; +0x7a, 0x1401210aa\nmovaps  [rsp+0F8h+var_38], xmm7                                        ; +0x82, 0x1401210b2\nmovaps  [rsp+0F8h+var_48], xmm8                                        ; +0x8a, 0x1401210ba\nmovaps  [rsp+0F8h+var_58], xmm9                                        ; +0x93, 0x1401210c3\nmovss   xmm9, cs:dword_140623AD8                                       ; +0x9c, 0x1401210cc\nmovaps  [rsp+0F8h+var_68], xmm10                                       ; +0xa5, 0x1401210d5\nmovss   xmm10, cs:flt_14062346C                                        ; +0xae, 0x1401210de\nmovaps  [rsp+0F8h+var_88], xmm12                                       ; +0xb7, 0x1401210e7\nmovaps  [rsp+0F8h+var_98], xmm13                                       ; +0xbd, 0x1401210ed\nmovss   xmm13, cs:width                                                ; +0xc3, 0x1401210f3\nmovaps  [rsp+0F8h+var_A8], xmm14                                       ; +0xcc, 0x1401210fc\nmovaps  xmm14, xmm11                                                   ; +0xd2, 0x140121102\nmulss   xmm14, cs:dword_1406229BC                                      ; +0xd6, 0x140121106\nnop                                                                    ; +0xdf, 0x14012110f\nmov     edx, esi                                                       ; +0xe0, 0x140121110\nmov     rcx, rbp                                                       ; +0xe2, 0x140121112\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0xe5, 0x140121115\nmov     rcx, rax                                                       ; +0xeb, 0x14012111b\nmov     rdi, rax                                                       ; +0xee, 0x14012111e\nmov     rdx, [rax]                                                     ; +0xf1, 0x140121121\ncall    qword ptr [rdx+0C8h]                                           ; +0xf4, 0x140121124\nmov     r8, r14                                                        ; +0xfa, 0x14012112a\nlea     rdx, [rsp+0F8h+var_D8]                                         ; +0xfd, 0x14012112d\nmov     rcx, rax                                                       ; +0x102, 0x140121132\ncall    cs:??GCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator-(cocos2d::CCPoint const &) ; +0x105, 0x140121135\nmovss   xmm7, [rsp+0F8h+X]                                             ; +0x10b, 0x14012113b\nmovaps  xmm1, xmm13; Y                                                 ; +0x111, 0x140121141\nmovaps  xmm0, xmm7; X                                                  ; +0x115, 0x140121145\ncall    powf                                                           ; +0x118, 0x140121148\nmovss   xmm12, [rsp+0F8h+var_D8]                                       ; +0x11d, 0x14012114d\nmovaps  xmm6, xmm0                                                     ; +0x124, 0x140121154\nmovaps  xmm0, xmm12; X                                                 ; +0x127, 0x140121157\nmovaps  xmm1, xmm13; Y                                                 ; +0x12b, 0x14012115b\ncall    powf                                                           ; +0x12f, 0x14012115f\naddss   xmm6, xmm0                                                     ; +0x134, 0x140121164\nxorps   xmm1, xmm1                                                     ; +0x138, 0x140121168\nucomiss xmm1, xmm6                                                     ; +0x13b, 0x14012116b\nja      short loc_14012117B                                            ; +0x13e, 0x14012116e\nxorps   xmm8, xmm8                                                     ; +0x140, 0x140121170\nsqrtss  xmm8, xmm6                                                     ; +0x144, 0x140121174\njmp     short loc_140121187                                            ; +0x149, 0x140121179\nmovaps  xmm0, xmm6; X                                                  ; +0x14b, 0x14012117b\ncall    sqrtf                                                          ; +0x14e, 0x14012117e\nmovaps  xmm8, xmm0                                                     ; +0x153, 0x140121183\nmovaps  xmm1, xmm12; X                                                 ; +0x157, 0x140121187\nmovaps  xmm0, xmm7; Y                                                  ; +0x15b, 0x14012118b\ncall    atan2f                                                         ; +0x15e, 0x14012118e\nmovaps  xmm7, xmm0                                                     ; +0x163, 0x140121193\nsubss   xmm7, xmm14                                                    ; +0x166, 0x140121196\nmovaps  xmm0, xmm7; X                                                  ; +0x16b, 0x14012119b\ncall    sinf                                                           ; +0x16e, 0x14012119e\nmovaps  xmm6, xmm0                                                     ; +0x173, 0x1401211a3\nmovaps  xmm0, xmm7; X                                                  ; +0x176, 0x1401211a6\ncall    cosf                                                           ; +0x179, 0x1401211a9\nmovaps  xmm1, xmm0                                                     ; +0x17e, 0x1401211ae\nlea     rcx, [rsp+0F8h+var_B8]                                         ; +0x181, 0x1401211b1\nmovaps  xmm2, xmm6                                                     ; +0x186, 0x1401211b6\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x189, 0x1401211b9\nmovaps  xmm2, xmm8                                                     ; +0x18f, 0x1401211bf\nlea     rdx, [rsp+0F8h+var_D0]                                         ; +0x193, 0x1401211c3\nmov     rcx, rax                                                       ; +0x198, 0x1401211c8\ncall    cs:??DCCPoint@cocos2d@@QEBA?AV01@M@Z; cocos2d::CCPoint::operator*(float) ; +0x19b, 0x1401211cb\nlea     r8, [rsp+0F8h+var_D0]                                          ; +0x1a1, 0x1401211d1\nmov     rcx, r14                                                       ; +0x1a6, 0x1401211d6\nlea     rdx, [rsp+0F8h+var_C8]                                         ; +0x1a9, 0x1401211d9\ncall    cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x1ae, 0x1401211de\nmov     rax, [rdi]                                                     ; +0x1b4, 0x1401211e4\nmov     rcx, rdi                                                       ; +0x1b7, 0x1401211e7\ncall    qword ptr [rax+168h]                                           ; +0x1ba, 0x1401211ea\nmov     rax, [rdi]                                                     ; +0x1c0, 0x1401211f0\nmov     rcx, rdi                                                       ; +0x1c3, 0x1401211f3\nmovaps  xmm6, xmm0                                                     ; +0x1c6, 0x1401211f6\ncall    qword ptr [rax+178h]                                           ; +0x1c9, 0x1401211f9\nucomiss xmm6, xmm0                                                     ; +0x1cf, 0x1401211ff\nmov     rbx, [rdi]                                                     ; +0x1d2, 0x140121202\njp      loc_14012129A                                                  ; +0x1d5, 0x140121205\njnz     loc_14012129A                                                  ; +0x1db, 0x14012120b\nmov     rcx, rdi                                                       ; +0x1e1, 0x140121211\ncall    qword ptr [rbx+158h]                                           ; +0x1e4, 0x140121214\naddss   xmm0, xmm11                                                    ; +0x1ea, 0x14012121a\nmov     rcx, rdi                                                       ; +0x1ef, 0x14012121f\nmovaps  xmm1, xmm0                                                     ; +0x1f2, 0x140121222\ncall    qword ptr [rbx+150h]                                           ; +0x1f5, 0x140121225\nmov     rax, [rdi]                                                     ; +0x1fb, 0x14012122b\nmov     rcx, rdi                                                       ; +0x1fe, 0x14012122e\ncall    qword ptr [rax+158h]                                           ; +0x201, 0x140121231\nmov     rbx, [rdi]                                                     ; +0x207, 0x140121237\nmov     rcx, rdi                                                       ; +0x20a, 0x14012123a\ncomiss  xmm0, xmm10                                                    ; +0x20d, 0x14012123d\nmov     rax, [rbx+158h]                                                ; +0x211, 0x140121241\njb      short loc_140121280                                            ; +0x218, 0x140121248\ncall    rax                                                            ; +0x21a, 0x14012124a\ncvttss2si ecx, xmm0                                                    ; +0x21c, 0x14012124c\nmov     eax, 0B60B60B7h                                                ; +0x220, 0x140121250\nimul    ecx                                                            ; +0x225, 0x140121255\nadd     edx, ecx                                                       ; +0x227, 0x140121257\nsar     edx, 8                                                         ; +0x229, 0x140121259\nmov     eax, edx                                                       ; +0x22c, 0x14012125c\nshr     eax, 1Fh                                                       ; +0x22e, 0x14012125e\nadd     edx, eax                                                       ; +0x231, 0x140121261\nimul    eax, edx, 168h                                                 ; +0x233, 0x140121263\nsub     ecx, eax                                                       ; +0x239, 0x140121269\nmovd    xmm1, ecx                                                      ; +0x23b, 0x14012126b\nmov     rcx, rdi                                                       ; +0x23f, 0x14012126f\ncvtdq2ps xmm1, xmm1                                                    ; +0x242, 0x140121272\ncall    qword ptr [rbx+150h]                                           ; +0x245, 0x140121275\njmp     loc_1401213A4                                                  ; +0x24b, 0x14012127b\ncall    rax                                                            ; +0x250, 0x140121280\ncomiss  xmm9, xmm0                                                     ; +0x252, 0x140121282\njb      loc_1401213A4                                                  ; +0x256, 0x140121286\nmov     rbx, [rdi]                                                     ; +0x25c, 0x14012128c\nmov     rcx, rdi                                                       ; +0x25f, 0x14012128f\ncall    qword ptr [rbx+158h]                                           ; +0x262, 0x140121292\njmp     short loc_14012124C                                            ; +0x268, 0x140121298\nmov     rcx, rdi                                                       ; +0x26a, 0x14012129a\ncall    qword ptr [rbx+168h]                                           ; +0x26d, 0x14012129d\naddss   xmm0, xmm11                                                    ; +0x273, 0x1401212a3\nmov     rcx, rdi                                                       ; +0x278, 0x1401212a8\nmovaps  xmm1, xmm0                                                     ; +0x27b, 0x1401212ab\ncall    qword ptr [rbx+160h]                                           ; +0x27e, 0x1401212ae\nmov     rbx, [rdi]                                                     ; +0x284, 0x1401212b4\nmov     rcx, rdi                                                       ; +0x287, 0x1401212b7\ncall    qword ptr [rbx+178h]                                           ; +0x28a, 0x1401212ba\naddss   xmm0, xmm11                                                    ; +0x290, 0x1401212c0\nmov     rcx, rdi                                                       ; +0x295, 0x1401212c5\nmovaps  xmm1, xmm0                                                     ; +0x298, 0x1401212c8\ncall    qword ptr [rbx+170h]                                           ; +0x29b, 0x1401212cb\nmov     rax, [rdi]                                                     ; +0x2a1, 0x1401212d1\nmov     rcx, rdi                                                       ; +0x2a4, 0x1401212d4\nmov     byte ptr [rdi+350h], 1                                         ; +0x2a7, 0x1401212d7\ncall    qword ptr [rax+168h]                                           ; +0x2ae, 0x1401212de\nmov     rbx, [rdi]                                                     ; +0x2b4, 0x1401212e4\nmov     rcx, rdi                                                       ; +0x2b7, 0x1401212e7\ncomiss  xmm0, xmm10                                                    ; +0x2ba, 0x1401212ea\nmov     rax, [rbx+168h]                                                ; +0x2be, 0x1401212ee\njb      short loc_1401212FB                                            ; +0x2c5, 0x1401212f5\ncall    rax                                                            ; +0x2c7, 0x1401212f7\njmp     short loc_14012130F                                            ; +0x2c9, 0x1401212f9\ncall    rax                                                            ; +0x2cb, 0x1401212fb\ncomiss  xmm9, xmm0                                                     ; +0x2cd, 0x1401212fd\njb      short loc_14012133E                                            ; +0x2d1, 0x140121301\nmov     rbx, [rdi]                                                     ; +0x2d3, 0x140121303\nmov     rcx, rdi                                                       ; +0x2d6, 0x140121306\ncall    qword ptr [rbx+168h]                                           ; +0x2d9, 0x140121309\ncvttss2si ecx, xmm0                                                    ; +0x2df, 0x14012130f\nmov     eax, 0B60B60B7h                                                ; +0x2e3, 0x140121313\nimul    ecx                                                            ; +0x2e8, 0x140121318\nadd     edx, ecx                                                       ; +0x2ea, 0x14012131a\nsar     edx, 8                                                         ; +0x2ec, 0x14012131c\nmov     eax, edx                                                       ; +0x2ef, 0x14012131f\nshr     eax, 1Fh                                                       ; +0x2f1, 0x140121321\nadd     edx, eax                                                       ; +0x2f4, 0x140121324\nimul    eax, edx, 168h                                                 ; +0x2f6, 0x140121326\nsub     ecx, eax                                                       ; +0x2fc, 0x14012132c\nmovd    xmm1, ecx                                                      ; +0x2fe, 0x14012132e\nmov     rcx, rdi                                                       ; +0x302, 0x140121332\ncvtdq2ps xmm1, xmm1                                                    ; +0x305, 0x140121335\ncall    qword ptr [rbx+160h]                                           ; +0x308, 0x140121338\nmov     rax, [rdi]                                                     ; +0x30e, 0x14012133e\nmov     rcx, rdi                                                       ; +0x311, 0x140121341\ncall    qword ptr [rax+178h]                                           ; +0x314, 0x140121344\nmov     rbx, [rdi]                                                     ; +0x31a, 0x14012134a\nmov     rcx, rdi                                                       ; +0x31d, 0x14012134d\ncomiss  xmm0, xmm10                                                    ; +0x320, 0x140121350\nmov     rax, [rbx+178h]                                                ; +0x324, 0x140121354\njb      short loc_140121361                                            ; +0x32b, 0x14012135b\ncall    rax                                                            ; +0x32d, 0x14012135d\njmp     short loc_140121375                                            ; +0x32f, 0x14012135f\ncall    rax                                                            ; +0x331, 0x140121361\ncomiss  xmm9, xmm0                                                     ; +0x333, 0x140121363\njb      short loc_1401213A4                                            ; +0x337, 0x140121367\nmov     rbx, [rdi]                                                     ; +0x339, 0x140121369\nmov     rcx, rdi                                                       ; +0x33c, 0x14012136c\ncall    qword ptr [rbx+178h]                                           ; +0x33f, 0x14012136f\ncvttss2si ecx, xmm0                                                    ; +0x345, 0x140121375\nmov     eax, 0B60B60B7h                                                ; +0x349, 0x140121379\nimul    ecx                                                            ; +0x34e, 0x14012137e\nadd     edx, ecx                                                       ; +0x350, 0x140121380\nsar     edx, 8                                                         ; +0x352, 0x140121382\nmov     eax, edx                                                       ; +0x355, 0x140121385\nshr     eax, 1Fh                                                       ; +0x357, 0x140121387\nadd     edx, eax                                                       ; +0x35a, 0x14012138a\nimul    eax, edx, 168h                                                 ; +0x35c, 0x14012138c\nsub     ecx, eax                                                       ; +0x362, 0x140121392\nmovd    xmm1, ecx                                                      ; +0x364, 0x140121394\nmov     rcx, rdi                                                       ; +0x368, 0x140121398\ncvtdq2ps xmm1, xmm1                                                    ; +0x36b, 0x14012139b\ncall    qword ptr [rbx+170h]                                           ; +0x36e, 0x14012139e\nmov     rax, [rdi]                                                     ; +0x374, 0x1401213a4\nmov     rcx, rdi                                                       ; +0x377, 0x1401213a7\ncall    qword ptr [rax+0C8h]                                           ; +0x37a, 0x1401213aa\nmov     r8, rax                                                        ; +0x380, 0x1401213b0\nlea     rdx, [rsp+0F8h+var_C0]                                         ; +0x383, 0x1401213b3\nlea     rcx, [rsp+0F8h+var_C8]                                         ; +0x388, 0x1401213b8\ncall    cs:??GCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator-(cocos2d::CCPoint const &) ; +0x38d, 0x1401213bd\nlea     r8, [rsp+0F8h+var_C0]                                          ; +0x393, 0x1401213c3\nmov     rdx, rdi                                                       ; +0x398, 0x1401213c8\nmov     rcx, r15                                                       ; +0x39b, 0x1401213cb\ncall    EditorUI__moveObject                                           ; +0x39e, 0x1401213ce\nmov     rcx, rbp                                                       ; +0x3a3, 0x1401213d3\ninc     esi                                                            ; +0x3a6, 0x1401213d6\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x3a8, 0x1401213d8\ncmp     esi, eax                                                       ; +0x3ae, 0x1401213de\njb      loc_140121110                                                  ; +0x3b0, 0x1401213e0\nmovaps  xmm14, [rsp+0F8h+var_A8]                                       ; +0x3b6, 0x1401213e6\nmovaps  xmm13, [rsp+0F8h+var_98]                                       ; +0x3bc, 0x1401213ec\nmovaps  xmm12, [rsp+0F8h+var_88]                                       ; +0x3c2, 0x1401213f2\nmovaps  xmm10, [rsp+0F8h+var_68]                                       ; +0x3c8, 0x1401213f8\nmovaps  xmm9, [rsp+0F8h+var_58]                                        ; +0x3d1, 0x140121401\nmovaps  xmm8, [rsp+0F8h+var_48]                                        ; +0x3da, 0x14012140a\nmovaps  xmm7, [rsp+0F8h+var_38]                                        ; +0x3e3, 0x140121413\nmovaps  xmm6, [rsp+0F8h+var_28]                                        ; +0x3eb, 0x14012141b\nmov     rdi, [rsp+0F8h+arg_8]                                          ; +0x3f3, 0x140121423\nmov     rbx, [rsp+0F8h+arg_0]                                          ; +0x3fb, 0x14012142b\nlea     r11, [rsp+0F8h+var_18]                                         ; +0x403, 0x140121433\nmov     rbp, [r11+30h]                                                 ; +0x40b, 0x14012143b\nmovaps  xmm11, xmmword ptr [r11-60h]                                   ; +0x40f, 0x14012143f\nmov     rsp, r11                                                       ; +0x414, 0x140121444\npop     r15                                                            ; +0x417, 0x140121447\npop     r14                                                            ; +0x419, 0x140121449\npop     rsi                                                            ; +0x41b, 0x14012144b\nretn                                                                   ; +0x41c, 0x14012144c", "xrefs": ["EditorUI::onCreateObject @ 0x14010feb9", "EditorUI::createSmartObjectsFromTemplate @ 0x1401174b2", "EditorUI::transformObjectCall_1 @ 0x1401205e7", "EditorUI::transformObjectCall_1 @ 0x14012064f", "EditorUI::transformObject @ 0x140120a75", "EditorUI::angleChanged @ 0x14012322f", "<???> @ 0x140670210", "<???> @ 0x140670220", "<???> @ 0x1406c9738"], "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"}