{"type": "func", "start": 5370820816, "end": 5370821004, "name": "EditorUI::getTransformState", "pseudocode": "// \n// EditorUI::getTransformState from 0x1402038d0 to 0x14020398c (188 bytes)\n// \n// 4 xrefs:\n// > GJTransformControl::applyFreeRotation @ 0x1401a8107\n// > EditorUI::createUndoObject @ 0x1401b3929\n// > LevelEditorLayer::handleAction @ 0x1403f2a05\n// > <???> @ 0x14091b0ec\n// \n// This function is hookable on this platform (idp: pc, 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 11:28:14 +0000\n// \n\n__int64 __fastcall EditorUI::getTransformState(__int64 a1)\n{\n  __int64 v1; // rbx\n  __int64 v2; // rdi\n  __int64 v3; // rax\n  struct cocos2d::CCObject *v4; // rax\n  __int64 v5; // rax\n  struct cocos2d::CCObject *v6; // rax\n  __int64 v7; // rax\n\n  v1 = *(_QWORD *)(a1 + 840);\n  v2 = a1 + 528;\n  *(_DWORD *)(a1 + 560) = *(_DWORD *)(v1 + 604);\n  *(_DWORD *)(a1 + 564) = *(_DWORD *)(v1 + 608);\n  *(_DWORD *)(a1 + 592) = *(_DWORD *)(v1 + 592);\n  *(_DWORD *)(a1 + 596) = *(_DWORD *)(v1 + 596);\n  v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v1 + 200LL))(v1);\n  cocos2d::CCPoint::operator=(v2 + 40, v3);\n  v4 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(v1 + 512), 9u);\n  v5 = (*(__int64 (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v4 + 200LL))(v4);\n  cocos2d::CCPoint::operator=(v2 + 48, v5);\n  v6 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(v1 + 512), 0xAu);\n  v7 = (*(__int64 (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v6 + 200LL))(v6);\n  cocos2d::CCPoint::operator=(v2 + 56, v7);\n  return v2;\n}", "assembly": "; \n; EditorUI::getTransformState from 0x1402038d0 to 0x14020398c (188 bytes)\n; \n; 4 xrefs:\n; > GJTransformControl::applyFreeRotation @ 0x1401a8107\n; > EditorUI::createUndoObject @ 0x1401b3929\n; > LevelEditorLayer::handleAction @ 0x1403f2a05\n; > <???> @ 0x14091b0ec\n; \n; This function is hookable on this platform (idp: pc, 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 11:28:14 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1402038d0\npush    rdi                                                            ; +0x5, 0x1402038d5\nsub     rsp, 20h                                                       ; +0x6, 0x1402038d6\nmov     rbx, [rcx+348h]                                                ; +0xa, 0x1402038da\nlea     rdi, [rcx+210h]                                                ; +0x11, 0x1402038e1\nmov     rcx, rbx                                                       ; +0x18, 0x1402038e8\nmov     eax, [rbx+25Ch]                                                ; +0x1b, 0x1402038eb\nmov     [rdi+20h], eax                                                 ; +0x21, 0x1402038f1\nmov     eax, [rbx+260h]                                                ; +0x24, 0x1402038f4\nmov     [rdi+24h], eax                                                 ; +0x2a, 0x1402038fa\nmov     eax, [rbx+250h]                                                ; +0x2d, 0x1402038fd\nmov     [rdi+40h], eax                                                 ; +0x33, 0x140203903\nmov     eax, [rbx+254h]                                                ; +0x36, 0x140203906\nmov     [rdi+44h], eax                                                 ; +0x3c, 0x14020390c\nmov     rax, [rbx]                                                     ; +0x3f, 0x14020390f\ncall    qword ptr [rax+0C8h]                                           ; +0x42, 0x140203912\nmov     rdx, rax                                                       ; +0x48, 0x140203918\nlea     rcx, [rdi+28h]                                                 ; +0x4b, 0x14020391b\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x4f, 0x14020391f\nmov     rcx, [rbx+200h]                                                ; +0x55, 0x140203925\nmov     edx, 9                                                         ; +0x5c, 0x14020392c\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x61, 0x140203931\nmov     rcx, rax                                                       ; +0x67, 0x140203937\nmov     rax, [rax]                                                     ; +0x6a, 0x14020393a\ncall    qword ptr [rax+0C8h]                                           ; +0x6d, 0x14020393d\nmov     rdx, rax                                                       ; +0x73, 0x140203943\nlea     rcx, [rdi+30h]                                                 ; +0x76, 0x140203946\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x7a, 0x14020394a\nmov     rcx, [rbx+200h]                                                ; +0x80, 0x140203950\nmov     edx, 0Ah                                                       ; +0x87, 0x140203957\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x8c, 0x14020395c\nmov     rcx, [rax]                                                     ; +0x92, 0x140203962\nmov     rdx, [rcx+0C8h]                                                ; +0x95, 0x140203965\nmov     rcx, rax                                                       ; +0x9c, 0x14020396c\ncall    rdx                                                            ; +0x9f, 0x14020396f\nmov     rdx, rax                                                       ; +0xa1, 0x140203971\nlea     rcx, [rdi+38h]                                                 ; +0xa4, 0x140203974\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0xa8, 0x140203978\nmov     rbx, [rsp+28h+arg_0]                                           ; +0xae, 0x14020397e\nmov     rax, rdi                                                       ; +0xb3, 0x140203983\nadd     rsp, 20h                                                       ; +0xb6, 0x140203986\npop     rdi                                                            ; +0xba, 0x14020398a\nretn                                                                   ; +0xbb, 0x14020398b", "xrefs": ["GJTransformControl::applyFreeRotation @ 0x1401a8107", "EditorUI::createUndoObject @ 0x1401b3929", "LevelEditorLayer::handleAction @ 0x1403f2a05", "<???> @ 0x14091b0ec"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}