{"type": "func", "start": 3795760, "end": 3795884, "name": "EditorUI::transformObjectsActive", "pseudocode": "// \n// EditorUI::transformObjectsActive from 0x39eb30 to 0x39ebac (124 bytes)\n// \n// 11 xrefs:\n// > EditorUI::transformScaleXChanged @ 0x39ebb4\n// > EditorUI::transformScaleYChanged @ 0x39ebc4\n// > EditorUI::transformScaleXYChanged @ 0x39ebd8\n// > EditorUI::transformSkewXChanged @ 0x39ebe8\n// > EditorUI::transformSkewYChanged @ 0x39ebf8\n// > EditorUI::transformRotationXChanged @ 0x39ec08\n// > EditorUI::transformRotationYChanged @ 0x39ec18\n// > EditorUI::transformRotationChanged @ 0x39ec2c\n// > EditorUI::transformResetRotation @ 0x39ec54\n// > EditorUI::transformRestoreRotation @ 0x39ec78\n// > GJTransformControl::updateButtons @ 0x39f238\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::transformObjectsActive(EditorUI *a1)\n{\n  cocos2d::CCObject *v1; // r1\n  cocos2d::CCArray *m_selectedObjects; // r0\n  GameObject *m_selectedObject; // r0\n  cocos2d::CCArray *v5; // r6\n  cocos2d::CCPoint v6; // r2\n  float v7; // [sp+14h] [bp-18h]\n  cocos2d::CCPoint v8; // [sp+1Ch] [bp-10h] BYREF\n\n  m_selectedObjects = a1->m_selectedObjects;\n  if ( m_selectedObjects && cocos2d::CCArray::count(m_selectedObjects) )\n  {\n    v5 = a1->m_selectedObjects;\n  }\n  else\n  {\n    m_selectedObject = a1->m_selectedObject;\n    if ( !m_selectedObject )\n      return;\n    v5 = (cocos2d::CCArray *)cocos2d::CCArray::createWithObject((cocos2d::CCArray *)m_selectedObject, v1);\n  }\n  if ( v5 )\n  {\n    cocos2d::CCPoint::CCPoint(&v8, &a1->m_pivotPoint);\n    LODWORD(v6.x) = &v8;\n    v6.y = a1->m_transformState.m_scaleX;\n    EditorUI::transformObjects(\n      a1,\n      v5,\n      v6,\n      a1->m_transformState.m_scaleY,\n      a1->m_transformState.m_angleX,\n      a1->m_transformState.m_angleY,\n      a1->m_transformState.m_skewX,\n      a1->m_transformState.m_skewY,\n      v7);\n  }\n}", "assembly": "; \n; EditorUI::transformObjectsActive from 0x39eb30 to 0x39ebac (124 bytes)\n; \n; 11 xrefs:\n; > EditorUI::transformScaleXChanged @ 0x39ebb4\n; > EditorUI::transformScaleYChanged @ 0x39ebc4\n; > EditorUI::transformScaleXYChanged @ 0x39ebd8\n; > EditorUI::transformSkewXChanged @ 0x39ebe8\n; > EditorUI::transformSkewYChanged @ 0x39ebf8\n; > EditorUI::transformRotationXChanged @ 0x39ec08\n; > EditorUI::transformRotationYChanged @ 0x39ec18\n; > EditorUI::transformRotationChanged @ 0x39ec2c\n; > EditorUI::transformResetRotation @ 0x39ec54\n; > EditorUI::transformRestoreRotation @ 0x39ec78\n; > GJTransformControl::updateButtons @ 0x39f238\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\nLDR             R3, =(__stack_chk_guard_ptr - 0x39EB38)                ; +0x0, 0x39eb30\nPUSH            {R4-R7,LR}                                             ; +0x2, 0x39eb32\nADD             R3, PC; __stack_chk_guard_ptr                          ; +0x4, 0x39eb34\nLDR             R3, [R3]; __stack_chk_guard                            ; +0x6, 0x39eb36\nMOV             R4, R0                                                 ; +0x8, 0x39eb38\nLDR.W           R0, [R0,#0x260]; this                                  ; +0xa, 0x39eb3a\nLDR             R2, [R3]                                               ; +0xe, 0x39eb3e\nSUB             SP, SP, #0x2C                                          ; +0x10, 0x39eb40\nMOV             R5, R3                                                 ; +0x12, 0x39eb42\nSTR             R2, [SP,#0x2C+var_8]                                   ; +0x14, 0x39eb44\nCBZ             R0, loc_39EB4E                                         ; +0x16, 0x39eb46\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x18, 0x39eb48\nCBNZ            R0, loc_39EB96                                         ; +0x1c, 0x39eb4c\nLDR.W           R0, [R4,#0x374]; this                                  ; +0x1e, 0x39eb4e\nCBZ             R0, loc_39EB9C                                         ; +0x22, 0x39eb52\nBL              _ZN7cocos2d7CCArray16createWithObjectEPNS_8CCObjectE; cocos2d::CCArray::createWithObject(cocos2d::CCObject *) ; +0x24, 0x39eb54\nMOV             R6, R0                                                 ; +0x28, 0x39eb58\nCBZ             R6, loc_39EB9C                                         ; +0x2a, 0x39eb5a\nADD             R7, SP, #0x2C+var_10                                   ; +0x2c, 0x39eb5c\nADD.W           R1, R4, #0x208; cocos2d::CCPoint *                     ; +0x2e, 0x39eb5e\nMOV             R0, R7; this                                           ; +0x32, 0x39eb62\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x34, 0x39eb64\nLDR.W           R3, [R4,#0x178]                                        ; +0x38, 0x39eb68\nMOV             R0, R4                                                 ; +0x3c, 0x39eb6c\nMOV             R1, R6                                                 ; +0x3e, 0x39eb6e\nMOV             R2, R7                                                 ; +0x40, 0x39eb70\nSTR             R3, [SP,#0x2C+var_2C]                                  ; +0x42, 0x39eb72\nLDR.W           R3, [R4,#0x17C]                                        ; +0x44, 0x39eb74\nSTR             R3, [SP,#0x2C+var_28]                                  ; +0x48, 0x39eb78\nLDR.W           R3, [R4,#0x180]                                        ; +0x4a, 0x39eb7a\nSTR             R3, [SP,#0x2C+var_24]                                  ; +0x4e, 0x39eb7e\nLDR.W           R3, [R4,#0x184]                                        ; +0x50, 0x39eb80\nSTR             R3, [SP,#0x2C+var_20]                                  ; +0x54, 0x39eb84\nLDR.W           R3, [R4,#0x188]                                        ; +0x56, 0x39eb86\nSTR             R3, [SP,#0x2C+var_1C]                                  ; +0x5a, 0x39eb8a\nLDR.W           R3, [R4,#0x174]                                        ; +0x5c, 0x39eb8c\nBL              _ZN8EditorUI16transformObjectsEPN7cocos2d7CCArrayENS0_7CCPointEffffff; EditorUI::transformObjects(cocos2d::CCArray *,cocos2d::CCPoint,float,float,float,float,float,float) ; +0x60, 0x39eb90\nB               loc_39EB9C                                             ; +0x64, 0x39eb94\nLDR.W           R6, [R4,#0x260]                                        ; +0x66, 0x39eb96\nB               loc_39EB5A                                             ; +0x6a, 0x39eb9a\nLDR             R2, [SP,#0x2C+var_8]                                   ; +0x6c, 0x39eb9c\nLDR             R3, [R5]                                               ; +0x6e, 0x39eb9e\nCMP             R2, R3                                                 ; +0x70, 0x39eba0\nBEQ             loc_39EBA8                                             ; +0x72, 0x39eba2\nBLX             __stack_chk_fail                                       ; +0x74, 0x39eba4\nADD             SP, SP, #0x2C ; ','                                    ; +0x78, 0x39eba8\nPOP             {R4-R7,PC}                                             ; +0x7a, 0x39ebaa", "xrefs": ["EditorUI::transformScaleXChanged @ 0x39ebb4", "EditorUI::transformScaleYChanged @ 0x39ebc4", "EditorUI::transformScaleXYChanged @ 0x39ebd8", "EditorUI::transformSkewXChanged @ 0x39ebe8", "EditorUI::transformSkewYChanged @ 0x39ebf8", "EditorUI::transformRotationXChanged @ 0x39ec08", "EditorUI::transformRotationYChanged @ 0x39ec18", "EditorUI::transformRotationChanged @ 0x39ec2c", "EditorUI::transformResetRotation @ 0x39ec54", "EditorUI::transformRestoreRotation @ 0x39ec78", "GJTransformControl::updateButtons @ 0x39f238"], "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"}