; ; GJScaleControl::ccTouchBegan from 0x14012a560 to 0x14012a765 (517 bytes) ; ; 2 xrefs: ; > @ 0x140552be0 ; > @ 0x1406c9b04 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; mov [rsp+arg_8], rbx ; +0x0, 0x14012a560 mov [rsp+arg_10], rsi ; +0x5, 0x14012a565 push rdi ; +0xa, 0x14012a56a sub rsp, 20h ; +0xb, 0x14012a56b cmp dword ptr [rcx+70h], 0FFFFFFFFh ; +0xf, 0x14012a56f mov rsi, r8 ; +0x13, 0x14012a573 mov rdi, rdx ; +0x16, 0x14012a576 mov rbx, rcx ; +0x19, 0x14012a579 jnz loc_14012A753 ; +0x1c, 0x14012a57c lea rdx, [rsp+28h+arg_0] ; +0x22, 0x14012a582 mov rcx, rdi ; +0x27, 0x14012a587 call cs:?getLocation@CCTouch@cocos2d@@QEBA?AVCCPoint@2@XZ; cocos2d::CCTouch::getLocation(void) ; +0x2a, 0x14012a58a lea rcx, [rbx-140h] ; +0x30, 0x14012a590 lea r8, [rsp+28h+arg_0] ; +0x37, 0x14012a597 lea rdx, [rsp+28h+arg_18] ; +0x3c, 0x14012a59c call cs:?convertToNodeSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const &) ; +0x41, 0x14012a5a1 mov rdx, rax ; +0x47, 0x14012a5a7 lea rcx, [rsp+28h+arg_0] ; +0x4a, 0x14012a5aa call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x4f, 0x14012a5af mov rcx, [rbx+58h] ; +0x55, 0x14012a5b5 mov r8, rsi ; +0x59, 0x14012a5b9 add rcx, 140h ; +0x5c, 0x14012a5bc mov rdx, rdi ; +0x63, 0x14012a5c3 mov rax, [rcx] ; +0x66, 0x14012a5c6 call qword ptr [rax+8] ; +0x69, 0x14012a5c9 test al, al ; +0x6c, 0x14012a5cc jz loc_14012A65D ; +0x6e, 0x14012a5ce mov eax, [rdi+38h] ; +0x74, 0x14012a5d4 mov [rbx+70h], eax ; +0x77, 0x14012a5d7 mov rax, [rbx+58h] ; +0x7a, 0x14012a5da mov rcx, [rax+198h] ; +0x7e, 0x14012a5de mov rcx, [rcx+1C8h] ; +0x85, 0x14012a5e5 call SliderThumb__getValue ; +0x8c, 0x14012a5ec movss xmm1, dword ptr [rbx+0B4h] ; +0x91, 0x14012a5f1 lea rcx, a02f; "%.02f" ; +0x99, 0x14012a5f9 movss xmm2, dword ptr [rbx+0B0h] ; +0xa0, 0x14012a600 subss xmm2, xmm1 ; +0xa8, 0x14012a608 mulss xmm2, xmm0 ; +0xac, 0x14012a60c addss xmm2, xmm1 ; +0xb0, 0x14012a610 cvtps2pd xmm1, xmm2 ; +0xb4, 0x14012a614 movq rdx, xmm1 ; +0xb7, 0x14012a617 call cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0xbc, 0x14012a61c mov rcx, rax ; +0xc2, 0x14012a622 call cs:?floatValue@CCString@cocos2d@@QEBAMXZ; cocos2d::CCString::floatValue(void) ; +0xc5, 0x14012a625 mov rcx, [rbx+0A8h] ; +0xcb, 0x14012a62b movss dword ptr [rbx+74h], xmm0 ; +0xd2, 0x14012a632 test rcx, rcx ; +0xd7, 0x14012a637 jz short loc_14012A642 ; +0xda, 0x14012a63a mov rax, [rcx] ; +0xdc, 0x14012a63c call qword ptr [rax+18h] ; +0xdf, 0x14012a63f xor eax, eax ; +0xe2, 0x14012a642 mov [rbx+8Ah], ax ; +0xe4, 0x14012a644 mov al, 1 ; +0xeb, 0x14012a64b mov rbx, [rsp+28h+arg_8] ; +0xed, 0x14012a64d mov rsi, [rsp+28h+arg_10] ; +0xf2, 0x14012a652 add rsp, 20h ; +0xf7, 0x14012a657 pop rdi ; +0xfb, 0x14012a65b retn ; +0xfc, 0x14012a65c mov rcx, [rbx+60h] ; +0xfd, 0x14012a65d mov r8, rsi ; +0x101, 0x14012a661 add rcx, 140h ; +0x104, 0x14012a664 mov rdx, rdi ; +0x10b, 0x14012a66b mov rax, [rcx] ; +0x10e, 0x14012a66e call qword ptr [rax+8] ; +0x111, 0x14012a671 test al, al ; +0x114, 0x14012a674 jz loc_14012A705 ; +0x116, 0x14012a676 mov eax, [rdi+38h] ; +0x11c, 0x14012a67c mov [rbx+70h], eax ; +0x11f, 0x14012a67f mov rax, [rbx+60h] ; +0x122, 0x14012a682 mov rcx, [rax+198h] ; +0x126, 0x14012a686 mov rcx, [rcx+1C8h] ; +0x12d, 0x14012a68d call SliderThumb__getValue ; +0x134, 0x14012a694 movss xmm1, dword ptr [rbx+0B4h] ; +0x139, 0x14012a699 lea rcx, a02f; "%.02f" ; +0x141, 0x14012a6a1 movss xmm2, dword ptr [rbx+0B0h] ; +0x148, 0x14012a6a8 subss xmm2, xmm1 ; +0x150, 0x14012a6b0 mulss xmm2, xmm0 ; +0x154, 0x14012a6b4 addss xmm2, xmm1 ; +0x158, 0x14012a6b8 cvtps2pd xmm1, xmm2 ; +0x15c, 0x14012a6bc movq rdx, xmm1 ; +0x15f, 0x14012a6bf call cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x164, 0x14012a6c4 mov rcx, rax ; +0x16a, 0x14012a6ca call cs:?floatValue@CCString@cocos2d@@QEBAMXZ; cocos2d::CCString::floatValue(void) ; +0x16d, 0x14012a6cd mov rcx, [rbx+0A8h] ; +0x173, 0x14012a6d3 movss dword ptr [rbx+78h], xmm0 ; +0x17a, 0x14012a6da test rcx, rcx ; +0x17f, 0x14012a6df jz short loc_14012A6EA ; +0x182, 0x14012a6e2 mov rax, [rcx] ; +0x184, 0x14012a6e4 call qword ptr [rax+18h] ; +0x187, 0x14012a6e7 mov word ptr [rbx+8Ah], 1 ; +0x18a, 0x14012a6ea mov al, 1 ; +0x193, 0x14012a6f3 mov rbx, [rsp+28h+arg_8] ; +0x195, 0x14012a6f5 mov rsi, [rsp+28h+arg_10] ; +0x19a, 0x14012a6fa add rsp, 20h ; +0x19f, 0x14012a6ff pop rdi ; +0x1a3, 0x14012a703 retn ; +0x1a4, 0x14012a704 mov rcx, [rbx+68h] ; +0x1a5, 0x14012a705 mov r8, rsi ; +0x1a9, 0x14012a709 add rcx, 140h ; +0x1ac, 0x14012a70c mov rdx, rdi ; +0x1b3, 0x14012a713 mov rax, [rcx] ; +0x1b6, 0x14012a716 call qword ptr [rax+8] ; +0x1b9, 0x14012a719 test al, al ; +0x1bc, 0x14012a71c jz short loc_14012A753 ; +0x1be, 0x14012a71e mov rcx, [rbx+0A8h] ; +0x1c0, 0x14012a720 mov eax, [rdi+38h] ; +0x1c7, 0x14012a727 mov [rbx+70h], eax ; +0x1ca, 0x14012a72a test rcx, rcx ; +0x1cd, 0x14012a72d jz short loc_14012A738 ; +0x1d0, 0x14012a730 mov rax, [rcx] ; +0x1d2, 0x14012a732 call qword ptr [rax+18h] ; +0x1d5, 0x14012a735 mov word ptr [rbx+8Ah], 2 ; +0x1d8, 0x14012a738 mov al, 1 ; +0x1e1, 0x14012a741 mov rbx, [rsp+28h+arg_8] ; +0x1e3, 0x14012a743 mov rsi, [rsp+28h+arg_10] ; +0x1e8, 0x14012a748 add rsp, 20h ; +0x1ed, 0x14012a74d pop rdi ; +0x1f1, 0x14012a751 retn ; +0x1f2, 0x14012a752 mov rbx, [rsp+28h+arg_8] ; +0x1f3, 0x14012a753 xor al, al ; +0x1f8, 0x14012a758 mov rsi, [rsp+28h+arg_10] ; +0x1fa, 0x14012a75a add rsp, 20h ; +0x1ff, 0x14012a75f pop rdi ; +0x203, 0x14012a763 retn ; +0x204, 0x14012a764