{"type": "func", "start": 5370445856, "end": 5370445963, "name": "GJTransformControl::applyRotation", "pseudocode": "// \n// GJTransformControl::applyRotation from 0x1401a8020 to 0x1401a808b (107 bytes)\n// \n// 7 xrefs:\n// > EditorUI::handleEditorAction @ 0x1401c3bfe\n// > EditorUI::handleEditorAction @ 0x1401c3ddc\n// > EditorUI::handleEditorAction @ 0x1401c4061\n// > EditorUI::transformObjectCall_1 @ 0x1401ff4f5\n// > EditorUI::transformObjectCall_1 @ 0x1401ff5cd\n// > EditorUI::updateTransformControl @ 0x1402037d6\n// > <???> @ 0x140919c40\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:51 +0000\n// \n\n__int64 __fastcall GJTransformControl::applyRotation(__int64 a1, float a2)\n{\n  __int64 v4; // rcx\n\n  if ( *(_BYTE *)(a1 + 603) )\n    return GJTransformControl::applyFreeRotation(a1);\n  if ( a2 != *(float *)(a1 + 608) )\n  {\n    *(float *)(a1 + 608) = a2;\n    (*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 416) + 352LL))(*(_QWORD *)(a1 + 416));\n    v4 = *(_QWORD *)(a1 + 440);\n    if ( v4 )\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)v4 + 40LL))(v4);\n  }\n  return GJTransformControl::updateButtons(a1, 0, 0);\n}", "assembly": "; \n; GJTransformControl::applyRotation from 0x1401a8020 to 0x1401a808b (107 bytes)\n; \n; 7 xrefs:\n; > EditorUI::handleEditorAction @ 0x1401c3bfe\n; > EditorUI::handleEditorAction @ 0x1401c3ddc\n; > EditorUI::handleEditorAction @ 0x1401c4061\n; > EditorUI::transformObjectCall_1 @ 0x1401ff4f5\n; > EditorUI::transformObjectCall_1 @ 0x1401ff5cd\n; > EditorUI::updateTransformControl @ 0x1402037d6\n; > <???> @ 0x140919c40\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:51 +0000\n; \npush    rbx                                                            ; +0x0, 0x1401a8020\nsub     rsp, 20h                                                       ; +0x2, 0x1401a8022\ncmp     byte ptr [rcx+25Bh], 0                                         ; +0x6, 0x1401a8026\nmov     rbx, rcx                                                       ; +0xd, 0x1401a802d\njz      short loc_1401A803C                                            ; +0x10, 0x1401a8030\nadd     rsp, 20h                                                       ; +0x12, 0x1401a8032\npop     rbx                                                            ; +0x16, 0x1401a8036\njmp     GJTransformControl__applyFreeRotation                          ; +0x17, 0x1401a8037\nucomiss xmm1, dword ptr [rcx+260h]                                     ; +0x1c, 0x1401a803c\njp      short loc_1401A8047                                            ; +0x23, 0x1401a8043\njz      short loc_1401A8079                                            ; +0x25, 0x1401a8045\nmovss   dword ptr [rcx+260h], xmm1                                     ; +0x27, 0x1401a8047\nmov     rcx, [rcx+1A0h]                                                ; +0x2f, 0x1401a804f\nmov     rax, [rcx]                                                     ; +0x36, 0x1401a8056\ncall    qword ptr [rax+160h]                                           ; +0x39, 0x1401a8059\nmov     rcx, [rbx+1B8h]                                                ; +0x3f, 0x1401a805f\ntest    rcx, rcx                                                       ; +0x46, 0x1401a8066\njz      short loc_1401A8079                                            ; +0x49, 0x1401a8069\nmov     rax, [rcx]                                                     ; +0x4b, 0x1401a806b\nmovss   xmm1, dword ptr [rbx+260h]                                     ; +0x4e, 0x1401a806e\ncall    qword ptr [rax+28h]                                            ; +0x56, 0x1401a8076\nxor     r8d, r8d                                                       ; +0x59, 0x1401a8079\nxor     edx, edx                                                       ; +0x5c, 0x1401a807c\nmov     rcx, rbx                                                       ; +0x5e, 0x1401a807e\nadd     rsp, 20h                                                       ; +0x61, 0x1401a8081\npop     rbx                                                            ; +0x65, 0x1401a8085\njmp     GJTransformControl__updateButtons                              ; +0x66, 0x1401a8086", "xrefs": ["EditorUI::handleEditorAction @ 0x1401c3bfe", "EditorUI::handleEditorAction @ 0x1401c3ddc", "EditorUI::handleEditorAction @ 0x1401c4061", "EditorUI::transformObjectCall_1 @ 0x1401ff4f5", "EditorUI::transformObjectCall_1 @ 0x1401ff5cd", "EditorUI::updateTransformControl @ 0x1402037d6", "<???> @ 0x140919c40"], "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"}