{"type": "func", "start": 4299144112, "end": 4299144284, "name": "GJTransformControl::loadFromState", "pseudocode": "// \n// GJTransformControl::loadFromState from 0x1003fbbb0 to 0x1003fbc5c (172 bytes)\n// \n// 1 xrefs:\n// > LevelEditorLayer::handleAction @ 0x10035c168\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::loadFromState(GJTransformControl *a1, GJTransformState *a2)\n{\n  float m_transformRotationY; // s0\n  __int64 v5; // x0\n  __int64 v6; // x0\n  __int64 v7; // x0\n\n  m_transformRotationY = a2->m_transformRotationY;\n  a1->m_rotationX = a2->m_transformRotationX;\n  a1->m_rotationY = m_transformRotationY;\n  *(_QWORD *)&a1->m_scaleX = *(_QWORD *)&a2->m_transformScaleX;\n  ((void (__fastcall *)(cocos2d::CCNode *))a1->m_mainNode->setRotation)(a1->m_mainNode);\n  ((void (__fastcall *)(GJTransformControl *, cocos2d::CCPoint *))a1->setPosition)(a1, &a2->m_transformPosition);\n  v5 = sub_10024A388((__int64)a1->m_warpSprites, 0);\n  (*(void (__fastcall **)(__int64, int *))(*(_QWORD *)v5 + 184LL))(v5, &dword_10086E8B0);\n  v6 = sub_10024A388((__int64)a1->m_warpSprites, 9u);\n  (*(void (__fastcall **)(__int64, cocos2d::CCPoint *))(*(_QWORD *)v6 + 184LL))(v6, &a2->m_transformSkewX);\n  v7 = sub_10024A388((__int64)a1->m_warpSprites, 0xAu);\n  (*(void (__fastcall **)(__int64, cocos2d::CCPoint *))(*(_QWORD *)v7 + 184LL))(v7, &a2->m_transformSkewY);\n}", "assembly": "; \n; GJTransformControl::loadFromState from 0x1003fbbb0 to 0x1003fbc5c (172 bytes)\n; \n; 1 xrefs:\n; > LevelEditorLayer::handleAction @ 0x10035c168\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, 0x1003fbbb0\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1003fbbb4\nADD             X29, SP, #0x10                                         ; +0x8, 0x1003fbbb8\nMOV             X19, X1                                                ; +0xc, 0x1003fbbbc\nMOV             X20, X0                                                ; +0x10, 0x1003fbbc0\nLDP             S1, S0, [X1,#0x20]                                     ; +0x14, 0x1003fbbc4\nSTR             S1, [X0,#0x21C]                                        ; +0x18, 0x1003fbbc8\nSTR             S0, [X0,#0x220]                                        ; +0x1c, 0x1003fbbcc\nLDR             D1, [X1,#0x40]                                         ; +0x20, 0x1003fbbd0\nSTR             D1, [X0,#0x210]                                        ; +0x24, 0x1003fbbd4\nLDR             X0, [X0,#0x1A0]                                        ; +0x28, 0x1003fbbd8\nLDR             X8, [X0]                                               ; +0x2c, 0x1003fbbdc\nLDR             X8, [X8,#0x158]                                        ; +0x30, 0x1003fbbe0\nBLR             X8                                                     ; +0x34, 0x1003fbbe4\nLDR             X8, [X20]                                              ; +0x38, 0x1003fbbe8\nLDR             X8, [X8,#0xB8]                                         ; +0x3c, 0x1003fbbec\nADD             X1, X19, #0x28 ; '('                                   ; +0x40, 0x1003fbbf0\nMOV             X0, X20                                                ; +0x44, 0x1003fbbf4\nBLR             X8                                                     ; +0x48, 0x1003fbbf8\nLDR             X0, [X20,#0x1F8]                                       ; +0x4c, 0x1003fbbfc\nMOV             W1, #0                                                 ; +0x50, 0x1003fbc00\nBL              sub_10024A388                                          ; +0x54, 0x1003fbc04\nLDR             X8, [X0]                                               ; +0x58, 0x1003fbc08\nLDR             X8, [X8,#0xB8]                                         ; +0x5c, 0x1003fbc0c\nADRL            X1, dword_10086E8B0                                    ; +0x60, 0x1003fbc10\nBLR             X8                                                     ; +0x68, 0x1003fbc18\nLDR             X0, [X20,#0x1F8]                                       ; +0x6c, 0x1003fbc1c\nMOV             W1, #9                                                 ; +0x70, 0x1003fbc20\nBL              sub_10024A388                                          ; +0x74, 0x1003fbc24\nLDR             X8, [X0]                                               ; +0x78, 0x1003fbc28\nLDR             X8, [X8,#0xB8]                                         ; +0x7c, 0x1003fbc2c\nADD             X1, X19, #0x30 ; '0'                                   ; +0x80, 0x1003fbc30\nBLR             X8                                                     ; +0x84, 0x1003fbc34\nLDR             X0, [X20,#0x1F8]                                       ; +0x88, 0x1003fbc38\nMOV             W1, #0xA                                               ; +0x8c, 0x1003fbc3c\nBL              sub_10024A388                                          ; +0x90, 0x1003fbc40\nLDR             X8, [X0]                                               ; +0x94, 0x1003fbc44\nLDR             X2, [X8,#0xB8]                                         ; +0x98, 0x1003fbc48\nADD             X1, X19, #0x38 ; '8'                                   ; +0x9c, 0x1003fbc4c\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0xa0, 0x1003fbc50\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0xa4, 0x1003fbc54\nBR              X2                                                     ; +0xa8, 0x1003fbc58", "xrefs": ["LevelEditorLayer::handleAction @ 0x10035c168"], "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"}