{"type": "func", "start": 4301538912, "end": 4301539260, "name": "GJTransformControl::refreshControl", "pseudocode": "// \n// GJTransformControl::refreshControl from 0x100644660 to 0x1006447bc (348 bytes)\n// \n// 4 xrefs:\n// > LevelEditorLayer::handleAction @ 0x1000b2d43\n// > EditorUI::ccTouchMoved @ 0x10060a96c\n// > EditorUI::ccTouchEnded @ 0x10060b180\n// > EditorUI::moveObjectCall_1 @ 0x10060e5d8\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 12:34:44 +0000\n// \n\n__int64 __fastcall GJTransformControl::refreshControl(__int64 *a1)\n{\n  __int64 v1; // r14\n  __int64 v2; // rax\n  unsigned int *v3; // rax\n  __int64 v4; // rax\n  __int64 v5; // rax\n  _QWORD *v6; // rax\n  __int64 v7; // rax\n  _QWORD *v8; // rax\n  __int64 v9; // r14\n  __int64 v11; // [rsp+8h] [rbp-48h] BYREF\n  unsigned __int64 v12; // [rsp+10h] [rbp-40h] BYREF\n  unsigned __int64 v13; // [rsp+18h] [rbp-38h] BYREF\n  unsigned __int64 v14; // [rsp+20h] [rbp-30h] BYREF\n  unsigned __int64 v15[5]; // [rsp+28h] [rbp-28h] BYREF\n\n  sub_1002782A0(&v14);\n  v1 = a1[55];\n  if ( v1 )\n  {\n    v2 = sub_1007FEFE0(a1[64], 0);\n    v3 = (unsigned int *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 192LL))(v2);\n    cocos2d::CCNode::convertToWorldSpace((double *)v15, (__int64)a1, v3);\n    (*(void (__fastcall **)(__int64, unsigned __int64 *))(*(_QWORD *)v1 + 104LL))(v1, v15);\n    v4 = sub_1007FEFE0(a1[64], 0);\n    (*(void (__fastcall **)(__int64, void *))(*(_QWORD *)v4 + 184LL))(v4, &unk_100BE5AE8);\n    v5 = sub_1007FEFE0(a1[53], 0);\n    v6 = (_QWORD *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 192LL))(v5);\n    sub_100278300(&v14, v6);\n    GJTransformControl::updateButtons(a1, 0, 1);\n    GJTransformControl::updateButtons(a1, 0, 0);\n    v7 = sub_1007FEFE0(a1[53], 0);\n    v8 = (_QWORD *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v7 + 192LL))(v7);\n    sub_1002782D0(v15, v8);\n    sub_100278370((double *)&v11, &v14, v15);\n    v9 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1[55] + 120LL))(a1[55]);\n    sub_1002782D0(&v13, &v11);\n    EditorUI::checkDiffAfterTransformAnchor(&v12, v9, &v13, a1[53]);\n    GJTransformControl::updateButtons(a1, 0, 1);\n  }\n  return GJTransformControl::updateButtons(a1, 0, 0);\n}", "assembly": "; \n; GJTransformControl::refreshControl from 0x100644660 to 0x1006447bc (348 bytes)\n; \n; 4 xrefs:\n; > LevelEditorLayer::handleAction @ 0x1000b2d43\n; > EditorUI::ccTouchMoved @ 0x10060a96c\n; > EditorUI::ccTouchEnded @ 0x10060b180\n; > EditorUI::moveObjectCall_1 @ 0x10060e5d8\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 12:34:44 +0000\n; \npush    rbp                                                            ; +0x0, 0x100644660\nmov     rbp, rsp                                                       ; +0x1, 0x100644661\npush    r15                                                            ; +0x4, 0x100644664\npush    r14                                                            ; +0x6, 0x100644666\npush    r12                                                            ; +0x8, 0x100644668\npush    rbx                                                            ; +0xa, 0x10064466a\nsub     rsp, 30h                                                       ; +0xb, 0x10064466b\nmov     rbx, rdi                                                       ; +0xf, 0x10064466f\nlea     rdi, [rbp+var_30]                                              ; +0x12, 0x100644672\ncall    sub_1002782A0                                                  ; +0x16, 0x100644676\nmov     r14, [rbx+1B8h]                                                ; +0x1b, 0x10064467b\ntest    r14, r14                                                       ; +0x22, 0x100644682\njz      loc_1006447A3                                                  ; +0x25, 0x100644685\nmov     rdi, [rbx+200h]                                                ; +0x2b, 0x10064468b\nxor     esi, esi                                                       ; +0x32, 0x100644692\ncall    sub_1007FEFE0                                                  ; +0x34, 0x100644694\nmov     rcx, [rax]                                                     ; +0x39, 0x100644699\nmov     rdi, rax                                                       ; +0x3c, 0x10064469c\ncall    qword ptr [rcx+0C0h]                                           ; +0x3f, 0x10064469f\nlea     r15, [rbp+var_28]                                              ; +0x45, 0x1006446a5\nmov     rdi, r15                                                       ; +0x49, 0x1006446a9\nmov     rsi, rbx                                                       ; +0x4c, 0x1006446ac\nmov     rdx, rax                                                       ; +0x4f, 0x1006446af\ncall    cocos2d__CCNode__convertToWorldSpace                           ; +0x52, 0x1006446b2\nmov     rax, [r14]                                                     ; +0x57, 0x1006446b7\nmov     rdi, r14                                                       ; +0x5a, 0x1006446ba\nmov     rsi, r15                                                       ; +0x5d, 0x1006446bd\ncall    qword ptr [rax+68h]                                            ; +0x60, 0x1006446c0\nmov     rdi, [rbx+200h]                                                ; +0x63, 0x1006446c3\nxor     esi, esi                                                       ; +0x6a, 0x1006446ca\ncall    sub_1007FEFE0                                                  ; +0x6c, 0x1006446cc\nmov     rcx, [rax]                                                     ; +0x71, 0x1006446d1\nlea     rsi, unk_100BE5AE8                                             ; +0x74, 0x1006446d4\nmov     rdi, rax                                                       ; +0x7b, 0x1006446db\ncall    qword ptr [rcx+0B8h]                                           ; +0x7e, 0x1006446de\nmov     rdi, [rbx+1A8h]                                                ; +0x84, 0x1006446e4\nxor     esi, esi                                                       ; +0x8b, 0x1006446eb\ncall    sub_1007FEFE0                                                  ; +0x8d, 0x1006446ed\nmov     rcx, [rax]                                                     ; +0x92, 0x1006446f2\nmov     rdi, rax                                                       ; +0x95, 0x1006446f5\ncall    qword ptr [rcx+0C0h]                                           ; +0x98, 0x1006446f8\nlea     r14, [rbp+var_30]                                              ; +0x9e, 0x1006446fe\nmov     rdi, r14                                                       ; +0xa2, 0x100644702\nmov     rsi, rax                                                       ; +0xa5, 0x100644705\ncall    sub_100278300                                                  ; +0xa8, 0x100644708\nmov     rdi, rbx                                                       ; +0xad, 0x10064470d\nxor     esi, esi                                                       ; +0xb0, 0x100644710\nmov     edx, 1                                                         ; +0xb2, 0x100644712\ncall    GJTransformControl__updateButtons                              ; +0xb7, 0x100644717\nmov     rdi, rbx                                                       ; +0xbc, 0x10064471c\nxor     esi, esi                                                       ; +0xbf, 0x10064471f\nxor     edx, edx                                                       ; +0xc1, 0x100644721\ncall    GJTransformControl__updateButtons                              ; +0xc3, 0x100644723\nmov     rdi, [rbx+1A8h]                                                ; +0xc8, 0x100644728\nxor     esi, esi                                                       ; +0xcf, 0x10064472f\ncall    sub_1007FEFE0                                                  ; +0xd1, 0x100644731\nmov     rcx, [rax]                                                     ; +0xd6, 0x100644736\nmov     rdi, rax                                                       ; +0xd9, 0x100644739\ncall    qword ptr [rcx+0C0h]                                           ; +0xdc, 0x10064473c\nmov     rdi, r15                                                       ; +0xe2, 0x100644742\nmov     rsi, rax                                                       ; +0xe5, 0x100644745\ncall    sub_1002782D0                                                  ; +0xe8, 0x100644748\nlea     r12, [rbp+var_48]                                              ; +0xed, 0x10064474d\nmov     rdi, r12                                                       ; +0xf1, 0x100644751\nmov     rsi, r14                                                       ; +0xf4, 0x100644754\nmov     rdx, r15                                                       ; +0xf7, 0x100644757\ncall    sub_100278370                                                  ; +0xfa, 0x10064475a\nmov     rdi, [rbx+1B8h]                                                ; +0xff, 0x10064475f\nmov     rax, [rdi]                                                     ; +0x106, 0x100644766\ncall    qword ptr [rax+78h]                                            ; +0x109, 0x100644769\nmov     r14, rax                                                       ; +0x10c, 0x10064476c\nlea     r15, [rbp+var_38]                                              ; +0x10f, 0x10064476f\nmov     rdi, r15                                                       ; +0x113, 0x100644773\nmov     rsi, r12                                                       ; +0x116, 0x100644776\ncall    sub_1002782D0                                                  ; +0x119, 0x100644779\nmov     rcx, [rbx+1A8h]                                                ; +0x11e, 0x10064477e\nlea     rdi, [rbp+var_40]                                              ; +0x125, 0x100644785\nmov     rsi, r14                                                       ; +0x129, 0x100644789\nmov     rdx, r15                                                       ; +0x12c, 0x10064478c\ncall    EditorUI__checkDiffAfterTransformAnchor                        ; +0x12f, 0x10064478f\nmov     rdi, rbx                                                       ; +0x134, 0x100644794\nxor     esi, esi                                                       ; +0x137, 0x100644797\nmov     edx, 1                                                         ; +0x139, 0x100644799\ncall    GJTransformControl__updateButtons                              ; +0x13e, 0x10064479e\nmov     rdi, rbx                                                       ; +0x143, 0x1006447a3\nxor     esi, esi                                                       ; +0x146, 0x1006447a6\nxor     edx, edx                                                       ; +0x148, 0x1006447a8\ncall    GJTransformControl__updateButtons                              ; +0x14a, 0x1006447aa\nadd     rsp, 30h                                                       ; +0x14f, 0x1006447af\npop     rbx                                                            ; +0x153, 0x1006447b3\npop     r12                                                            ; +0x154, 0x1006447b4\npop     r14                                                            ; +0x156, 0x1006447b6\npop     r15                                                            ; +0x158, 0x1006447b8\npop     rbp                                                            ; +0x15a, 0x1006447ba\nretn                                                                   ; +0x15b, 0x1006447bb", "xrefs": ["LevelEditorLayer::handleAction @ 0x1000b2d43", "EditorUI::ccTouchMoved @ 0x10060a96c", "EditorUI::ccTouchEnded @ 0x10060b180", "EditorUI::moveObjectCall_1 @ 0x10060e5d8"], "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"}