{"type": "func", "start": 4295308560, "end": 4295308744, "name": "GJTransformControl::loadFromState", "pseudocode": "// \n// GJTransformControl::loadFromState from 0x100053510 to 0x1000535c8 (184 bytes)\n// \n// 1 xrefs:\n// > LevelEditorLayer::handleAction @ 0x1000e3137\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  __m128 v2; // xmm0\n  __int64 v3; // rax\n  __int64 v4; // rax\n  __int64 v5; // rax\n\n  v2 = (__m128)*(unsigned __int64 *)&a2->m_transformRotationX;\n  *(_QWORD *)&a1->m_rotationX = v2.i64[0];\n  *(_QWORD *)&a1->m_scaleX = *(_QWORD *)&a2->m_transformScaleX;\n  ((void (__fastcall *)(cocos2d::CCNode *, double))a1->m_mainNode->setRotation)(\n    a1->m_mainNode,\n    *(double *)_mm_movehdup_ps(v2).i64);\n  ((void (__fastcall *)(GJTransformControl *, cocos2d::CCPoint *))a1->setPosition)(a1, &a2->m_transformPosition);\n  v3 = sub_1007200C0(a1->m_warpSprites, 0);\n  (*(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v3 + 184LL))(v3, &qword_10099EC08);\n  v4 = sub_1007200C0(a1->m_warpSprites, 9);\n  (*(void (__fastcall **)(__int64, cocos2d::CCPoint *))(*(_QWORD *)v4 + 184LL))(v4, &a2->m_transformSkewX);\n  v5 = sub_1007200C0(a1->m_warpSprites, 10);\n  (*(void (__fastcall **)(__int64, cocos2d::CCPoint *))(*(_QWORD *)v5 + 184LL))(v5, &a2->m_transformSkewY);\n}", "assembly": "; \n; GJTransformControl::loadFromState from 0x100053510 to 0x1000535c8 (184 bytes)\n; \n; 1 xrefs:\n; > LevelEditorLayer::handleAction @ 0x1000e3137\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\npush    rbp                                                            ; +0x0, 0x100053510\nmov     rbp, rsp                                                       ; +0x1, 0x100053511\npush    r14                                                            ; +0x4, 0x100053514\npush    rbx                                                            ; +0x6, 0x100053516\nmov     rbx, rsi                                                       ; +0x7, 0x100053517\nmov     r14, rdi                                                       ; +0xa, 0x10005351a\nmovsd   xmm0, qword ptr [rsi+20h]                                      ; +0xd, 0x10005351d\nmovsd   qword ptr [rdi+21Ch], xmm0                                     ; +0x12, 0x100053522\nmovsd   xmm1, qword ptr [rsi+40h]                                      ; +0x1a, 0x10005352a\nmovsd   qword ptr [rdi+210h], xmm1                                     ; +0x1f, 0x10005352f\nmov     rdi, [rdi+1A0h]                                                ; +0x27, 0x100053537\nmov     rax, [rdi]                                                     ; +0x2e, 0x10005353e\nmovshdup xmm0, xmm0                                                    ; +0x31, 0x100053541\ncall    qword ptr [rax+158h]                                           ; +0x35, 0x100053545\nlea     rsi, [rbx+28h]                                                 ; +0x3b, 0x10005354b\nmov     rax, [r14]                                                     ; +0x3f, 0x10005354f\nmov     rdi, r14                                                       ; +0x42, 0x100053552\ncall    qword ptr [rax+0B8h]                                           ; +0x45, 0x100053555\nmov     rdi, [r14+1F8h]                                                ; +0x4b, 0x10005355b\nxor     esi, esi                                                       ; +0x52, 0x100053562\ncall    sub_1007200C0                                                  ; +0x54, 0x100053564\nmov     rcx, [rax]                                                     ; +0x59, 0x100053569\nlea     rsi, qword_10099EC08                                           ; +0x5c, 0x10005356c\nmov     rdi, rax                                                       ; +0x63, 0x100053573\ncall    qword ptr [rcx+0B8h]                                           ; +0x66, 0x100053576\nmov     rdi, [r14+1F8h]                                                ; +0x6c, 0x10005357c\nmov     esi, 9                                                         ; +0x73, 0x100053583\ncall    sub_1007200C0                                                  ; +0x78, 0x100053588\nlea     rsi, [rbx+30h]                                                 ; +0x7d, 0x10005358d\nmov     rcx, [rax]                                                     ; +0x81, 0x100053591\nmov     rdi, rax                                                       ; +0x84, 0x100053594\ncall    qword ptr [rcx+0B8h]                                           ; +0x87, 0x100053597\nmov     rdi, [r14+1F8h]                                                ; +0x8d, 0x10005359d\nmov     esi, 0Ah                                                       ; +0x94, 0x1000535a4\ncall    sub_1007200C0                                                  ; +0x99, 0x1000535a9\nadd     rbx, 38h ; '8'                                                 ; +0x9e, 0x1000535ae\nmov     rcx, [rax]                                                     ; +0xa2, 0x1000535b2\nmov     rcx, [rcx+0B8h]                                                ; +0xa5, 0x1000535b5\nmov     rdi, rax                                                       ; +0xac, 0x1000535bc\nmov     rsi, rbx                                                       ; +0xaf, 0x1000535bf\npop     rbx                                                            ; +0xb2, 0x1000535c2\npop     r14                                                            ; +0xb3, 0x1000535c3\npop     rbp                                                            ; +0xb5, 0x1000535c5\njmp     rcx                                                            ; +0xb6, 0x1000535c6", "xrefs": ["LevelEditorLayer::handleAction @ 0x1000e3137"], "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"}