{"type": "func", "start": 7046276, "end": 7046456, "name": "EditorUI::transformObjectsReset", "pseudocode": "// \n// EditorUI::transformObjectsReset from 0x6b8484 to 0x6b8538 (180 bytes)\n// \n// 2 xrefs:\n// > GJTransformControl::updateButtons @ 0x6b85a4\n// > <???> @ 0x62df0\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::transformObjectsReset(EditorUI *a1)\n{\n  cocos2d::CCArray *m_selectedObjects; // x0\n  cocos2d::CCObject *v3; // x1\n  cocos2d::CCArray *v4; // x21\n  float v5; // s6\n  float v6; // s7\n  GameObject *m_selectedObject; // x0\n  cocos2d::CCPoint v8; // [xsp+40h] [xbp+40h] BYREF\n  cocos2d::CCPoint v9; // 0:s0.4,4:s1.4\n\n  m_selectedObjects = a1->m_selectedObjects;\n  v3 = (cocos2d::CCObject *)_stack_chk_guard;\n  if ( m_selectedObjects && (unsigned int)cocos2d::CCArray::count(m_selectedObjects) )\n  {\n    v4 = a1->m_selectedObjects;\n  }\n  else\n  {\n    m_selectedObject = a1->m_selectedObject;\n    if ( !m_selectedObject )\n      return;\n    v4 = (cocos2d::CCArray *)cocos2d::CCArray::createWithObject((cocos2d::CCArray *)m_selectedObject, v3);\n  }\n  if ( v4 )\n  {\n    cocos2d::CCPoint::CCPoint(&v8, &a1->m_pivotPoint);\n    v9.x = 1.0;\n    v9.y = 1.0;\n    EditorUI::transformObjects(a1, v4, v9, 0.0, 0.0, a1->m_transformState.m_skewX, a1->m_transformState.m_skewY, v5, v6);\n  }\n}", "assembly": "; \n; EditorUI::transformObjectsReset from 0x6b8484 to 0x6b8538 (180 bytes)\n; \n; 2 xrefs:\n; > GJTransformControl::updateButtons @ 0x6b85a4\n; > <???> @ 0x62df0\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\nSTP             X29, X30, [SP,#var_50]!                                ; +0x0, 0x6b8484\nMOV             X29, SP                                                ; +0x4, 0x6b8488\nSTP             X19, X20, [SP,#0x50+var_40]                            ; +0x8, 0x6b848c\nADRP            X19, #__stack_chk_guard_ptr@PAGE                       ; +0xc, 0x6b8490\nMOV             X20, X0                                                ; +0x10, 0x6b8494\nLDR             X0, [X0,#0x338]; this                                  ; +0x14, 0x6b8498\nSTR             X21, [SP,#0x50+var_30]                                 ; +0x18, 0x6b849c\nLDR             X1, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x1c, 0x6b84a0\nLDR             X1, [X1]; cocos2d::CCObject *                          ; +0x20, 0x6b84a4\nSTR             X1, [X29,#0x50+var_8]                                  ; +0x24, 0x6b84a8\nCBZ             X0, loc_6B8520                                         ; +0x28, 0x6b84ac\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x2c, 0x6b84b0\nCBZ             W0, loc_6B8520                                         ; +0x30, 0x6b84b4\nLDR             X21, [X20,#0x338]                                      ; +0x34, 0x6b84b8\nCBZ             X21, loc_6B84FC                                        ; +0x38, 0x6b84bc\nADD             X2, X29, #0x50+var_10                                  ; +0x3c, 0x6b84c0\nADD             X1, X20, #0x2B8; cocos2d::CCPoint *                    ; +0x40, 0x6b84c4\nMOV             X0, X2; this                                           ; +0x44, 0x6b84c8\nSTR             X2, [X29,#0x50+var_18]                                 ; +0x48, 0x6b84cc\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x4c, 0x6b84d0\nFMOV            S2, WZR                                                ; +0x50, 0x6b84d4\nLDR             X2, [X29,#0x50+var_18]                                 ; +0x54, 0x6b84d8\nFMOV            S0, #1.0                                               ; +0x58, 0x6b84dc\nMOV             X0, X20                                                ; +0x5c, 0x6b84e0\nLDR             S4, [X20,#0x218]                                       ; +0x60, 0x6b84e4\nMOV             X1, X21                                                ; +0x64, 0x6b84e8\nFMOV            S1, S0                                                 ; +0x68, 0x6b84ec\nFMOV            S3, S2                                                 ; +0x6c, 0x6b84f0\nLDR             S5, [X20,#0x21C]                                       ; +0x70, 0x6b84f4\nBL              _ZN8EditorUI16transformObjectsEPN7cocos2d7CCArrayENS0_7CCPointEffffff; EditorUI::transformObjects(cocos2d::CCArray *,cocos2d::CCPoint,float,float,float,float,float,float) ; +0x74, 0x6b84f8\nLDR             X19, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x78, 0x6b84fc\nLDR             X1, [X29,#0x50+var_8]                                  ; +0x7c, 0x6b8500\nLDR             X0, [X19]                                              ; +0x80, 0x6b8504\nCMP             X1, X0                                                 ; +0x84, 0x6b8508\nB.NE            loc_6B8534                                             ; +0x88, 0x6b850c\nLDP             X19, X20, [SP,#0x50+var_40]                            ; +0x8c, 0x6b8510\nLDR             X21, [SP,#0x50+var_30]                                 ; +0x90, 0x6b8514\nLDP             X29, X30, [SP+0x50+var_50],#0x50                       ; +0x94, 0x6b8518\nRET                                                                    ; +0x98, 0x6b851c\nLDR             X0, [X20,#0x530]; this                                 ; +0x9c, 0x6b8520\nCBZ             X0, loc_6B84FC                                         ; +0xa0, 0x6b8524\nBL              _ZN7cocos2d7CCArray16createWithObjectEPNS_8CCObjectE; cocos2d::CCArray::createWithObject(cocos2d::CCObject *) ; +0xa4, 0x6b8528\nMOV             X21, X0                                                ; +0xa8, 0x6b852c\nB               loc_6B84BC                                             ; +0xac, 0x6b8530\nBL              .__stack_chk_fail                                      ; +0xb0, 0x6b8534", "xrefs": ["GJTransformControl::updateButtons @ 0x6b85a4", "<???> @ 0x62df0"], "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"}