{"type": "func", "start": 4299097860, "end": 4299098004, "name": "GJTransformControl::saveToState", "pseudocode": "// \n// GJTransformControl::saveToState from 0x1003f0704 to 0x1003f0794 (144 bytes)\n// \n// 1 xrefs:\n// > EditorUI::createUndoObject @ 0x1003ee044\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 __fastcall GJTransformControl::saveToState(GJTransformControl *a1, GJTransformState *a2)\n{\n  double *v4; // x0\n  __int64 v5; // x0\n  double *v6; // x0\n  __int64 v7; // x0\n  double *v8; // x1\n\n  *(_QWORD *)&a2->m_transformRotationX = *(_QWORD *)&a1->m_rotationX;\n  *(_QWORD *)&a2->m_transformScaleX = *(_QWORD *)&a1->m_scaleX;\n  v4 = (double *)((__int64 (__fastcall *)(GJTransformControl *))a1->getPosition)(a1);\n  sub_1000229D0(&a2->m_transformPosition, v4);\n  v5 = sub_10024A388((__int64)a1->m_warpSprites, 9u);\n  v6 = (double *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 192LL))(v5);\n  sub_1000229D0(&a2->m_transformSkewX, v6);\n  v7 = sub_10024A388((__int64)a1->m_warpSprites, 0xAu);\n  v8 = (double *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v7 + 192LL))(v7);\n  sub_1000229D0(&a2->m_transformSkewY, v8);\n}", "assembly": "; \n; GJTransformControl::saveToState from 0x1003f0704 to 0x1003f0794 (144 bytes)\n; \n; 1 xrefs:\n; > EditorUI::createUndoObject @ 0x1003ee044\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             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1003f0704\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1003f0708\nADD             X29, SP, #0x10                                         ; +0x8, 0x1003f070c\nMOV             X19, X1                                                ; +0xc, 0x1003f0710\nMOV             X20, X0                                                ; +0x10, 0x1003f0714\nADD             X8, X0, #0x21C                                         ; +0x14, 0x1003f0718\nLDR             D0, [X8]                                               ; +0x18, 0x1003f071c\nSTR             D0, [X1,#0x20]                                         ; +0x1c, 0x1003f0720\nLDR             D0, [X0,#0x210]                                        ; +0x20, 0x1003f0724\nSTR             D0, [X1,#0x40]                                         ; +0x24, 0x1003f0728\nLDR             X8, [X0]                                               ; +0x28, 0x1003f072c\nLDR             X8, [X8,#0xC0]                                         ; +0x2c, 0x1003f0730\nBLR             X8                                                     ; +0x30, 0x1003f0734\nMOV             X1, X0                                                 ; +0x34, 0x1003f0738\nADD             X0, X19, #0x28 ; '('                                   ; +0x38, 0x1003f073c\nBL              sub_1000229D0                                          ; +0x3c, 0x1003f0740\nLDR             X0, [X20,#0x1F8]                                       ; +0x40, 0x1003f0744\nMOV             W1, #9                                                 ; +0x44, 0x1003f0748\nBL              sub_10024A388                                          ; +0x48, 0x1003f074c\nLDR             X8, [X0]                                               ; +0x4c, 0x1003f0750\nLDR             X8, [X8,#0xC0]                                         ; +0x50, 0x1003f0754\nBLR             X8                                                     ; +0x54, 0x1003f0758\nMOV             X1, X0                                                 ; +0x58, 0x1003f075c\nADD             X0, X19, #0x30 ; '0'                                   ; +0x5c, 0x1003f0760\nBL              sub_1000229D0                                          ; +0x60, 0x1003f0764\nLDR             X0, [X20,#0x1F8]                                       ; +0x64, 0x1003f0768\nMOV             W1, #0xA                                               ; +0x68, 0x1003f076c\nBL              sub_10024A388                                          ; +0x6c, 0x1003f0770\nLDR             X8, [X0]                                               ; +0x70, 0x1003f0774\nLDR             X8, [X8,#0xC0]                                         ; +0x74, 0x1003f0778\nBLR             X8                                                     ; +0x78, 0x1003f077c\nMOV             X1, X0                                                 ; +0x7c, 0x1003f0780\nADD             X0, X19, #0x38 ; '8'                                   ; +0x80, 0x1003f0784\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x84, 0x1003f0788\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x88, 0x1003f078c\nB               sub_1000229D0                                          ; +0x8c, 0x1003f0790", "xrefs": ["EditorUI::createUndoObject @ 0x1003ee044"], "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"}