; ; GJScaleControl::ccTouchEnded from 0x14012ab90 to 0x14012acc4 (308 bytes) ; ; 2 xrefs: ; > @ 0x140552bf0 ; > @ 0x1406c9b34 ; ; 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_0], rbx ; +0x0, 0x14012ab90 mov [rsp+arg_8], rsi ; +0x5, 0x14012ab95 push rdi ; +0xa, 0x14012ab9a sub rsp, 20h ; +0xb, 0x14012ab9b mov eax, [rdx+38h] ; +0xf, 0x14012ab9f mov rsi, r8 ; +0x12, 0x14012aba2 mov rdi, rdx ; +0x15, 0x14012aba5 mov rbx, rcx ; +0x18, 0x14012aba8 cmp [rcx+70h], eax ; +0x1b, 0x14012abab jnz loc_14012ACB4 ; +0x1e, 0x14012abae movzx eax, word ptr [rcx+8Ah] ; +0x24, 0x14012abb4 test ax, ax ; +0x2b, 0x14012abbb jnz short loc_14012AC1C ; +0x2e, 0x14012abbe mov rax, [rcx+58h] ; +0x30, 0x14012abc0 mov rdx, [rax+198h] ; +0x34, 0x14012abc4 mov rcx, [rdx+1C8h] ; +0x3b, 0x14012abcb call SliderThumb__getValue ; +0x42, 0x14012abd2 movss xmm1, dword ptr [rbx+0B4h] ; +0x47, 0x14012abd7 lea rcx, a02f; "%.02f" ; +0x4f, 0x14012abdf movss xmm2, dword ptr [rbx+0B0h] ; +0x56, 0x14012abe6 subss xmm2, xmm1 ; +0x5e, 0x14012abee mulss xmm2, xmm0 ; +0x62, 0x14012abf2 addss xmm2, xmm1 ; +0x66, 0x14012abf6 cvtps2pd xmm1, xmm2 ; +0x6a, 0x14012abfa movq rdx, xmm1 ; +0x6d, 0x14012abfd call cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x72, 0x14012ac02 mov rcx, rax ; +0x78, 0x14012ac08 call cs:?floatValue@CCString@cocos2d@@QEBAMXZ; cocos2d::CCString::floatValue(void) ; +0x7b, 0x14012ac0b mov rcx, [rbx+58h] ; +0x81, 0x14012ac11 movss dword ptr [rbx+74h], xmm0 ; +0x85, 0x14012ac15 jmp short loc_14012AC82 ; +0x8a, 0x14012ac1a cmp ax, 1 ; +0x8c, 0x14012ac1c jnz short loc_14012AC7E ; +0x90, 0x14012ac20 mov rax, [rcx+60h] ; +0x92, 0x14012ac22 mov rcx, [rax+198h] ; +0x96, 0x14012ac26 mov rcx, [rcx+1C8h] ; +0x9d, 0x14012ac2d call SliderThumb__getValue ; +0xa4, 0x14012ac34 movss xmm1, dword ptr [rbx+0B4h] ; +0xa9, 0x14012ac39 lea rcx, a02f; "%.02f" ; +0xb1, 0x14012ac41 movss xmm2, dword ptr [rbx+0B0h] ; +0xb8, 0x14012ac48 subss xmm2, xmm1 ; +0xc0, 0x14012ac50 mulss xmm2, xmm0 ; +0xc4, 0x14012ac54 addss xmm2, xmm1 ; +0xc8, 0x14012ac58 cvtps2pd xmm1, xmm2 ; +0xcc, 0x14012ac5c movq rdx, xmm1 ; +0xcf, 0x14012ac5f call cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0xd4, 0x14012ac64 mov rcx, rax ; +0xda, 0x14012ac6a call cs:?floatValue@CCString@cocos2d@@QEBAMXZ; cocos2d::CCString::floatValue(void) ; +0xdd, 0x14012ac6d mov rcx, [rbx+60h] ; +0xe3, 0x14012ac73 movss dword ptr [rbx+78h], xmm0 ; +0xe7, 0x14012ac77 jmp short loc_14012AC82 ; +0xec, 0x14012ac7c mov rcx, [rcx+68h] ; +0xee, 0x14012ac7e add rcx, 140h ; +0xf2, 0x14012ac82 mov r8, rsi ; +0xf9, 0x14012ac89 mov rdx, rdi ; +0xfc, 0x14012ac8c mov rax, [rcx] ; +0xff, 0x14012ac8f call qword ptr [rax+18h] ; +0x102, 0x14012ac92 cmp dword ptr [rbx+70h], 0FFFFFFFFh ; +0x105, 0x14012ac95 jz short loc_14012ACB4 ; +0x109, 0x14012ac99 mov rcx, [rbx+0A8h] ; +0x10b, 0x14012ac9b mov dword ptr [rbx+70h], 0FFFFFFFFh ; +0x112, 0x14012aca2 test rcx, rcx ; +0x119, 0x14012aca9 jz short loc_14012ACB4 ; +0x11c, 0x14012acac mov rax, [rcx] ; +0x11e, 0x14012acae call qword ptr [rax+20h] ; +0x121, 0x14012acb1 mov rbx, [rsp+28h+arg_0] ; +0x124, 0x14012acb4 mov rsi, [rsp+28h+arg_8] ; +0x129, 0x14012acb9 add rsp, 20h ; +0x12e, 0x14012acbe pop rdi ; +0x132, 0x14012acc2 retn ; +0x133, 0x14012acc3