{"type": "func", "start": 12599680, "end": 12599860, "name": "EditorUI::transformObjectsReset", "pseudocode": "// \n// EditorUI::transformObjectsReset from 0xc04180 to 0xc04234 (180 bytes)\n// \n// 2 xrefs:\n// > GJTransformControl::updateButtons @ 0xbd0a40\n// > <???> @ 0x86bf0\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::transformObjectsReset(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      1.0,\n      1.0,\n      0.0,\n      0.0,\n      *((float *)this + 130),\n      *((float *)this + 131));\n  }\n  return _stack_chk_guard;\n}", "assembly": "; \n; EditorUI::transformObjectsReset from 0xc04180 to 0xc04234 (180 bytes)\n; \n; 2 xrefs:\n; > GJTransformControl::updateButtons @ 0xbd0a40\n; > <???> @ 0x86bf0\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, 0xc04180\nMOV             X29, SP                                                ; +0x4, 0xc04184\nSTP             X19, X20, [SP,#0x50+var_40]                            ; +0x8, 0xc04188\nADRP            X19, #__stack_chk_guard_ptr@PAGE                       ; +0xc, 0xc0418c\nSTR             X21, [SP,#0x50+var_30]                                 ; +0x10, 0xc04190\nMOV             X20, X0                                                ; +0x14, 0xc04194\nLDR             X0, [X0,#0x380]; this                                  ; +0x18, 0xc04198\nLDR             X1, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x1c, 0xc0419c\nLDR             X1, [X1]; cocos2d::CCObject *                          ; +0x20, 0xc041a0\nSTR             X1, [X29,#0x50+var_8]                                  ; +0x24, 0xc041a4\nCBZ             X0, loc_C0421C                                         ; +0x28, 0xc041a8\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x2c, 0xc041ac\nCBZ             W0, loc_C0421C                                         ; +0x30, 0xc041b0\nLDR             X21, [X20,#0x380]                                      ; +0x34, 0xc041b4\nCBZ             X21, loc_C041F8                                        ; +0x38, 0xc041b8\nADD             X2, X29, #0x50+var_10                                  ; +0x3c, 0xc041bc\nADD             X1, X20, #0x300; cocos2d::CCPoint *                    ; +0x40, 0xc041c0\nMOV             X0, X2; this                                           ; +0x44, 0xc041c4\nSTR             X2, [X29,#0x50+var_18]                                 ; +0x48, 0xc041c8\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x4c, 0xc041cc\nFMOV            S2, WZR                                                ; +0x50, 0xc041d0\nLDR             X2, [X29,#0x50+var_18]                                 ; +0x54, 0xc041d4\nFMOV            S0, #1.0                                               ; +0x58, 0xc041d8\nMOV             X0, X20                                                ; +0x5c, 0xc041dc\nLDR             S4, [X20,#0x208]                                       ; +0x60, 0xc041e0\nMOV             X1, X21                                                ; +0x64, 0xc041e4\nFMOV            S1, S0                                                 ; +0x68, 0xc041e8\nFMOV            S3, S2                                                 ; +0x6c, 0xc041ec\nLDR             S5, [X20,#0x20C]                                       ; +0x70, 0xc041f0\nBL              _ZN8EditorUI16transformObjectsEPN7cocos2d7CCArrayENS0_7CCPointEffffff; EditorUI::transformObjects(cocos2d::CCArray *,cocos2d::CCPoint,float,float,float,float,float,float) ; +0x74, 0xc041f4\nLDR             X19, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x78, 0xc041f8\nLDR             X1, [X29,#0x50+var_8]                                  ; +0x7c, 0xc041fc\nLDR             X0, [X19]                                              ; +0x80, 0xc04200\nCMP             X1, X0                                                 ; +0x84, 0xc04204\nB.NE            loc_C04230                                             ; +0x88, 0xc04208\nLDP             X19, X20, [SP,#0x50+var_40]                            ; +0x8c, 0xc0420c\nLDR             X21, [SP,#0x50+var_30]                                 ; +0x90, 0xc04210\nLDP             X29, X30, [SP+0x50+var_50],#0x50                       ; +0x94, 0xc04214\nRET                                                                    ; +0x98, 0xc04218\nLDR             X0, [X20,#0x5D8]; this                                 ; +0x9c, 0xc0421c\nCBZ             X0, loc_C041F8                                         ; +0xa0, 0xc04220\nBL              _ZN7cocos2d7CCArray16createWithObjectEPNS_8CCObjectE; cocos2d::CCArray::createWithObject(cocos2d::CCObject *) ; +0xa4, 0xc04224\nMOV             X21, X0                                                ; +0xa8, 0xc04228\nB               loc_C041B8                                             ; +0xac, 0xc0422c\nBL              .__stack_chk_fail                                      ; +0xb0, 0xc04230", "xrefs": ["GJTransformControl::updateButtons @ 0xbd0a40", "<???> @ 0x86bf0"], "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"}