; ; EditorUI::toggleEnableRotate from 0x100008060 to 0x100008115 (181 bytes) ; ; 3 xrefs: ; > EditorUI::init @ 0x100007a13 ; > EditorUI::handleEditorAction @ 0x10060c778 ; > EditorUI::init @ 0x100005d18 ; ; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 12:18:48 +0000 ; push rbp ; +0x0, 0x100008060 mov rbp, rsp ; +0x1, 0x100008061 push r15 ; +0x4, 0x100008064 push r14 ; +0x6, 0x100008066 push rbx ; +0x8, 0x100008068 push rax ; +0x9, 0x100008069 mov rbx, rdi ; +0xa, 0x10000806a call GameManager__sharedState ; +0xd, 0x10000806d lea r14, a0007; "0007" ; +0x12, 0x100008072 mov rdi, rax ; +0x19, 0x100008079 mov rsi, r14 ; +0x1c, 0x10000807c call GameManager__getGameVariable ; +0x1f, 0x10000807f mov r15d, eax ; +0x24, 0x100008084 xor r15b, 1 ; +0x27, 0x100008087 call GameManager__sharedState ; +0x2b, 0x10000808b movzx r15d, r15b ; +0x30, 0x100008090 mov rdi, rax ; +0x34, 0x100008094 mov rsi, r14 ; +0x37, 0x100008097 mov edx, r15d ; +0x3a, 0x10000809a call GameManager__setGameVariable ; +0x3d, 0x10000809d call EditorSFXManager__sharedState ; +0x42, 0x1000080a2 mov rdi, rax ; +0x47, 0x1000080a7 mov esi, 0C1h ; +0x4a, 0x1000080aa mov edx, 0BDh ; +0x4f, 0x1000080af call EditorSFXManager__playAction ; +0x54, 0x1000080b4 mov rdi, [rbx+3D8h] ; +0x59, 0x1000080b9 mov rax, [rdi] ; +0x60, 0x1000080c0 call qword ptr [rax+430h] ; +0x63, 0x1000080c3 test r15b, r15b ; +0x69, 0x1000080c9 jnz short loc_1000080EF ; +0x6c, 0x1000080cc lea rsi, aGjButton01Png; "GJ_button_01.png" ; +0x6e, 0x1000080ce mov rdi, rax ; +0x75, 0x1000080d5 call ButtonSprite__updateBGImage ; +0x78, 0x1000080d8 mov rdi, rbx ; +0x7d, 0x1000080dd add rsp, 8 ; +0x80, 0x1000080e0 pop rbx ; +0x84, 0x1000080e4 pop r14 ; +0x85, 0x1000080e5 pop r15 ; +0x87, 0x1000080e7 pop rbp ; +0x89, 0x1000080e9 jmp EditorUI__deactivateRotationControl ; +0x8a, 0x1000080ea lea rsi, aGjButton02Png; "GJ_button_02.png" ; +0x8f, 0x1000080ef mov rdi, rax ; +0x96, 0x1000080f6 call ButtonSprite__updateBGImage ; +0x99, 0x1000080f9 mov rdi, rbx ; +0x9e, 0x1000080fe mov esi, 1 ; +0xa1, 0x100008101 add rsp, 8 ; +0xa6, 0x100008106 pop rbx ; +0xaa, 0x10000810a pop r14 ; +0xab, 0x10000810b pop r15 ; +0xad, 0x10000810d pop rbp ; +0xaf, 0x10000810f jmp EditorUI__toggleSpecialEditButtons ; +0xb0, 0x100008110