; ; ControlMenuTouch::began from 0x1401a2090 to 0x1401a2135 (165 bytes) ; ; 4 xrefs: ; > GJRotationControl::ccTouchBegan @ 0x1401a2a86 ; > GJScaleControl::ccTouchBegan @ 0x1401a3cb6 ; > GJTransformControl::ccTouchBegan @ 0x1401a6f4b ; > @ 0x1409198d4 ; ; 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:27:48 +0000 ; mov [rsp+arg_0], rbx ; +0x0, 0x1401a2090 mov [rsp+arg_8], rbp ; +0x5, 0x1401a2095 mov [rsp+arg_10], rsi ; +0xa, 0x1401a209a mov [rsp+arg_18], rdi ; +0xf, 0x1401a209f push r14 ; +0x14, 0x1401a20a4 sub rsp, 20h ; +0x16, 0x1401a20a6 mov rdi, rcx ; +0x1a, 0x1401a20aa xor ebx, ebx ; +0x1d, 0x1401a20ad mov [rcx+18h], rbx ; +0x1f, 0x1401a20af mov rbp, r8 ; +0x23, 0x1401a20b3 mov rcx, [rcx] ; +0x26, 0x1401a20b6 mov r14, rdx ; +0x29, 0x1401a20b9 mov rax, [rdi+8] ; +0x2c, 0x1401a20bc sub rax, rcx ; +0x30, 0x1401a20c0 sar rax, 3 ; +0x33, 0x1401a20c3 test rax, rax ; +0x37, 0x1401a20c7 jz short loc_1401A2109 ; +0x3a, 0x1401a20ca nop dword ptr [rax+00h] ; +0x3c, 0x1401a20cc lea rsi, ds:0[rbx*8] ; +0x40, 0x1401a20d0 mov r8, rbp ; +0x48, 0x1401a20d8 mov rcx, [rsi+rcx] ; +0x4b, 0x1401a20db mov rdx, r14 ; +0x4f, 0x1401a20df add rcx, 140h ; +0x52, 0x1401a20e2 mov rax, [rcx] ; +0x59, 0x1401a20e9 call qword ptr [rax+8] ; +0x5c, 0x1401a20ec test al, al ; +0x5f, 0x1401a20ef jnz short loc_1401A2126 ; +0x61, 0x1401a20f1 mov rcx, [rdi] ; +0x63, 0x1401a20f3 inc rbx ; +0x66, 0x1401a20f6 mov rax, [rdi+8] ; +0x69, 0x1401a20f9 sub rax, rcx ; +0x6d, 0x1401a20fd sar rax, 3 ; +0x70, 0x1401a2100 cmp rbx, rax ; +0x74, 0x1401a2104 jb short loc_1401A20D0 ; +0x77, 0x1401a2107 xor al, al ; +0x79, 0x1401a2109 mov rbx, [rsp+28h+arg_0] ; +0x7b, 0x1401a210b mov rbp, [rsp+28h+arg_8] ; +0x80, 0x1401a2110 mov rsi, [rsp+28h+arg_10] ; +0x85, 0x1401a2115 mov rdi, [rsp+28h+arg_18] ; +0x8a, 0x1401a211a add rsp, 20h ; +0x8f, 0x1401a211f pop r14 ; +0x93, 0x1401a2123 retn ; +0x95, 0x1401a2125 mov rax, [rdi] ; +0x96, 0x1401a2126 mov rcx, [rsi+rax] ; +0x99, 0x1401a2129 mov al, 1 ; +0x9d, 0x1401a212d mov [rdi+18h], rcx ; +0x9f, 0x1401a212f jmp short loc_1401A210B ; +0xa3, 0x1401a2133