{"type": "func", "start": 3795056, "end": 3795740, "name": "EditorUI::transformObjects", "pseudocode": "// \n// EditorUI::transformObjects from 0x39e870 to 0x39eb1c (684 bytes)\n// \n// 3 xrefs:\n// > EditorUI::transformObjectsActive @ 0x39eb90\n// > EditorUI::transformObjectsReset @ 0x39ecde\n// > EditorUI::updateTransformControl @ 0x3a0640\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::transformObjects(\n        EditorUI *a1,\n        cocos2d::CCArray *a2,\n        cocos2d::CCPoint a3,\n        float a4,\n        float a5,\n        float a6,\n        float a7,\n        float a8,\n        float a9)\n{\n  float y; // r6\n  float x; // r9\n  int v13; // r2\n  bool v14; // r3\n  unsigned int v15; // r8\n  int v16; // r11\n  const cocos2d::CCPoint *v17; // r0\n  int v18; // r0\n  GameObject *v19; // r5\n  float *v20; // r0\n  float *v21; // r7\n  float v22; // s17\n  float v23; // s16\n  float v24; // r0\n  float v25; // s19\n  float v26; // s18\n  float v27; // r7\n  float v28; // r6\n  float v29; // s18\n  float v30; // s16\n  int v31; // r0\n  cocos2d::CCPoint v32; // r2\n  void (__fastcall *setPosition)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // [sp+0h] [bp-4Ch]\n  cocos2d::CCNode *m_transformChild; // [sp+Ch] [bp-40h]\n  cocos2d::CCPoint v35; // [sp+14h] [bp-38h] BYREF\n  cocos2d::CCPoint v36; // [sp+1Ch] [bp-30h] BYREF\n  _BYTE v37[8]; // [sp+24h] [bp-28h] BYREF\n  cocos2d::CCPoint v38; // [sp+2Ch] [bp-20h] BYREF\n  float v39; // [sp+34h] [bp-18h]\n  float v40; // [sp+38h] [bp-14h]\n  float v41; // [sp+3Ch] [bp-10h]\n  float v42; // [sp+40h] [bp-Ch]\n\n  y = a3.y;\n  x = a3.x;\n  if ( cocos2d::CCPoint::equals((cocos2d::CCPoint *)LODWORD(a3.x), (const cocos2d::CCPoint *)&flt_AC5D38) )\n  {\n    EditorUI::getGroupCenter(&v38, a1, a2, 0);\n    cocos2d::CCPoint::operator=((PlayerObject *)LODWORD(x), COERCE_FLOAT(&v38), v13, v14);\n  }\n  v15 = 0;\n  v16 = ((int (__fastcall *)(cocos2d::CCLayer *))a1->m_editorLayer->m_objectLayer->getScale)(a1->m_editorLayer->m_objectLayer);\n  v17 = a1->m_editorLayer->m_objectLayer->getPosition(a1->m_editorLayer->m_objectLayer);\n  cocos2d::CCPoint::CCPoint(&v35, v17);\n  ((void (__fastcall *)(cocos2d::CCLayer *, int))a1->m_editorLayer->m_objectLayer->setScale)(\n    a1->m_editorLayer->m_objectLayer,\n    1065353216);\n  a1->m_editorLayer->m_objectLayer->setPosition(a1->m_editorLayer->m_objectLayer, (const cocos2d::CCPoint *)&flt_AC5D38);\n  a1->m_transformNode->setPosition(a1->m_transformNode, (const cocos2d::CCPoint *)LODWORD(x));\n  ((void (__fastcall *)(cocos2d::CCNode *, _DWORD))a1->m_transformNode->setScaleX)(a1->m_transformNode, LODWORD(y));\n  ((void (__fastcall *)(cocos2d::CCNode *, _DWORD))a1->m_transformNode->setScaleY)(a1->m_transformNode, LODWORD(a4));\n  ((void (__fastcall *)(cocos2d::CCNode *, _DWORD))a1->m_transformNode->setRotationX)(a1->m_transformNode, LODWORD(a5));\n  ((void (__fastcall *)(cocos2d::CCNode *, _DWORD))a1->m_transformNode->setRotationY)(a1->m_transformNode, LODWORD(a6));\n  ((void (__fastcall *)(cocos2d::CCNode *, _DWORD))a1->m_transformNode->setSkewX)(a1->m_transformNode, LODWORD(a7));\n  ((void (__fastcall *)(cocos2d::CCNode *, _DWORD))a1->m_transformNode->setSkewY)(a1->m_transformNode, LODWORD(a8));\n  ((void (__fastcall *)(cocos2d::CCPoint *))a1->m_transformNode->nodeToWorldTransform)(&v38);\n  while ( v15 < cocos2d::CCArray::count(a2) )\n  {\n    v18 = cocos2d::CCArray::objectAtIndex(a2, v15++);\n    v19 = (GameObject *)v18;\n    v38.x = *(float *)(v18 + 772);\n    v20 = (float *)std::__detail::_Map_base<int,std::pair<int const,GameObjectEditorState>,std::allocator<std::pair<int const,GameObjectEditorState>>,std::__detail::_Select1st,std::equal_to<int>,std::hash<int>,std::__detail::_Mod_range_hashing,std::__detail::_Default_ranged_hash,std::__detail::_Prime_rehash_policy,std::__detail::_Hashtable_traits<false,false,true>,true>::operator[](\n                     &a1->m_objectEditorStates._M_h._M_buckets,\n                     (unsigned int *)&v38);\n    m_transformChild = a1->m_transformChild;\n    setPosition = m_transformChild->setPosition;\n    v21 = v20;\n    cocos2d::CCPoint::operator-(&v38, v20, LODWORD(x));\n    setPosition(m_transformChild, &v38);\n    ((void (__fastcall *)(cocos2d::CCNode *, _DWORD))a1->m_transformChild->setScaleX)(\n      a1->m_transformChild,\n      v21[2] * v19->m_pixelScaleX);\n    ((void (__fastcall *)(cocos2d::CCNode *, _DWORD))a1->m_transformChild->setScaleY)(\n      a1->m_transformChild,\n      v21[3] * v19->m_pixelScaleY);\n    ((void (__fastcall *)(cocos2d::CCNode *, _DWORD))a1->m_transformChild->setRotationX)(\n      a1->m_transformChild,\n      *((_DWORD *)v21 + 4));\n    ((void (__fastcall *)(cocos2d::CCNode *, _DWORD))a1->m_transformChild->setRotationY)(\n      a1->m_transformChild,\n      *((_DWORD *)v21 + 5));\n    ((void (__fastcall *)(cocos2d::CCPoint *))a1->m_transformChild->nodeToWorldTransform)(&v38);\n    v22 = v38.y;\n    v23 = v38.x;\n    v24 = sqrtf((float)(v22 * v22) + (float)(v23 * v23));\n    v25 = v40;\n    v26 = v39;\n    v27 = v24;\n    v28 = sqrtf((float)(v25 * v25) + (float)(v26 * v26));\n    v29 = atan2f(v25, v26);\n    v30 = atan2f(v22, v23);\n    GameObject::updateCustomScaleX(v19, v27);\n    GameObject::updateCustomScaleY(v19, v28);\n    ((void (__fastcall *)(GameObject *, _DWORD))v19->setRotationX)(v19, -(float)((float)(v29 * 57.296) - 90.0));\n    ((void (__fastcall *)(GameObject *, _DWORD))v19->setRotationY)(v19, -(float)(57.296 * v30));\n    cocos2d::CCPoint::CCPoint(&v36, v41, v42);\n    v31 = (int)v19->getPosition(v19);\n    cocos2d::CCPoint::operator-(v37, &v36, v31);\n    LODWORD(v32.x) = v37;\n    EditorUI::moveObject(a1, v19, v32);\n  }\n  ((void (__fastcall *)(cocos2d::CCLayer *, int))a1->m_editorLayer->m_objectLayer->setScale)(\n    a1->m_editorLayer->m_objectLayer,\n    v16);\n  a1->m_editorLayer->m_objectLayer->setPosition(a1->m_editorLayer->m_objectLayer, &v35);\n}", "assembly": "; \n; EditorUI::transformObjects from 0x39e870 to 0x39eb1c (684 bytes)\n; \n; 3 xrefs:\n; > EditorUI::transformObjectsActive @ 0x39eb90\n; > EditorUI::transformObjectsReset @ 0x39ecde\n; > EditorUI::updateTransformControl @ 0x3a0640\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-R11,LR}                                            ; +0x0, 0x39e870\nMOV             R10, R1                                                ; +0x4, 0x39e874\nLDR             R5, =(__stack_chk_guard_ptr - 0x39E884)                ; +0x6, 0x39e876\nMOV             R6, R3                                                 ; +0x8, 0x39e878\nVPUSH           {D8-D10}                                               ; +0xa, 0x39e87a\nMOV             R4, R0                                                 ; +0xe, 0x39e87e\nADD             R5, PC; __stack_chk_guard_ptr                          ; +0x10, 0x39e880\nLDR             R5, [R5]; __stack_chk_guard                            ; +0x12, 0x39e882\nLDR             R1, =(flt_AC5D38 - 0x39E890)                           ; +0x14, 0x39e884\nMOV             R0, R2; this                                           ; +0x16, 0x39e886\nMOV             R9, R2                                                 ; +0x18, 0x39e888\nLDR             R3, [R5]                                               ; +0x1a, 0x39e88a\nADD             R1, PC; flt_AC5D38 ; cocos2d::CCPoint *                ; +0x1c, 0x39e88c\nSUB             SP, SP, #0x4C                                          ; +0x1e, 0x39e88e\nSTR             R3, [SP,#0x4C+var_8]                                   ; +0x20, 0x39e890\nBL              _ZNK7cocos2d7CCPoint6equalsERKS0_; cocos2d::CCPoint::equals(cocos2d::CCPoint const&) ; +0x22, 0x39e892\nSTR             R5, [SP,#0x4C+var_48]                                  ; +0x26, 0x39e896\nADD             R5, SP, #0x4C+var_20                                   ; +0x28, 0x39e898\nCBZ             R0, loc_39E8B0                                         ; +0x2a, 0x39e89a\nMOV             R0, R5; this                                           ; +0x2c, 0x39e89c\nMOV             R1, R4; cocos2d::CCArray *                             ; +0x2e, 0x39e89e\nMOV             R2, R10; cocos2d::CCArray *                            ; +0x30, 0x39e8a0\nMOVS            R3, #0                                                 ; +0x32, 0x39e8a2\nBL              _ZN8EditorUI14getGroupCenterEPN7cocos2d7CCArrayEb; EditorUI::getGroupCenter(cocos2d::CCArray *,bool) ; +0x34, 0x39e8a4\nMOV             R0, R9                                                 ; +0x38, 0x39e8a8\nMOV             R1, R5                                                 ; +0x3a, 0x39e8aa\nBL              _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0x3c, 0x39e8ac\nLDR.W           R3, [R4,#0x340]                                        ; +0x40, 0x39e8b0\nMOV.W           R8, #0                                                 ; +0x44, 0x39e8b4\nVLDR            S20, =57.296                                           ; +0x48, 0x39e8b8\nLDR.W           R0, [R3,#0x9F0]                                        ; +0x4c, 0x39e8bc\nVLDR            S21, =90.0                                             ; +0x50, 0x39e8c0\nLDR             R3, [R0]                                               ; +0x54, 0x39e8c4\nLDR             R3, [R3,#0x54]                                         ; +0x56, 0x39e8c6\nBLX             R3                                                     ; +0x58, 0x39e8c8\nLDR.W           R3, [R4,#0x340]                                        ; +0x5a, 0x39e8ca\nMOV             R11, R0                                                ; +0x5e, 0x39e8ce\nLDR.W           R0, [R3,#0x9F0]                                        ; +0x60, 0x39e8d0\nLDR             R3, [R0]                                               ; +0x64, 0x39e8d4\nLDR             R3, [R3,#0x60]                                         ; +0x66, 0x39e8d6\nBLX             R3                                                     ; +0x68, 0x39e8d8\nMOV             R1, R0; cocos2d::CCPoint *                             ; +0x6a, 0x39e8da\nADD             R0, SP, #0x4C+var_38; this                             ; +0x6c, 0x39e8dc\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x6e, 0x39e8de\nLDR.W           R3, [R4,#0x340]                                        ; +0x72, 0x39e8e2\nMOV.W           R1, #0x3F800000                                        ; +0x76, 0x39e8e6\nLDR.W           R0, [R3,#0x9F0]                                        ; +0x7a, 0x39e8ea\nLDR             R3, [R0]                                               ; +0x7e, 0x39e8ee\nLDR             R3, [R3,#0x50]                                         ; +0x80, 0x39e8f0\nBLX             R3                                                     ; +0x82, 0x39e8f2\nLDR.W           R3, [R4,#0x340]                                        ; +0x84, 0x39e8f4\nLDR             R1, =(flt_AC5D38 - 0x39E902)                           ; +0x88, 0x39e8f8\nLDR.W           R0, [R3,#0x9F0]                                        ; +0x8a, 0x39e8fa\nADD             R1, PC; flt_AC5D38                                     ; +0x8e, 0x39e8fe\nLDR             R3, [R0]                                               ; +0x90, 0x39e900\nLDR             R3, [R3,#0x5C]                                         ; +0x92, 0x39e902\nBLX             R3                                                     ; +0x94, 0x39e904\nLDR.W           R0, [R4,#0x21C]                                        ; +0x96, 0x39e906\nMOV             R1, R9                                                 ; +0x9a, 0x39e90a\nLDR             R3, [R0]                                               ; +0x9c, 0x39e90c\nLDR             R3, [R3,#0x5C]                                         ; +0x9e, 0x39e90e\nBLX             R3                                                     ; +0xa0, 0x39e910\nLDR.W           R0, [R4,#0x21C]                                        ; +0xa2, 0x39e912\nMOV             R1, R6                                                 ; +0xa6, 0x39e916\nLDR             R3, [R0]                                               ; +0xa8, 0x39e918\nLDR             R3, [R3,#0x40]                                         ; +0xaa, 0x39e91a\nBLX             R3                                                     ; +0xac, 0x39e91c\nLDR.W           R0, [R4,#0x21C]                                        ; +0xae, 0x39e91e\nLDR             R1, [SP,#0x4C+arg_0]                                   ; +0xb2, 0x39e922\nLDR             R3, [R0]                                               ; +0xb4, 0x39e924\nLDR             R3, [R3,#0x48]                                         ; +0xb6, 0x39e926\nBLX             R3                                                     ; +0xb8, 0x39e928\nLDR.W           R0, [R4,#0x21C]                                        ; +0xba, 0x39e92a\nLDR             R1, [SP,#0x4C+arg_4]                                   ; +0xbe, 0x39e92e\nLDR             R3, [R0]                                               ; +0xc0, 0x39e930\nLDR.W           R3, [R3,#0xB4]                                         ; +0xc2, 0x39e932\nBLX             R3                                                     ; +0xc6, 0x39e936\nLDR.W           R0, [R4,#0x21C]                                        ; +0xc8, 0x39e938\nLDR             R1, [SP,#0x4C+arg_8]                                   ; +0xcc, 0x39e93c\nLDR             R3, [R0]                                               ; +0xce, 0x39e93e\nLDR.W           R3, [R3,#0xBC]                                         ; +0xd0, 0x39e940\nBLX             R3                                                     ; +0xd4, 0x39e944\nLDR.W           R0, [R4,#0x21C]                                        ; +0xd6, 0x39e946\nLDR             R1, [SP,#0x4C+arg_C]                                   ; +0xda, 0x39e94a\nLDR             R3, [R0]                                               ; +0xdc, 0x39e94c\nLDR             R3, [R3,#0x7C]                                         ; +0xde, 0x39e94e\nBLX             R3                                                     ; +0xe0, 0x39e950\nLDR.W           R0, [R4,#0x21C]                                        ; +0xe2, 0x39e952\nLDR             R1, [SP,#0x4C+arg_10]                                  ; +0xe6, 0x39e956\nLDR             R3, [R0]                                               ; +0xe8, 0x39e958\nLDR.W           R3, [R3,#0x84]                                         ; +0xea, 0x39e95a\nBLX             R3                                                     ; +0xee, 0x39e95e\nLDR.W           R1, [R4,#0x21C]                                        ; +0xf0, 0x39e960\nMOV             R0, R5                                                 ; +0xf4, 0x39e964\nLDR             R3, [R1]                                               ; +0xf6, 0x39e966\nLDR.W           R3, [R3,#0x194]                                        ; +0xf8, 0x39e968\nBLX             R3                                                     ; +0xfc, 0x39e96c\nADD.W           R3, R4, #0x158                                         ; +0xfe, 0x39e96e\nSTR             R3, [SP,#0x4C+var_44]                                  ; +0x102, 0x39e972\nMOV             R0, R10; this                                          ; +0x104, 0x39e974\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x106, 0x39e976\nCMP             R8, R0                                                 ; +0x10a, 0x39e97a\nBCS.W           loc_39EAE4                                             ; +0x10c, 0x39e97c\nMOV             R1, R8; unsigned int                                   ; +0x110, 0x39e980\nMOV             R0, R10; this                                          ; +0x112, 0x39e982\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x114, 0x39e984\nADD             R6, SP, #0x4C+var_4                                    ; +0x118, 0x39e988\nADD.W           R8, R8, #1                                             ; +0x11a, 0x39e98a\nLDR.W           R3, [R0,#0x304]                                        ; +0x11e, 0x39e98e\nMOV             R5, R0                                                 ; +0x122, 0x39e992\nLDR             R0, [SP,#0x4C+var_44]                                  ; +0x124, 0x39e994\nSTR.W           R3, [R6,#-0x1C]!                                       ; +0x126, 0x39e996\nMOV             R1, R6                                                 ; +0x12a, 0x39e99a\nBL              _ZNSt8__detail9_Map_baseIiSt4pairIKi21GameObjectEditorStateESaIS4_ENS_10_Select1stESt8equal_toIiESt4hashIiENS_18_Mod_range_hashingENS_20_Default_ranged_hashENS_20_Prime_rehash_policyENS_17_Hashtable_traitsILb0ELb0ELb1EEELb1EEixEOi; std::__detail::_Map_base<int,std::pair<int const,GameObjectEditorState>,std::allocator<std::pair<int const,GameObjectEditorState>>,std::__detail::_Select1st,std::equal_to<int>,std::hash<int>,std::__detail::_Mod_range_hashing,std::__detail::_Default_ranged_hash,std::__detail::_Prime_rehash_policy,std::__detail::_Hashtable_traits<false,false,true>,true>::operator[](int &&) ; +0x12c, 0x39e99c\nLDR.W           R3, [R4,#0x220]                                        ; +0x130, 0x39e9a0\nLDR             R2, [R3]                                               ; +0x134, 0x39e9a4\nSTR             R3, [SP,#0x4C+var_40]                                  ; +0x136, 0x39e9a6\nLDR             R3, [R2,#0x5C]                                         ; +0x138, 0x39e9a8\nMOV             R2, R9                                                 ; +0x13a, 0x39e9aa\nSTR             R3, [SP,#0x4C+var_4C]                                  ; +0x13c, 0x39e9ac\nMOV             R7, R0                                                 ; +0x13e, 0x39e9ae\nMOV             R0, R6                                                 ; +0x140, 0x39e9b0\nMOV             R1, R7                                                 ; +0x142, 0x39e9b2\nBL              _ZNK7cocos2d7CCPointmiERKS0_; cocos2d::CCPoint::operator-(cocos2d::CCPoint const&) ; +0x144, 0x39e9b4\nLDR             R3, [SP,#0x4C+var_40]                                  ; +0x148, 0x39e9b8\nMOV             R1, R6                                                 ; +0x14a, 0x39e9ba\nMOV             R0, R3                                                 ; +0x14c, 0x39e9bc\nLDR             R3, [SP,#0x4C+var_4C]                                  ; +0x14e, 0x39e9be\nBLX             R3                                                     ; +0x150, 0x39e9c0\nADDW            R2, R5, #0x464                                         ; +0x152, 0x39e9c2\nVLDR            S14, [R7,#8]                                           ; +0x156, 0x39e9c6\nLDR.W           R0, [R4,#0x220]                                        ; +0x15a, 0x39e9ca\nVLDR            S15, [R2]                                              ; +0x15e, 0x39e9ce\nLDR             R3, [R0]                                               ; +0x162, 0x39e9d2\nVMUL.F32        S15, S14, S15                                          ; +0x164, 0x39e9d4\nLDR             R3, [R3,#0x40]                                         ; +0x168, 0x39e9d8\nVMOV            R1, S15                                                ; +0x16a, 0x39e9da\nBLX             R3                                                     ; +0x16e, 0x39e9de\nADD.W           R2, R5, #0x468                                         ; +0x170, 0x39e9e0\nVLDR            S14, [R7,#0xC]                                         ; +0x174, 0x39e9e4\nLDR.W           R0, [R4,#0x220]                                        ; +0x178, 0x39e9e8\nVLDR            S15, [R2]                                              ; +0x17c, 0x39e9ec\nLDR             R3, [R0]                                               ; +0x180, 0x39e9f0\nVMUL.F32        S15, S14, S15                                          ; +0x182, 0x39e9f2\nLDR             R3, [R3,#0x48]                                         ; +0x186, 0x39e9f6\nVMOV            R1, S15                                                ; +0x188, 0x39e9f8\nBLX             R3                                                     ; +0x18c, 0x39e9fc\nLDR.W           R0, [R4,#0x220]                                        ; +0x18e, 0x39e9fe\nLDR             R1, [R7,#0x10]                                         ; +0x192, 0x39ea02\nLDR             R3, [R0]                                               ; +0x194, 0x39ea04\nLDR.W           R3, [R3,#0xB4]                                         ; +0x196, 0x39ea06\nBLX             R3                                                     ; +0x19a, 0x39ea0a\nLDR.W           R0, [R4,#0x220]                                        ; +0x19c, 0x39ea0c\nLDR             R1, [R7,#0x14]                                         ; +0x1a0, 0x39ea10\nLDR             R3, [R0]                                               ; +0x1a2, 0x39ea12\nLDR.W           R3, [R3,#0xBC]                                         ; +0x1a4, 0x39ea14\nBLX             R3                                                     ; +0x1a8, 0x39ea18\nLDR.W           R1, [R4,#0x220]                                        ; +0x1aa, 0x39ea1a\nMOV             R0, R6                                                 ; +0x1ae, 0x39ea1e\nLDR             R3, [R1]                                               ; +0x1b0, 0x39ea20\nLDR.W           R3, [R3,#0x194]                                        ; +0x1b2, 0x39ea22\nBLX             R3                                                     ; +0x1b6, 0x39ea26\nVLDR            S17, [SP,#0x4C+var_1C]                                 ; +0x1b8, 0x39ea28\nVLDR            S16, [SP,#0x4C+var_20]                                 ; +0x1bc, 0x39ea2c\nVMUL.F32        S15, S17, S17                                          ; +0x1c0, 0x39ea30\nVMLA.F32        S15, S16, S16                                          ; +0x1c4, 0x39ea34\nVMOV            R0, S15; x                                             ; +0x1c8, 0x39ea38\nBLX             sqrtf                                                  ; +0x1cc, 0x39ea3c\nVLDR            S19, [SP,#0x4C+var_14]                                 ; +0x1d0, 0x39ea40\nVLDR            S18, [SP,#0x4C+var_18]                                 ; +0x1d4, 0x39ea44\nVMUL.F32        S15, S19, S19                                          ; +0x1d8, 0x39ea48\nVMLA.F32        S15, S18, S18                                          ; +0x1dc, 0x39ea4c\nMOV             R7, R0                                                 ; +0x1e0, 0x39ea50\nVMOV            R0, S15; x                                             ; +0x1e2, 0x39ea52\nBLX             sqrtf                                                  ; +0x1e6, 0x39ea56\nVMOV            R1, S18; x                                             ; +0x1ea, 0x39ea5a\nMOV             R6, R0                                                 ; +0x1ee, 0x39ea5e\nVMOV            R0, S19; y                                             ; +0x1f0, 0x39ea60\nBLX             atan2f                                                 ; +0x1f4, 0x39ea64\nVMOV            R1, S16; x                                             ; +0x1f8, 0x39ea68\nVMOV            S18, R0                                                ; +0x1fc, 0x39ea6c\nVMOV            R0, S17; y                                             ; +0x200, 0x39ea70\nBLX             atan2f                                                 ; +0x204, 0x39ea74\nMOV             R1, R7; float                                          ; +0x208, 0x39ea78\nADD             R7, SP, #0x4C+var_30                                   ; +0x20a, 0x39ea7a\nVMOV            S16, R0                                                ; +0x20c, 0x39ea7c\nMOV             R0, R5; this                                           ; +0x210, 0x39ea80\nBL              _ZN10GameObject18updateCustomScaleXEf; GameObject::updateCustomScaleX(float) ; +0x212, 0x39ea82\nMOV             R1, R6; float                                          ; +0x216, 0x39ea86\nMOV             R0, R5; this                                           ; +0x218, 0x39ea88\nADD             R6, SP, #0x4C+var_28                                   ; +0x21a, 0x39ea8a\nBL              _ZN10GameObject18updateCustomScaleYEf; GameObject::updateCustomScaleY(float) ; +0x21c, 0x39ea8c\nVMOV.F32        S15, S21                                               ; +0x220, 0x39ea90\nLDR             R3, [R5]                                               ; +0x224, 0x39ea94\nMOV             R0, R5                                                 ; +0x226, 0x39ea96\nVNMLS.F32       S15, S18, S20                                          ; +0x228, 0x39ea98\nLDR.W           R3, [R3,#0xB4]                                         ; +0x22c, 0x39ea9c\nVNEG.F32        S15, S15                                               ; +0x230, 0x39eaa0\nVMOV            R1, S15                                                ; +0x234, 0x39eaa4\nBLX             R3                                                     ; +0x238, 0x39eaa8\nVNMUL.F32       S15, S20, S16                                          ; +0x23a, 0x39eaaa\nLDR             R3, [R5]                                               ; +0x23e, 0x39eaae\nMOV             R0, R5                                                 ; +0x240, 0x39eab0\nLDR.W           R3, [R3,#0xBC]                                         ; +0x242, 0x39eab2\nVMOV            R1, S15                                                ; +0x246, 0x39eab6\nBLX             R3                                                     ; +0x24a, 0x39eaba\nLDR             R1, [SP,#0x4C+var_10]; float                           ; +0x24c, 0x39eabc\nLDR             R2, [SP,#0x4C+var_C]; float                            ; +0x24e, 0x39eabe\nMOV             R0, R7; this                                           ; +0x250, 0x39eac0\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x252, 0x39eac2\nLDR             R3, [R5]                                               ; +0x256, 0x39eac6\nMOV             R0, R5                                                 ; +0x258, 0x39eac8\nLDR             R3, [R3,#0x60]                                         ; +0x25a, 0x39eaca\nBLX             R3                                                     ; +0x25c, 0x39eacc\nMOV             R1, R7                                                 ; +0x25e, 0x39eace\nMOV             R2, R0                                                 ; +0x260, 0x39ead0\nMOV             R0, R6                                                 ; +0x262, 0x39ead2\nBL              _ZNK7cocos2d7CCPointmiERKS0_; cocos2d::CCPoint::operator-(cocos2d::CCPoint const&) ; +0x264, 0x39ead4\nMOV             R0, R4                                                 ; +0x268, 0x39ead8\nMOV             R1, R5                                                 ; +0x26a, 0x39eada\nMOV             R2, R6                                                 ; +0x26c, 0x39eadc\nBL              _ZN8EditorUI10moveObjectEP10GameObjectN7cocos2d7CCPointE; EditorUI::moveObject(GameObject *,cocos2d::CCPoint) ; +0x26e, 0x39eade\nB               loc_39E974                                             ; +0x272, 0x39eae2\nLDR.W           R3, [R4,#0x340]                                        ; +0x274, 0x39eae4\nMOV             R1, R11                                                ; +0x278, 0x39eae8\nLDR.W           R0, [R3,#0x9F0]                                        ; +0x27a, 0x39eaea\nLDR             R3, [R0]                                               ; +0x27e, 0x39eaee\nLDR             R3, [R3,#0x50]                                         ; +0x280, 0x39eaf0\nBLX             R3                                                     ; +0x282, 0x39eaf2\nLDR.W           R3, [R4,#0x340]                                        ; +0x284, 0x39eaf4\nADD             R1, SP, #0x4C+var_38                                   ; +0x288, 0x39eaf8\nLDR.W           R0, [R3,#0x9F0]                                        ; +0x28a, 0x39eafa\nLDR             R3, [R0]                                               ; +0x28e, 0x39eafe\nLDR             R3, [R3,#0x5C]                                         ; +0x290, 0x39eb00\nBLX             R3                                                     ; +0x292, 0x39eb02\nLDR             R3, [SP,#0x4C+var_48]                                  ; +0x294, 0x39eb04\nLDR             R2, [SP,#0x4C+var_8]                                   ; +0x296, 0x39eb06\nLDR             R3, [R3]                                               ; +0x298, 0x39eb08\nCMP             R2, R3                                                 ; +0x29a, 0x39eb0a\nBEQ             loc_39EB12                                             ; +0x29c, 0x39eb0c\nBLX             __stack_chk_fail                                       ; +0x29e, 0x39eb0e\nADD             SP, SP, #0x4C ; 'L'                                    ; +0x2a2, 0x39eb12\nVPOP            {D8-D10}                                               ; +0x2a4, 0x39eb14\nPOP.W           {R4-R11,PC}                                            ; +0x2a8, 0x39eb18", "xrefs": ["EditorUI::transformObjectsActive @ 0x39eb90", "EditorUI::transformObjectsReset @ 0x39ecde", "EditorUI::updateTransformControl @ 0x3a0640"], "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"}