; ; EditorUI::activateRotationControl from 0x1402025e0 to 0x14020271c (316 bytes) ; ; 11 xrefs: ; > EditorUI::undoLastAction @ 0x1401b3c0f ; > EditorUI::redoLastAction @ 0x1401b3c7f ; > EditorUI::toggleSpecialEditButtons @ 0x1401bb33b ; > EditorUI::handleEditorAction @ 0x1401c2368 ; > EditorUI::moveObjectCall_1 @ 0x1401fee0a ; > EditorUI::alignObjects @ 0x140201c8f ; > EditorUI::updateControlsAfterAlign @ 0x140201d3f ; > EditorUI::createMoveMenu @ 0x1401f28d7 ; > @ 0x1408a3ec4 ; > @ 0x1408a3ed4 ; > @ 0x14091aee8 ; ; 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 11:28:13 +0000 ; mov [rsp+arg_10], rbx ; +0x0, 0x1402025e0 push rsi ; +0x5, 0x1402025e5 sub rsp, 20h ; +0x6, 0x1402025e6 mov rsi, rcx ; +0xa, 0x1402025ea mov rcx, [rcx+3B0h] ; +0xd, 0x1402025ed call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x14, 0x1402025f4 test eax, eax ; +0x1a, 0x1402025fa jnz short loc_14020260C ; +0x1c, 0x1402025fc cmp qword ptr [rsi+620h], 0 ; +0x1e, 0x1402025fe jz loc_140202711 ; +0x26, 0x140202606 mov rcx, [rsi+328h] ; +0x2c, 0x14020260c mov rax, [rcx] ; +0x33, 0x140202613 call qword ptr [rax+158h] ; +0x36, 0x140202616 test al, al ; +0x3c, 0x14020261c jz short loc_14020262D ; +0x3e, 0x14020261e cmp byte ptr [rsi+338h], 0 ; +0x40, 0x140202620 jz loc_140202711 ; +0x47, 0x140202627 mov rcx, rsi ; +0x4d, 0x14020262d mov [rsp+28h+arg_8], rdi ; +0x50, 0x140202630 call EditorUI__deactivateTransformControl ; +0x55, 0x140202635 mov rcx, [rsi+3B0h] ; +0x5a, 0x14020263a mov byte ptr [rsi+338h], 0 ; +0x61, 0x140202641 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x68, 0x140202648 test eax, eax ; +0x6e, 0x14020264e jz short loc_14020268F ; +0x70, 0x140202650 mov r8, [rsi+3B0h] ; +0x72, 0x140202652 lea rdx, [rsp+28h+arg_0] ; +0x79, 0x140202659 xor r9d, r9d ; +0x7e, 0x14020265e call EditorUI__getGroupCenter ; +0x81, 0x140202661 mov rdx, rax ; +0x86, 0x140202666 lea rcx, [rsi+330h] ; +0x89, 0x140202669 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x90, 0x140202670 mov rcx, [rsi+328h] ; +0x96, 0x140202676 lea rdx, [rsi+330h] ; +0x9d, 0x14020267d mov rax, [rcx] ; +0xa4, 0x140202684 call qword ptr [rax+0B8h] ; +0xa7, 0x140202687 jmp short loc_1402026B5 ; +0xad, 0x14020268d mov rcx, [rsi+620h] ; +0xaf, 0x14020268f mov rdi, [rsi+328h] ; +0xb6, 0x140202696 mov rax, [rcx] ; +0xbd, 0x14020269d mov rbx, [rdi] ; +0xc0, 0x1402026a0 call qword ptr [rax+0C8h] ; +0xc3, 0x1402026a3 mov rdx, rax ; +0xc9, 0x1402026a9 mov rcx, rdi ; +0xcc, 0x1402026ac call qword ptr [rbx+0B8h] ; +0xcf, 0x1402026af mov rax, [rsi+5E8h] ; +0xd5, 0x1402026b5 mov rdi, [rsi+328h] ; +0xdc, 0x1402026bc mov rcx, [rax+10C8h] ; +0xe3, 0x1402026c3 mov rbx, [rdi] ; +0xea, 0x1402026ca mov rax, [rcx] ; +0xed, 0x1402026cd call qword ptr [rax+0A8h] ; +0xf0, 0x1402026d0 movss xmm1, cs:flt_140835080 ; +0xf6, 0x1402026d6 mov rcx, rdi ; +0xfe, 0x1402026de divss xmm1, xmm0 ; +0x101, 0x1402026e1 call qword ptr [rbx+0A0h] ; +0x105, 0x1402026e5 mov rcx, [rsi+328h] ; +0x10b, 0x1402026eb xorps xmm1, xmm1 ; +0x112, 0x1402026f2 call GJRotationControl__setAngle ; +0x115, 0x1402026f5 mov rcx, [rsi+328h] ; +0x11a, 0x1402026fa mov dl, 1 ; +0x121, 0x140202701 mov rax, [rcx] ; +0x123, 0x140202703 call qword ptr [rax+150h] ; +0x126, 0x140202706 mov rdi, [rsp+28h+arg_8] ; +0x12c, 0x14020270c mov rbx, [rsp+28h+arg_10] ; +0x131, 0x140202711 add rsp, 20h ; +0x136, 0x140202716 pop rsi ; +0x13a, 0x14020271a retn ; +0x13b, 0x14020271b