{"type": "func", "start": 4295233104, "end": 4295233253, "name": "GJTransformControl::saveToState", "pseudocode": "// \n// GJTransformControl::saveToState from 0x100040e50 to 0x100040ee5 (149 bytes)\n// \n// 0 xrefs:\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  __int64 v2; // rax\n  double v3; // xmm0_8\n  __int64 v4; // rax\n  __int64 v5; // rax\n  double v6; // xmm0_8\n  __int64 v7; // rax\n  __int64 v8; // rax\n\n  *(_QWORD *)&a2->m_transformRotationX = *(_QWORD *)&a1->m_rotationX;\n  *(_QWORD *)&a2->m_transformScaleX = *(_QWORD *)&a1->m_scaleX;\n  v2 = ((__int64 (__fastcall *)(GJTransformControl *))a1->getPosition)(a1);\n  v3 = sub_10028CC90(&a2->m_transformPosition, v2);\n  v4 = sub_1007200C0(a1->m_warpSprites, 9);\n  v5 = (*(__int64 (__fastcall **)(__int64, double))(*(_QWORD *)v4 + 192LL))(v4, v3);\n  v6 = sub_10028CC90(&a2->m_transformSkewX, v5);\n  v7 = sub_1007200C0(a1->m_warpSprites, 10);\n  v8 = (*(__int64 (__fastcall **)(__int64, double))(*(_QWORD *)v7 + 192LL))(v7, v6);\n  sub_10028CC90(&a2->m_transformSkewY, v8);\n}", "assembly": "; \n; GJTransformControl::saveToState from 0x100040e50 to 0x100040ee5 (149 bytes)\n; \n; 0 xrefs:\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, 0x100040e50\nmov     rbp, rsp                                                       ; +0x1, 0x100040e51\npush    r14                                                            ; +0x4, 0x100040e54\npush    rbx                                                            ; +0x6, 0x100040e56\nmov     rbx, rsi                                                       ; +0x7, 0x100040e57\nmov     r14, rdi                                                       ; +0xa, 0x100040e5a\nmovsd   xmm0, qword ptr [rdi+21Ch]                                     ; +0xd, 0x100040e5d\nmovsd   qword ptr [rsi+20h], xmm0                                      ; +0x15, 0x100040e65\nmovsd   xmm0, qword ptr [rdi+210h]                                     ; +0x1a, 0x100040e6a\nmovsd   qword ptr [rsi+40h], xmm0                                      ; +0x22, 0x100040e72\nmov     rax, [rdi]                                                     ; +0x27, 0x100040e77\ncall    qword ptr [rax+0C0h]                                           ; +0x2a, 0x100040e7a\nlea     rdi, [rbx+28h]                                                 ; +0x30, 0x100040e80\nmov     rsi, rax                                                       ; +0x34, 0x100040e84\ncall    sub_10028CC90                                                  ; +0x37, 0x100040e87\nmov     rdi, [r14+1F8h]                                                ; +0x3c, 0x100040e8c\nmov     esi, 9                                                         ; +0x43, 0x100040e93\ncall    sub_1007200C0                                                  ; +0x48, 0x100040e98\nmov     rcx, [rax]                                                     ; +0x4d, 0x100040e9d\nmov     rdi, rax                                                       ; +0x50, 0x100040ea0\ncall    qword ptr [rcx+0C0h]                                           ; +0x53, 0x100040ea3\nlea     rdi, [rbx+30h]                                                 ; +0x59, 0x100040ea9\nmov     rsi, rax                                                       ; +0x5d, 0x100040ead\ncall    sub_10028CC90                                                  ; +0x60, 0x100040eb0\nmov     rdi, [r14+1F8h]                                                ; +0x65, 0x100040eb5\nmov     esi, 0Ah                                                       ; +0x6c, 0x100040ebc\ncall    sub_1007200C0                                                  ; +0x71, 0x100040ec1\nmov     rcx, [rax]                                                     ; +0x76, 0x100040ec6\nmov     rdi, rax                                                       ; +0x79, 0x100040ec9\ncall    qword ptr [rcx+0C0h]                                           ; +0x7c, 0x100040ecc\nadd     rbx, 38h ; '8'                                                 ; +0x82, 0x100040ed2\nmov     rdi, rbx                                                       ; +0x86, 0x100040ed6\nmov     rsi, rax                                                       ; +0x89, 0x100040ed9\npop     rbx                                                            ; +0x8c, 0x100040edc\npop     r14                                                            ; +0x8d, 0x100040edd\npop     rbp                                                            ; +0x8f, 0x100040edf\njmp     sub_10028CC90                                                  ; +0x90, 0x100040ee0", "xrefs": [], "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"}