{"type": "func", "start": 3692156, "end": 3693202, "name": "EditorUI::transformObject", "pseudocode": "// \n// EditorUI::transformObject from 0x38567c to 0x385a92 (1046 bytes)\n// \n// 4 xrefs:\n// > EditorUI::flipObjectsX @ 0x385b30\n// > EditorUI::flipObjectsY @ 0x385c58\n// > EditorUI::transformObjectCall @ 0x39fff0\n// > EditorUI::transformObjectCall @ 0x3a0028\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; // r8\n  float v8; // s16\n  float v9; // s15\n  _BOOL4 v10; // r10\n  _BOOL4 v11; // r9\n  void (__fastcall *setFlipY)(GameObject *__hidden, bool); // r6\n  bool v13; // r0\n  float v14; // s17\n  float v15; // r0\n  GameObject_vtbl *v16; // r3\n  void (__fastcall *setRotationX)(GameObject *__hidden, float); // r6\n  int v18; // r0\n  void (__fastcall *setRotation)(GameObject *__hidden, float); // r6\n  int v20; // r0\n  float v21; // r0\n  void (__fastcall *v22)(GameObject *__hidden, float); // r6\n  float v23; // s17\n  float v24; // r0\n  void (__fastcall *setRotationY)(GameObject *__hidden, float); // r6\n  float v26; // r0\n  float SnapAngle; // s17\n  cocos2d::CCArray *m_selectedObjects; // r9\n  float v29; // s17\n  float v30; // r0\n  GameObject_vtbl *v31; // r3\n  float v32; // r0\n  GameObject_vtbl *v33; // r3\n  void (__fastcall *v34)(GameObject *__hidden, float); // r6\n  float v35; // r0\n  float v36; // r0\n  GameObject_vtbl *v37; // r3\n  void (__fastcall *v38)(GameObject *__hidden, float); // r6\n  int v39; // r1\n  float v40; // r0\n  GameObject_vtbl *v41; // r3\n  cocos2d::CCPoint v42; // r2\n  float v43; // [sp+0h] [bp-10h]\n  cocos2d::CCPoint v44; // [sp+4h] [bp-Ch] BYREF\n  cocos2d::CCPoint v45; // 0:kr00_8.8\n\n  if ( a4\n    || EditorUI::isSpecialSnapObject(a1, a2->m_objectID) && (unsigned int)(a3 - 21) <= 1\n    || (v7 = (int)fabsf(a2->getRotation(a2)) % 90) != 0\n    || a3 == RotateSnap )\n  {\n    v7 = 1;\n  }\n  else\n  {\n    EditorUI::removeOffset(a1, a2);\n  }\n  v8 = COERCE_FLOAT(((int (__fastcall *)(GameObject *))a2->getRotationX)(a2));\n  if ( v8 != a2->getRotationY(a2) )\n  {\n    v11 = 1;\n    goto LABEL_15;\n  }\n  v9 = fabsf(a2->getRotation(a2));\n  v10 = v9 == 90.0 || v9 == 270.0;\n  v11 = (int)v9 % 90 != 0;\n  if ( v10 )\n  {\n    if ( a3 == FlipX )\n    {\nLABEL_17:\n      setFlipY = a2->setFlipY;\n      v13 = a2->isFlipY(a2);\n    }\n    else\n    {\n      if ( a3 != FlipY )\n        goto LABEL_15;\nLABEL_16:\n      setFlipY = a2->setFlipX;\n      v13 = a2->isFlipX(a2);\n    }\n    setFlipY(a2, !v13);\n    if ( v11 )\n    {\n      v14 = COERCE_FLOAT(((int (__fastcall *)(GameObject *))a2->getRotationX)(a2));\n      v15 = a2->getRotationY(a2);\n      v16 = a2->CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n      if ( v14 == v15 )\n      {\n        setRotation = v16->setRotation;\n        v20 = ((int (__fastcall *)(GameObject *))v16->getRotation)(a2);\n      }\n      else\n      {\n        setRotationX = v16->setRotationX;\n        v18 = ((int (__fastcall *)(GameObject *))v16->getRotationX)(a2);\n        ((void (__fastcall *)(GameObject *, unsigned int))setRotationX)(a2, v18 ^ 0x80000000);\n        setRotation = a2->setRotationY;\n        v20 = ((int (__fastcall *)(GameObject *))a2->getRotationY)(a2);\n      }\n      ((void (__fastcall *)(GameObject *, unsigned int))setRotation)(a2, v20 ^ 0x80000000);\n    }\n    if ( a2->m_updateCustomContentSize )\n      a2->setObjectRectDirty(a2, 1);\n    goto LABEL_31;\n  }\nLABEL_15:\n  switch ( a3 )\n  {\n    case FlipX:\n      goto LABEL_16;\n    case FlipY:\n      goto LABEL_17;\n    case RotateCW:\n    case RotateCCW:\n    case RotateCW45:\n    case RotateCCW45:\n      v21 = EditorUI::rotationforCommand(a1, a3);\n      v22 = a2->setRotationX;\n      v23 = v21;\n      v24 = COERCE_FLOAT(((int (__fastcall *)(GameObject *))a2->getRotationX)(a2));\n      ((void (__fastcall *)(GameObject *, _DWORD))v22)(a2, v24 + v23);\n      setRotationY = a2->setRotationY;\n      v26 = COERCE_FLOAT(((int (__fastcall *)(GameObject *))a2->getRotationY)(a2));\n      ((void (__fastcall *)(GameObject *, _DWORD))setRotationY)(a2, v26 + v23);\n      if ( fabsf(a2->getRotationX(a2)) == 360.0 )\n        ((void (__fastcall *)(GameObject *, _DWORD))a2->setRotationX)(a2, 0);\n      if ( fabsf(a2->getRotationY(a2)) == 360.0 )\n        ((void (__fastcall *)(GameObject *, _DWORD))a2->setRotationY)(a2, 0);\n      break;\n    case RotateSnap:\n      SnapAngle = EditorUI::getSnapAngle(a1, a2, nullptr);\n      if ( SnapAngle != -1.0 )\n      {\n        m_selectedObjects = a1->m_selectedObjects;\n        cocos2d::CCPoint::CCPoint(&v44, (const cocos2d::CCPoint *)&flt_AC5D38);\n        LODWORD(v45.x) = &v44;\n        v45.y = v43;\n        EditorUI::rotateObjects(a1, m_selectedObjects, SnapAngle, v45);\n      }\n      break;\n    default:\n      break;\n  }\nLABEL_31:\n  v29 = COERCE_FLOAT(((int (__fastcall *)(GameObject *))a2->getRotationX)(a2));\n  v30 = a2->getRotationY(a2);\n  v31 = a2->CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n  if ( v29 == v30 )\n  {\n    v32 = v31->getRotation(a2);\n    v33 = a2->CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n    if ( v32 < 360.0 )\n    {\n      if ( v33->getRotation(a2) > -360.0 )\n        goto LABEL_45;\n      v33 = a2->CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n    }\n    v34 = v33->setRotation;\n    v35 = v33->getRotation(a2);\n    goto LABEL_44;\n  }\n  v36 = v31->getRotationX(a2);\n  v37 = a2->CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n  if ( v36 >= 360.0 )\n    goto LABEL_39;\n  if ( v37->getRotationX(a2) <= -360.0 )\n  {\n    v37 = a2->CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\nLABEL_39:\n    v38 = v37->setRotationX;\n    v39 = (int)v37->getRotationX(a2) % 360;\n    ((void (__fastcall *)(_DWORD, _DWORD))v38)(a2, (float)v39);\n  }\n  v40 = a2->getRotationY(a2);\n  v41 = a2->CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n  if ( v40 < 360.0 )\n  {\n    if ( v41->getRotationY(a2) > -360.0 )\n      goto LABEL_45;\n    v41 = a2->CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n  }\n  v34 = v41->setRotationY;\n  v35 = v41->getRotationY(a2);\nLABEL_44:\n  ((void (__fastcall *)(_DWORD, _DWORD))v34)(a2, (float)((int)v35 % 360));\nLABEL_45:\n  if ( !v7 )\n    EditorUI::applyOffset(a1, a2);\n  if ( a1->m_refreshPosition )\n  {\n    cocos2d::CCPoint::CCPoint(&v44, (const cocos2d::CCPoint *)&flt_AC5D38);\n    LODWORD(v42.x) = &v44;\n    EditorUI::moveObject(a1, a2, v42);\n  }\n}", "assembly": "; \n; EditorUI::transformObject from 0x38567c to 0x385a92 (1046 bytes)\n; \n; 4 xrefs:\n; > EditorUI::flipObjectsX @ 0x385b30\n; > EditorUI::flipObjectsY @ 0x385c58\n; > EditorUI::transformObjectCall @ 0x39fff0\n; > EditorUI::transformObjectCall @ 0x3a0028\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\nPUSH.W          {R4-R10,LR}                                            ; +0x0, 0x38567c\nMOV             R6, R2                                                 ; +0x4, 0x385680\nLDR             R2, =(__stack_chk_guard_ptr - 0x385690)                ; +0x6, 0x385682\nMOV             R4, R1                                                 ; +0x8, 0x385684\nVPUSH           {D8}                                                   ; +0xa, 0x385686\nMOV             R5, R0                                                 ; +0xe, 0x38568a\nADD             R2, PC; __stack_chk_guard_ptr                          ; +0x10, 0x38568c\nLDR             R2, [R2]; __stack_chk_guard                            ; +0x12, 0x38568e\nLDR             R1, [R2]                                               ; +0x14, 0x385690\nMOV             R7, R2                                                 ; +0x16, 0x385692\nSUB             SP, SP, #0x10                                          ; +0x18, 0x385694\nSTR             R1, [SP,#0x10+var_4]                                   ; +0x1a, 0x385696\nCMP             R3, #0                                                 ; +0x1c, 0x385698\nBNE.W           loc_385A76                                             ; +0x1e, 0x38569a\nLDR.W           R1, [R4,#0x374]; int                                   ; +0x22, 0x38569e\nBL              _ZN8EditorUI19isSpecialSnapObjectEi; EditorUI::isSpecialSnapObject(int) ; +0x26, 0x3856a2\nCBZ             R0, loc_3856B2                                         ; +0x2a, 0x3856a6\nSUB.W           R3, R6, #0x15                                          ; +0x2c, 0x3856a8\nCMP             R3, #1                                                 ; +0x30, 0x3856ac\nBLS.W           loc_385A76                                             ; +0x32, 0x3856ae\nLDR             R3, [R4]                                               ; +0x36, 0x3856b2\nMOV             R0, R4                                                 ; +0x38, 0x3856b4\nLDR.W           R3, [R3,#0xB0]                                         ; +0x3a, 0x3856b6\nBLX             R3                                                     ; +0x3e, 0x3856ba\nMOVS            R1, #0x5A ; 'Z'                                        ; +0x40, 0x3856bc\nVMOV            S15, R0                                                ; +0x42, 0x3856be\nVABS.F32        S15, S15                                               ; +0x46, 0x3856c2\nVCVT.S32.F32    S15, S15                                               ; +0x4a, 0x3856c6\nVMOV            R0, S15                                                ; +0x4e, 0x3856ca\nBLX             __aeabi_idivmod                                        ; +0x52, 0x3856ce\nMOV             R8, R1                                                 ; +0x56, 0x3856d2\nCMP             R1, #0                                                 ; +0x58, 0x3856d4\nBNE.W           loc_385A76                                             ; +0x5a, 0x3856d6\nCMP             R6, #0x1C                                              ; +0x5e, 0x3856da\nBEQ.W           loc_385A76                                             ; +0x60, 0x3856dc\nMOV             R0, R5; this                                           ; +0x64, 0x3856e0\nMOV             R1, R4; GameObject *                                   ; +0x66, 0x3856e2\nBL              _ZN8EditorUI12removeOffsetEP10GameObject; EditorUI::removeOffset(GameObject *) ; +0x68, 0x3856e4\nLDR             R3, [R4]                                               ; +0x6c, 0x3856e8\nMOV             R0, R4                                                 ; +0x6e, 0x3856ea\nLDR.W           R3, [R3,#0xB8]                                         ; +0x70, 0x3856ec\nBLX             R3                                                     ; +0x74, 0x3856f0\nLDR             R3, [R4]                                               ; +0x76, 0x3856f2\nLDR.W           R3, [R3,#0xC0]                                         ; +0x78, 0x3856f4\nVMOV            S16, R0                                                ; +0x7c, 0x3856f8\nMOV             R0, R4                                                 ; +0x80, 0x3856fc\nBLX             R3                                                     ; +0x82, 0x3856fe\nVMOV            S15, R0                                                ; +0x84, 0x385700\nVCMP.F32        S16, S15                                               ; +0x88, 0x385704\nVLDR            S16, =360.0                                            ; +0x8c, 0x385708\nVMRS            APSR_nzcv, FPSCR                                       ; +0x90, 0x38570c\nBNE             loc_385776                                             ; +0x94, 0x385710\nLDR             R3, [R4]                                               ; +0x96, 0x385712\nMOV             R0, R4                                                 ; +0x98, 0x385714\nLDR.W           R3, [R3,#0xB0]                                         ; +0x9a, 0x385716\nBLX             R3                                                     ; +0x9e, 0x38571a\nVLDR            S14, =90.0                                             ; +0xa0, 0x38571c\nVMOV            S15, R0                                                ; +0xa4, 0x385720\nVABS.F32        S15, S15                                               ; +0xa8, 0x385724\nVCMP.F32        S15, S14                                               ; +0xac, 0x385728\nVMRS            APSR_nzcv, FPSCR                                       ; +0xb0, 0x38572c\nBEQ             loc_38574A                                             ; +0xb4, 0x385730\nVLDR            S14, =270.0                                            ; +0xb6, 0x385732\nVCMP.F32        S15, S14                                               ; +0xba, 0x385736\nVMRS            APSR_nzcv, FPSCR                                       ; +0xbe, 0x38573a\nITE EQ                                                                 ; +0xc2, 0x38573e\nMOVEQ.W         R10, #1                                                ; +0xc4, 0x385740\nMOVNE.W         R10, #0                                                ; +0xc8, 0x385744\nB               loc_38574E                                             ; +0xcc, 0x385748\nMOV.W           R10, #1                                                ; +0xce, 0x38574a\nVCVT.S32.F32    S15, S15                                               ; +0xd2, 0x38574e\nMOVS            R1, #0x5A ; 'Z'                                        ; +0xd6, 0x385752\nVMOV            R0, S15                                                ; +0xd8, 0x385754\nBLX             __aeabi_idivmod                                        ; +0xdc, 0x385758\nMOVS.W          R9, R1                                                 ; +0xe0, 0x38575c\nIT NE                                                                  ; +0xe4, 0x385760\nMOVNE.W         R9, #1                                                 ; +0xe6, 0x385762\nCMP.W           R10, #0                                                ; +0xea, 0x385766\nBEQ             loc_38577A                                             ; +0xee, 0x38576a\nCMP             R6, #0x15                                              ; +0xf0, 0x38576c\nBEQ             loc_38579C; jumptable 00385784 case 22                 ; +0xf2, 0x38576e\nCMP             R6, #0x16                                              ; +0xf4, 0x385770\nBNE             loc_38577A                                             ; +0xf6, 0x385772\nB               loc_385790; jumptable 00385784 case 21                 ; +0xf8, 0x385774\nMOV.W           R9, #1                                                 ; +0xfa, 0x385776\nSUB.W           R3, R6, #0x15; switch 8 cases                          ; +0xfe, 0x38577a\nCMP             R3, #7                                                 ; +0x102, 0x38577e\nBHI.W           def_385784; jumptable 00385784 default case, case 27   ; +0x104, 0x385780\nTBB.W           [PC,R3]; switch jump                                   ; +0x108, 0x385784\nDCB 4; jump table for switch statement                                 ; +0x10c, 0x385788\nDCB 0xA                                                                ; +0x10d, 0x385789\nDCB 0x52                                                               ; +0x10e, 0x38578a\nDCB 0x52                                                               ; +0x10f, 0x38578b\nDCB 0x52                                                               ; +0x110, 0x38578c\nDCB 0x52                                                               ; +0x111, 0x38578d\nDCB 0xBC                                                               ; +0x112, 0x38578e\nDCB 0x9F                                                               ; +0x113, 0x38578f\nLDR             R3, [R4]; jumptable 00385784 case 21                   ; +0x114, 0x385790\nLDR.W           R6, [R3,#0x264]                                        ; +0x116, 0x385792\nLDR.W           R3, [R3,#0x2C0]                                        ; +0x11a, 0x385796\nB               loc_3857A6                                             ; +0x11e, 0x38579a\nLDR             R3, [R4]; jumptable 00385784 case 22                   ; +0x120, 0x38579c\nLDR.W           R6, [R3,#0x268]                                        ; +0x122, 0x38579e\nLDR.W           R3, [R3,#0x2C4]                                        ; +0x126, 0x3857a2\nMOV             R0, R4                                                 ; +0x12a, 0x3857a6\nBLX             R3                                                     ; +0x12c, 0x3857a8\nEOR.W           R1, R0, #1                                             ; +0x12e, 0x3857aa\nMOV             R0, R4                                                 ; +0x132, 0x3857ae\nUXTB            R1, R1                                                 ; +0x134, 0x3857b0\nBLX             R6                                                     ; +0x136, 0x3857b2\nCMP.W           R9, #0                                                 ; +0x138, 0x3857b4\nBEQ             loc_385816                                             ; +0x13c, 0x3857b8\nLDR             R3, [R4]                                               ; +0x13e, 0x3857ba\nMOV             R0, R4                                                 ; +0x140, 0x3857bc\nLDR.W           R3, [R3,#0xB8]                                         ; +0x142, 0x3857be\nBLX             R3                                                     ; +0x146, 0x3857c2\nLDR             R3, [R4]                                               ; +0x148, 0x3857c4\nLDR.W           R3, [R3,#0xC0]                                         ; +0x14a, 0x3857c6\nVMOV            S17, R0                                                ; +0x14e, 0x3857ca\nMOV             R0, R4                                                 ; +0x152, 0x3857ce\nBLX             R3                                                     ; +0x154, 0x3857d0\nLDR             R3, [R4]                                               ; +0x156, 0x3857d2\nVMOV            S15, R0                                                ; +0x158, 0x3857d4\nVCMP.F32        S17, S15                                               ; +0x15c, 0x3857d8\nVMRS            APSR_nzcv, FPSCR                                       ; +0x160, 0x3857dc\nBEQ             loc_385802                                             ; +0x164, 0x3857e0\nLDR.W           R6, [R3,#0xB4]                                         ; +0x166, 0x3857e2\nMOV             R0, R4                                                 ; +0x16a, 0x3857e6\nLDR.W           R3, [R3,#0xB8]                                         ; +0x16c, 0x3857e8\nBLX             R3                                                     ; +0x170, 0x3857ec\nEOR.W           R1, R0, #0x80000000                                    ; +0x172, 0x3857ee\nMOV             R0, R4                                                 ; +0x176, 0x3857f2\nBLX             R6                                                     ; +0x178, 0x3857f4\nLDR             R3, [R4]                                               ; +0x17a, 0x3857f6\nLDR.W           R6, [R3,#0xBC]                                         ; +0x17c, 0x3857f8\nLDR.W           R3, [R3,#0xC0]                                         ; +0x180, 0x3857fc\nB               loc_38580A                                             ; +0x184, 0x385800\nLDR.W           R6, [R3,#0xAC]                                         ; +0x186, 0x385802\nLDR.W           R3, [R3,#0xB0]                                         ; +0x18a, 0x385806\nMOV             R0, R4                                                 ; +0x18e, 0x38580a\nBLX             R3                                                     ; +0x190, 0x38580c\nEOR.W           R1, R0, #0x80000000                                    ; +0x192, 0x38580e\nMOV             R0, R4                                                 ; +0x196, 0x385812\nBLX             R6                                                     ; +0x198, 0x385814\nLDRB.W          R3, [R4,#0x410]                                        ; +0x19a, 0x385816\nCMP             R3, #0                                                 ; +0x19e, 0x38581a\nBEQ             def_385784; jumptable 00385784 default case, case 27   ; +0x1a0, 0x38581c\nLDR             R3, [R4]                                               ; +0x1a2, 0x38581e\nMOV             R0, R4                                                 ; +0x1a4, 0x385820\nMOVS            R1, #1                                                 ; +0x1a6, 0x385822\nLDR.W           R3, [R3,#0x370]                                        ; +0x1a8, 0x385824\nBLX             R3                                                     ; +0x1ac, 0x385828\nB               def_385784; jumptable 00385784 default case, case 27   ; +0x1ae, 0x38582a\nMOV             R1, R6; jumptable 00385784 cases 23-26                 ; +0x1b0, 0x38582c\nMOV             R0, R5                                                 ; +0x1b2, 0x38582e\nBL              _ZN8EditorUI18rotationforCommandE11EditCommand; EditorUI::rotationforCommand(EditCommand) ; +0x1b4, 0x385830\nLDR             R3, [R4]                                               ; +0x1b8, 0x385834\nLDR.W           R6, [R3,#0xB4]                                         ; +0x1ba, 0x385836\nLDR.W           R3, [R3,#0xB8]                                         ; +0x1be, 0x38583a\nVMOV            S17, R0                                                ; +0x1c2, 0x38583e\nMOV             R0, R4                                                 ; +0x1c6, 0x385842\nBLX             R3                                                     ; +0x1c8, 0x385844\nVMOV            S15, R0                                                ; +0x1ca, 0x385846\nMOV             R0, R4                                                 ; +0x1ce, 0x38584a\nVADD.F32        S15, S15, S17                                          ; +0x1d0, 0x38584c\nVMOV            R1, S15                                                ; +0x1d4, 0x385850\nBLX             R6                                                     ; +0x1d8, 0x385854\nLDR             R3, [R4]                                               ; +0x1da, 0x385856\nMOV             R0, R4                                                 ; +0x1dc, 0x385858\nLDR.W           R6, [R3,#0xBC]                                         ; +0x1de, 0x38585a\nLDR.W           R3, [R3,#0xC0]                                         ; +0x1e2, 0x38585e\nBLX             R3                                                     ; +0x1e6, 0x385862\nVMOV            S15, R0                                                ; +0x1e8, 0x385864\nMOV             R0, R4                                                 ; +0x1ec, 0x385868\nVADD.F32        S17, S15, S17                                          ; +0x1ee, 0x38586a\nVMOV            R1, S17                                                ; +0x1f2, 0x38586e\nBLX             R6                                                     ; +0x1f6, 0x385872\nLDR             R3, [R4]                                               ; +0x1f8, 0x385874\nMOV             R0, R4                                                 ; +0x1fa, 0x385876\nLDR.W           R3, [R3,#0xB8]                                         ; +0x1fc, 0x385878\nBLX             R3                                                     ; +0x200, 0x38587c\nVMOV            S15, R0                                                ; +0x202, 0x38587e\nVABS.F32        S15, S15                                               ; +0x206, 0x385882\nVCMP.F32        S15, S16                                               ; +0x20a, 0x385886\nVMRS            APSR_nzcv, FPSCR                                       ; +0x20e, 0x38588a\nBNE             loc_38589C                                             ; +0x212, 0x38588e\nLDR             R3, [R4]                                               ; +0x214, 0x385890\nMOV             R0, R4                                                 ; +0x216, 0x385892\nMOVS            R1, #0                                                 ; +0x218, 0x385894\nLDR.W           R3, [R3,#0xB4]                                         ; +0x21a, 0x385896\nBLX             R3                                                     ; +0x21e, 0x38589a\nLDR             R3, [R4]                                               ; +0x220, 0x38589c\nMOV             R0, R4                                                 ; +0x222, 0x38589e\nLDR.W           R3, [R3,#0xC0]                                         ; +0x224, 0x3858a0\nBLX             R3                                                     ; +0x228, 0x3858a4\nVMOV            S15, R0                                                ; +0x22a, 0x3858a6\nVABS.F32        S15, S15                                               ; +0x22e, 0x3858aa\nVCMP.F32        S15, S16                                               ; +0x232, 0x3858ae\nVMRS            APSR_nzcv, FPSCR                                       ; +0x236, 0x3858b2\nBNE             def_385784; jumptable 00385784 default case, case 27   ; +0x23a, 0x3858b6\nLDR             R3, [R4]                                               ; +0x23c, 0x3858b8\nMOV             R0, R4                                                 ; +0x23e, 0x3858ba\nMOVS            R1, #0                                                 ; +0x240, 0x3858bc\nLDR.W           R3, [R3,#0xBC]                                         ; +0x242, 0x3858be\nBLX             R3                                                     ; +0x246, 0x3858c2\nB               def_385784; jumptable 00385784 default case, case 27   ; +0x248, 0x3858c4\nMOV             R0, R5; jumptable 00385784 case 28                     ; +0x24a, 0x3858c6\nMOV             R1, R4; GameObject *                                   ; +0x24c, 0x3858c8\nMOVS            R2, #0; cocos2d::CCArray *                             ; +0x24e, 0x3858ca\nBL              _ZN8EditorUI12getSnapAngleEP10GameObjectPN7cocos2d7CCArrayE; EditorUI::getSnapAngle(GameObject *,cocos2d::CCArray *) ; +0x250, 0x3858cc\nVMOV.F32        S15, #-1.0                                             ; +0x254, 0x3858d0\nVMOV            S17, R0                                                ; +0x258, 0x3858d4\nVCMP.F32        S17, S15                                               ; +0x25c, 0x3858d8\nVMRS            APSR_nzcv, FPSCR                                       ; +0x260, 0x3858dc\nBEQ             def_385784; jumptable 00385784 default case, case 27   ; +0x264, 0x3858e0\nLDR.W           R9, [R5,#0x260]                                        ; +0x266, 0x3858e2\nADD             R6, SP, #0x10+var_C                                    ; +0x26a, 0x3858e6\nLDR             R1, =(flt_AC5D38 - 0x3858F0)                           ; +0x26c, 0x3858e8\nMOV             R0, R6; this                                           ; +0x26e, 0x3858ea\nADD             R1, PC; flt_AC5D38 ; cocos2d::CCPoint *                ; +0x270, 0x3858ec\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x272, 0x3858ee\nMOV             R0, R5                                                 ; +0x276, 0x3858f2\nMOV             R1, R9                                                 ; +0x278, 0x3858f4\nVMOV            R2, S17                                                ; +0x27a, 0x3858f6\nMOV             R3, R6                                                 ; +0x27e, 0x3858fa\nBL              _ZN8EditorUI13rotateObjectsEPN7cocos2d7CCArrayEfNS0_7CCPointE; EditorUI::rotateObjects(cocos2d::CCArray *,float,cocos2d::CCPoint) ; +0x280, 0x3858fc\nLDR             R3, [R4]; jumptable 00385784 default case, case 27     ; +0x284, 0x385900\nMOV             R0, R4                                                 ; +0x286, 0x385902\nLDR.W           R3, [R3,#0xB8]                                         ; +0x288, 0x385904\nBLX             R3                                                     ; +0x28c, 0x385908\nLDR             R3, [R4]                                               ; +0x28e, 0x38590a\nLDR.W           R3, [R3,#0xC0]                                         ; +0x290, 0x38590c\nVMOV            S17, R0                                                ; +0x294, 0x385910\nMOV             R0, R4                                                 ; +0x298, 0x385914\nBLX             R3                                                     ; +0x29a, 0x385916\nLDR             R3, [R4]                                               ; +0x29c, 0x385918\nVMOV            S15, R0                                                ; +0x29e, 0x38591a\nVCMP.F32        S17, S15                                               ; +0x2a2, 0x38591e\nVMRS            APSR_nzcv, FPSCR                                       ; +0x2a6, 0x385922\nBNE             loc_385980                                             ; +0x2aa, 0x385926\nLDR.W           R3, [R3,#0xB0]                                         ; +0x2ac, 0x385928\nMOV             R0, R4                                                 ; +0x2b0, 0x38592c\nBLX             R3                                                     ; +0x2b2, 0x38592e\nLDR             R3, [R4]                                               ; +0x2b4, 0x385930\nVMOV            S15, R0                                                ; +0x2b6, 0x385932\nVCMPE.F32       S15, S16                                               ; +0x2ba, 0x385936\nVMRS            APSR_nzcv, FPSCR                                       ; +0x2be, 0x38593a\nBGE             loc_38595C                                             ; +0x2c2, 0x38593e\nLDR.W           R3, [R3,#0xB0]                                         ; +0x2c4, 0x385940\nMOV             R0, R4                                                 ; +0x2c8, 0x385944\nBLX             R3                                                     ; +0x2ca, 0x385946\nVLDR            S15, =-360.0                                           ; +0x2cc, 0x385948\nVMOV            S14, R0                                                ; +0x2d0, 0x38594c\nVCMPE.F32       S14, S15                                               ; +0x2d4, 0x385950\nVMRS            APSR_nzcv, FPSCR                                       ; +0x2d8, 0x385954\nBHI             loc_385A4A                                             ; +0x2dc, 0x385958\nLDR             R3, [R4]                                               ; +0x2de, 0x38595a\nLDR.W           R6, [R3,#0xAC]                                         ; +0x2e0, 0x38595c\nLDR.W           R3, [R3,#0xB0]                                         ; +0x2e4, 0x385960\nB               loc_385A22                                             ; +0x2e8, 0x385964\nALIGN 4                                                                ; +0x2ea, 0x385966\nDCFS 360.0                                                             ; +0x2ec, 0x385968\nDCFS 90.0                                                              ; +0x2f0, 0x38596c\nDCFS 270.0                                                             ; +0x2f4, 0x385970\nDCD __stack_chk_guard_ptr - 0x385690                                   ; +0x2f8, 0x385974\nDCD flt_AC5D38 - 0x3858F0                                              ; +0x2fc, 0x385978\nDCFS -360.0                                                            ; +0x300, 0x38597c\nLDR.W           R3, [R3,#0xB8]                                         ; +0x304, 0x385980\nMOV             R0, R4                                                 ; +0x308, 0x385984\nBLX             R3                                                     ; +0x30a, 0x385986\nLDR             R3, [R4]                                               ; +0x30c, 0x385988\nVMOV            S15, R0                                                ; +0x30e, 0x38598a\nVCMPE.F32       S15, S16                                               ; +0x312, 0x38598e\nVMRS            APSR_nzcv, FPSCR                                       ; +0x316, 0x385992\nBGE             loc_3859B4                                             ; +0x31a, 0x385996\nLDR.W           R3, [R3,#0xB8]                                         ; +0x31c, 0x385998\nMOV             R0, R4                                                 ; +0x320, 0x38599c\nBLX             R3                                                     ; +0x322, 0x38599e\nVLDR            S15, =-360.0                                           ; +0x324, 0x3859a0\nVMOV            S14, R0                                                ; +0x328, 0x3859a4\nVCMPE.F32       S14, S15                                               ; +0x32c, 0x3859a8\nVMRS            APSR_nzcv, FPSCR                                       ; +0x330, 0x3859ac\nBHI             loc_3859E4                                             ; +0x334, 0x3859b0\nLDR             R3, [R4]                                               ; +0x336, 0x3859b2\nLDR.W           R6, [R3,#0xB4]                                         ; +0x338, 0x3859b4\nMOV             R0, R4                                                 ; +0x33c, 0x3859b8\nLDR.W           R3, [R3,#0xB8]                                         ; +0x33e, 0x3859ba\nBLX             R3                                                     ; +0x342, 0x3859be\nMOV.W           R1, #0x168                                             ; +0x344, 0x3859c0\nVMOV            S15, R0                                                ; +0x348, 0x3859c4\nVCVT.S32.F32    S15, S15                                               ; +0x34c, 0x3859c8\nVMOV            R0, S15                                                ; +0x350, 0x3859cc\nBLX             __aeabi_idivmod                                        ; +0x354, 0x3859d0\nMOV             R0, R4                                                 ; +0x358, 0x3859d4\nVMOV            S15, R1                                                ; +0x35a, 0x3859d6\nVCVT.F32.S32    S15, S15                                               ; +0x35e, 0x3859da\nVMOV            R1, S15                                                ; +0x362, 0x3859de\nBLX             R6                                                     ; +0x366, 0x3859e2\nLDR             R3, [R4]                                               ; +0x368, 0x3859e4\nMOV             R0, R4                                                 ; +0x36a, 0x3859e6\nLDR.W           R3, [R3,#0xC0]                                         ; +0x36c, 0x3859e8\nBLX             R3                                                     ; +0x370, 0x3859ec\nLDR             R3, [R4]                                               ; +0x372, 0x3859ee\nVMOV            S15, R0                                                ; +0x374, 0x3859f0\nVCMPE.F32       S15, S16                                               ; +0x378, 0x3859f4\nVMRS            APSR_nzcv, FPSCR                                       ; +0x37c, 0x3859f8\nBGE             loc_385A1A                                             ; +0x380, 0x3859fc\nLDR.W           R3, [R3,#0xC0]                                         ; +0x382, 0x3859fe\nMOV             R0, R4                                                 ; +0x386, 0x385a02\nBLX             R3                                                     ; +0x388, 0x385a04\nVLDR            S15, =-360.0                                           ; +0x38a, 0x385a06\nVMOV            S14, R0                                                ; +0x38e, 0x385a0a\nVCMPE.F32       S14, S15                                               ; +0x392, 0x385a0e\nVMRS            APSR_nzcv, FPSCR                                       ; +0x396, 0x385a12\nBHI             loc_385A4A                                             ; +0x39a, 0x385a16\nLDR             R3, [R4]                                               ; +0x39c, 0x385a18\nLDR.W           R6, [R3,#0xBC]                                         ; +0x39e, 0x385a1a\nLDR.W           R3, [R3,#0xC0]                                         ; +0x3a2, 0x385a1e\nMOV             R0, R4                                                 ; +0x3a6, 0x385a22\nBLX             R3                                                     ; +0x3a8, 0x385a24\nMOV.W           R1, #0x168                                             ; +0x3aa, 0x385a26\nVMOV            S15, R0                                                ; +0x3ae, 0x385a2a\nVCVT.S32.F32    S15, S15                                               ; +0x3b2, 0x385a2e\nVMOV            R0, S15                                                ; +0x3b6, 0x385a32\nBLX             __aeabi_idivmod                                        ; +0x3ba, 0x385a36\nMOV             R0, R4                                                 ; +0x3be, 0x385a3a\nVMOV            S15, R1                                                ; +0x3c0, 0x385a3c\nVCVT.F32.S32    S15, S15                                               ; +0x3c4, 0x385a40\nVMOV            R1, S15                                                ; +0x3c8, 0x385a44\nBLX             R6                                                     ; +0x3cc, 0x385a48\nCMP.W           R8, #0                                                 ; +0x3ce, 0x385a4a\nBNE             loc_385A58                                             ; +0x3d2, 0x385a4e\nMOV             R0, R5; this                                           ; +0x3d4, 0x385a50\nMOV             R1, R4; GameObject *                                   ; +0x3d6, 0x385a52\nBL              _ZN8EditorUI11applyOffsetEP10GameObject; EditorUI::applyOffset(GameObject *) ; +0x3d8, 0x385a54\nLDRB.W          R3, [R5,#0x1EC]                                        ; +0x3dc, 0x385a58\nCBZ             R3, loc_385A7C                                         ; +0x3e0, 0x385a5c\nADD             R6, SP, #0x10+var_C                                    ; +0x3e2, 0x385a5e\nLDR             R1, =(flt_AC5D38 - 0x385A68)                           ; +0x3e4, 0x385a60\nMOV             R0, R6; this                                           ; +0x3e6, 0x385a62\nADD             R1, PC; flt_AC5D38 ; cocos2d::CCPoint *                ; +0x3e8, 0x385a64\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x3ea, 0x385a66\nMOV             R0, R5                                                 ; +0x3ee, 0x385a6a\nMOV             R1, R4                                                 ; +0x3f0, 0x385a6c\nMOV             R2, R6                                                 ; +0x3f2, 0x385a6e\nBL              _ZN8EditorUI10moveObjectEP10GameObjectN7cocos2d7CCPointE; EditorUI::moveObject(GameObject *,cocos2d::CCPoint) ; +0x3f4, 0x385a70\nB               loc_385A7C                                             ; +0x3f8, 0x385a74\nMOV.W           R8, #1                                                 ; +0x3fa, 0x385a76\nB               loc_3856E8                                             ; +0x3fe, 0x385a7a\nLDR             R2, [SP,#0x10+var_4]                                   ; +0x400, 0x385a7c\nLDR             R3, [R7]                                               ; +0x402, 0x385a7e\nCMP             R2, R3                                                 ; +0x404, 0x385a80\nBEQ             loc_385A88                                             ; +0x406, 0x385a82\nBLX             __stack_chk_fail                                       ; +0x408, 0x385a84\nADD             SP, SP, #0x10                                          ; +0x40c, 0x385a88\nVPOP            {D8}                                                   ; +0x40e, 0x385a8a\nPOP.W           {R4-R10,PC}                                            ; +0x412, 0x385a8e", "xrefs": ["EditorUI::flipObjectsX @ 0x385b30", "EditorUI::flipObjectsY @ 0x385c58", "EditorUI::transformObjectCall @ 0x39fff0", "EditorUI::transformObjectCall @ 0x3a0028"], "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"}