{"type": "func", "start": 5370427008, "end": 5370427107, "name": "GJScaleControl::finishTouch", "pseudocode": "// \n// GJScaleControl::finishTouch from 0x1401a3680 to 0x1401a36e3 (99 bytes)\n// \n// 3 xrefs:\n// > GJScaleControl::ccTouchEnded @ 0x1401a44b4\n// > EditorUI::deactivateScaleControl @ 0x140202e06\n// > <???> @ 0x1409199e8\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:27:49 +0000\n// \n\n__int64 __fastcall GJScaleControl::finishTouch(__int64 a1)\n{\n  __int64 v2; // rcx\n  __int64 result; // rax\n  __int64 v4; // rcx\n\n  v2 = *(_QWORD *)(a1 + 568);\n  if ( v2 )\n    result = (*(__int64 (__fastcall **)(__int64, _QWORD, _QWORD))(*(_QWORD *)(v2 + 320) + 32LL))(v2 + 320, 0, 0);\n  *(_QWORD *)(a1 + 568) = 0;\n  if ( *(_DWORD *)(a1 + 432) != -1 )\n  {\n    v4 = *(_QWORD *)(a1 + 576);\n    *(_DWORD *)(a1 + 432) = -1;\n    if ( v4 )\n      return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 32LL))(v4);\n  }\n  return result;\n}", "assembly": "; \n; GJScaleControl::finishTouch from 0x1401a3680 to 0x1401a36e3 (99 bytes)\n; \n; 3 xrefs:\n; > GJScaleControl::ccTouchEnded @ 0x1401a44b4\n; > EditorUI::deactivateScaleControl @ 0x140202e06\n; > <???> @ 0x1409199e8\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:27:49 +0000\n; \npush    rbx                                                            ; +0x0, 0x1401a3680\nsub     rsp, 20h                                                       ; +0x2, 0x1401a3682\nmov     rbx, rcx                                                       ; +0x6, 0x1401a3686\nmov     rcx, [rcx+238h]                                                ; +0x9, 0x1401a3689\ntest    rcx, rcx                                                       ; +0x10, 0x1401a3690\njz      short loc_1401A36A7                                            ; +0x13, 0x1401a3693\nadd     rcx, 140h                                                      ; +0x15, 0x1401a3695\nxor     r8d, r8d                                                       ; +0x1c, 0x1401a369c\nxor     edx, edx                                                       ; +0x1f, 0x1401a369f\nmov     rax, [rcx]                                                     ; +0x21, 0x1401a36a1\ncall    qword ptr [rax+20h]                                            ; +0x24, 0x1401a36a4\nmov     qword ptr [rbx+238h], 0                                        ; +0x27, 0x1401a36a7\ncmp     dword ptr [rbx+1B0h], 0FFFFFFFFh                               ; +0x32, 0x1401a36b2\njz      short loc_1401A36DD                                            ; +0x39, 0x1401a36b9\nmov     rcx, [rbx+240h]                                                ; +0x3b, 0x1401a36bb\nmov     dword ptr [rbx+1B0h], 0FFFFFFFFh                               ; +0x42, 0x1401a36c2\ntest    rcx, rcx                                                       ; +0x4c, 0x1401a36cc\njz      short loc_1401A36DD                                            ; +0x4f, 0x1401a36cf\nmov     rax, [rcx]                                                     ; +0x51, 0x1401a36d1\nadd     rsp, 20h                                                       ; +0x54, 0x1401a36d4\npop     rbx                                                            ; +0x58, 0x1401a36d8\njmp     qword ptr [rax+20h]                                            ; +0x59, 0x1401a36d9\nadd     rsp, 20h                                                       ; +0x5d, 0x1401a36dd\npop     rbx                                                            ; +0x61, 0x1401a36e1\nretn                                                                   ; +0x62, 0x1401a36e2", "xrefs": ["GJScaleControl::ccTouchEnded @ 0x1401a44b4", "EditorUI::deactivateScaleControl @ 0x140202e06", "<???> @ 0x1409199e8"], "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"}