{"type": "func", "start": 12599284, "end": 12599464, "name": "EditorUI::transformObjectsActive", "pseudocode": "// \n// EditorUI::transformObjectsActive from 0xc03ff4 to 0xc040a8 (180 bytes)\n// \n// 12 xrefs:\n// > GJTransformControl::updateButtons @ 0xbd1390\n// > EditorUI::transformScaleXChanged @ 0xc040ac\n// > EditorUI::transformScaleYChanged @ 0xc040bc\n// > EditorUI::transformScaleXYChanged @ 0xc040d0\n// > EditorUI::transformSkewXChanged @ 0xc040e0\n// > EditorUI::transformSkewYChanged @ 0xc040f0\n// > EditorUI::transformRotationXChanged @ 0xc04100\n// > EditorUI::transformRotationYChanged @ 0xc04110\n// > EditorUI::transformRotationChanged @ 0xc04124\n// > EditorUI::transformResetRotation @ 0xc04150\n// > EditorUI::transformRestoreRotation @ 0xc04174\n// > <???> @ 0xdd4e8\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 13:03:50 +0000\n// \n\n__int64 __fastcall EditorUI::transformObjectsActive(EditorUI *this)\n{\n  cocos2d::CCArray *v2; // x0\n  cocos2d::CCObject *v3; // x1\n  cocos2d::CCArray *v4; // x21\n  cocos2d::CCArray *v6; // x0\n  _BYTE v7[8]; // [xsp+40h] [xbp+40h] BYREF\n\n  v2 = *((cocos2d::CCArray **)this + 112);\n  v3 = (cocos2d::CCObject *)_stack_chk_guard;\n  if ( v2 && (unsigned int)cocos2d::CCArray::count(v2) )\n  {\n    v4 = *((cocos2d::CCArray **)this + 112);\n  }\n  else\n  {\n    v6 = *((cocos2d::CCArray **)this + 187);\n    if ( !v6 )\n      return _stack_chk_guard;\n    v4 = (cocos2d::CCArray *)cocos2d::CCArray::createWithObject(v6, v3);\n  }\n  if ( v4 )\n  {\n    cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v7, (EditorUI *)((char *)this + 768));\n    EditorUI::transformObjects(\n      (__int64)this,\n      v4,\n      (cocos2d::CCPoint *)v7,\n      *((float *)this + 126),\n      *((float *)this + 127),\n      *((float *)this + 128),\n      *((float *)this + 129),\n      *((float *)this + 130),\n      *((float *)this + 131));\n  }\n  return _stack_chk_guard;\n}", "assembly": "; \n; EditorUI::transformObjectsActive from 0xc03ff4 to 0xc040a8 (180 bytes)\n; \n; 12 xrefs:\n; > GJTransformControl::updateButtons @ 0xbd1390\n; > EditorUI::transformScaleXChanged @ 0xc040ac\n; > EditorUI::transformScaleYChanged @ 0xc040bc\n; > EditorUI::transformScaleXYChanged @ 0xc040d0\n; > EditorUI::transformSkewXChanged @ 0xc040e0\n; > EditorUI::transformSkewYChanged @ 0xc040f0\n; > EditorUI::transformRotationXChanged @ 0xc04100\n; > EditorUI::transformRotationYChanged @ 0xc04110\n; > EditorUI::transformRotationChanged @ 0xc04124\n; > EditorUI::transformResetRotation @ 0xc04150\n; > EditorUI::transformRestoreRotation @ 0xc04174\n; > <???> @ 0xdd4e8\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 13:03:50 +0000\n; \nSTP             X29, X30, [SP,#var_50]!                                ; +0x0, 0xc03ff4\nMOV             X29, SP                                                ; +0x4, 0xc03ff8\nSTP             X19, X20, [SP,#0x50+var_40]                            ; +0x8, 0xc03ffc\nADRP            X19, #__stack_chk_guard_ptr@PAGE                       ; +0xc, 0xc04000\nSTR             X21, [SP,#0x50+var_30]                                 ; +0x10, 0xc04004\nMOV             X20, X0                                                ; +0x14, 0xc04008\nLDR             X0, [X0,#0x380]; this                                  ; +0x18, 0xc0400c\nLDR             X1, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x1c, 0xc04010\nLDR             X1, [X1]; cocos2d::CCObject *                          ; +0x20, 0xc04014\nSTR             X1, [X29,#0x50+var_8]                                  ; +0x24, 0xc04018\nCBZ             X0, loc_C04090                                         ; +0x28, 0xc0401c\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x2c, 0xc04020\nCBZ             W0, loc_C04090                                         ; +0x30, 0xc04024\nLDR             X21, [X20,#0x380]                                      ; +0x34, 0xc04028\nCBZ             X21, loc_C0406C                                        ; +0x38, 0xc0402c\nADD             X2, X29, #0x50+var_10                                  ; +0x3c, 0xc04030\nADD             X1, X20, #0x300; cocos2d::CCPoint *                    ; +0x40, 0xc04034\nMOV             X0, X2; this                                           ; +0x44, 0xc04038\nSTR             X2, [X29,#0x50+var_18]                                 ; +0x48, 0xc0403c\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x4c, 0xc04040\nLDR             S0, [X20,#0x1F8]                                       ; +0x50, 0xc04044\nLDR             X2, [X29,#0x50+var_18]                                 ; +0x54, 0xc04048\nLDR             S1, [X20,#0x1FC]                                       ; +0x58, 0xc0404c\nMOV             X0, X20                                                ; +0x5c, 0xc04050\nLDR             S2, [X20,#0x200]                                       ; +0x60, 0xc04054\nMOV             X1, X21                                                ; +0x64, 0xc04058\nLDR             S3, [X20,#0x204]                                       ; +0x68, 0xc0405c\nLDR             S4, [X20,#0x208]                                       ; +0x6c, 0xc04060\nLDR             S5, [X20,#0x20C]                                       ; +0x70, 0xc04064\nBL              _ZN8EditorUI16transformObjectsEPN7cocos2d7CCArrayENS0_7CCPointEffffff; EditorUI::transformObjects(cocos2d::CCArray *,cocos2d::CCPoint,float,float,float,float,float,float) ; +0x74, 0xc04068\nLDR             X19, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x78, 0xc0406c\nLDR             X1, [X29,#0x50+var_8]                                  ; +0x7c, 0xc04070\nLDR             X0, [X19]                                              ; +0x80, 0xc04074\nCMP             X1, X0                                                 ; +0x84, 0xc04078\nB.NE            loc_C040A4                                             ; +0x88, 0xc0407c\nLDP             X19, X20, [SP,#0x50+var_40]                            ; +0x8c, 0xc04080\nLDR             X21, [SP,#0x50+var_30]                                 ; +0x90, 0xc04084\nLDP             X29, X30, [SP+0x50+var_50],#0x50                       ; +0x94, 0xc04088\nRET                                                                    ; +0x98, 0xc0408c\nLDR             X0, [X20,#0x5D8]; this                                 ; +0x9c, 0xc04090\nCBZ             X0, loc_C0406C                                         ; +0xa0, 0xc04094\nBL              _ZN7cocos2d7CCArray16createWithObjectEPNS_8CCObjectE; cocos2d::CCArray::createWithObject(cocos2d::CCObject *) ; +0xa4, 0xc04098\nMOV             X21, X0                                                ; +0xa8, 0xc0409c\nB               loc_C0402C                                             ; +0xac, 0xc040a0\nBL              .__stack_chk_fail                                      ; +0xb0, 0xc040a4", "xrefs": ["GJTransformControl::updateButtons @ 0xbd1390", "EditorUI::transformScaleXChanged @ 0xc040ac", "EditorUI::transformScaleYChanged @ 0xc040bc", "EditorUI::transformScaleXYChanged @ 0xc040d0", "EditorUI::transformSkewXChanged @ 0xc040e0", "EditorUI::transformSkewYChanged @ 0xc040f0", "EditorUI::transformRotationXChanged @ 0xc04100", "EditorUI::transformRotationYChanged @ 0xc04110", "EditorUI::transformRotationChanged @ 0xc04124", "EditorUI::transformResetRotation @ 0xc04150", "EditorUI::transformRestoreRotation @ 0xc04174", "<???> @ 0xdd4e8"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}