; ; GJTransformControl::ccTouchEnded from 0x14012cc10 to 0x14012ce07 (503 bytes) ; ; 4 xrefs: ; > @ 0x140552c70 ; > @ 0x140670c1c ; > @ 0x140670c2c ; > @ 0x1406c9c78 ; ; 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 ; push rbx ; +0x0, 0x14012cc10 push rsi ; +0x2, 0x14012cc12 push rdi ; +0x3, 0x14012cc13 sub rsp, 30h ; +0x4, 0x14012cc14 mov rsi, rcx ; +0x8, 0x14012cc18 mov rbx, rdx ; +0xb, 0x14012cc1b lea rcx, [rsp+48h+arg_0] ; +0xe, 0x14012cc1e xor dil, dil ; +0x13, 0x14012cc23 call cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x16, 0x14012cc26 mov eax, [rbx+38h] ; +0x1c, 0x14012cc2c cmp [rsi+70h], eax ; +0x1f, 0x14012cc2f jnz loc_14012CDE0 ; +0x22, 0x14012cc32 movzx eax, word ptr [rsi+74h] ; +0x28, 0x14012cc38 cmp ax, 1 ; +0x2c, 0x14012cc3c jnz loc_14012CCE7 ; +0x30, 0x14012cc40 cmp qword ptr [rsi+78h], 0 ; +0x36, 0x14012cc46 mov dword ptr [rsi+70h], 0FFFFFFFFh ; +0x3b, 0x14012cc4b jz loc_14012CD02 ; +0x42, 0x14012cc52 mov rcx, [rsi+0B8h] ; +0x48, 0x14012cc58 xor edx, edx ; +0x4f, 0x14012cc5f call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x51, 0x14012cc61 mov rcx, [rsi+78h] ; +0x57, 0x14012cc67 mov rdx, [rax] ; +0x5b, 0x14012cc6b mov rdi, [rcx] ; +0x5e, 0x14012cc6e mov rcx, rax ; +0x61, 0x14012cc71 call qword ptr [rdx+0C8h] ; +0x64, 0x14012cc74 mov r8, rax ; +0x6a, 0x14012cc7a lea rdx, [rsp+48h+arg_8] ; +0x6d, 0x14012cc7d lea rcx, [rsi-140h] ; +0x72, 0x14012cc82 call cs:?convertToWorldSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToWorldSpace(cocos2d::CCPoint const &) ; +0x79, 0x14012cc89 mov rcx, [rsi+78h] ; +0x7f, 0x14012cc8f mov rdx, rax ; +0x83, 0x14012cc93 call qword ptr [rdi+68h] ; +0x86, 0x14012cc96 mov rcx, [rsi+0B8h] ; +0x89, 0x14012cc99 xor edx, edx ; +0x90, 0x14012cca0 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x92, 0x14012cca2 lea rdx, dword_1406C1AA8 ; +0x98, 0x14012cca8 mov rcx, rax ; +0x9f, 0x14012ccaf mov r8, [rax] ; +0xa2, 0x14012ccb2 call qword ptr [r8+0B8h] ; +0xa5, 0x14012ccb5 mov rcx, [rsi+68h] ; +0xac, 0x14012ccbc xor edx, edx ; +0xb0, 0x14012ccc0 mov dil, 1 ; +0xb2, 0x14012ccc2 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0xb5, 0x14012ccc5 mov rcx, rax ; +0xbb, 0x14012cccb mov rdx, [rax] ; +0xbe, 0x14012ccce call qword ptr [rdx+0C8h] ; +0xc1, 0x14012ccd1 mov rdx, rax ; +0xc7, 0x14012ccd7 lea rcx, [rsp+48h+arg_0] ; +0xca, 0x14012ccda call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0xcf, 0x14012ccdf jmp short loc_14012CD14 ; +0xd5, 0x14012cce5 test ax, ax ; +0xd7, 0x14012cce7 jz short loc_14012CD02 ; +0xda, 0x14012ccea mov rcx, [rsi+78h] ; +0xdc, 0x14012ccec mov dword ptr [rsi+70h], 0FFFFFFFFh ; +0xe0, 0x14012ccf0 test rcx, rcx ; +0xe7, 0x14012ccf7 jz short loc_14012CD02 ; +0xea, 0x14012ccfa mov rax, [rcx] ; +0xec, 0x14012ccfc call qword ptr [rax+58h] ; +0xef, 0x14012ccff movzx eax, word ptr [rsi+74h] ; +0xf2, 0x14012cd02 sub ax, 0Ah ; +0xf6, 0x14012cd06 cmp ax, 1 ; +0xfa, 0x14012cd0a ja loc_14012CDE8 ; +0xfe, 0x14012cd0e mov r8b, 1 ; +0x104, 0x14012cd14 mov [rsp+48h+arg_10], rbp ; +0x107, 0x14012cd17 xor edx, edx ; +0x10c, 0x14012cd1c lea rcx, [rsi-140h] ; +0x10e, 0x14012cd1e call GJTransformControl__updateButtons ; +0x115, 0x14012cd25 xor eax, eax ; +0x11a, 0x14012cd2a lea rcx, [rsi-140h] ; +0x11c, 0x14012cd2c xor r8d, r8d ; +0x123, 0x14012cd33 mov [rsi+74h], ax ; +0x126, 0x14012cd36 xor edx, edx ; +0x12a, 0x14012cd3a call GJTransformControl__updateButtons ; +0x12c, 0x14012cd3c test dil, dil ; +0x131, 0x14012cd41 jz loc_14012CDDB ; +0x134, 0x14012cd44 mov rcx, [rsi+68h] ; +0x13a, 0x14012cd4a xor edx, edx ; +0x13e, 0x14012cd4e call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x140, 0x14012cd50 mov rcx, rax ; +0x146, 0x14012cd56 mov rdx, [rax] ; +0x149, 0x14012cd59 call qword ptr [rdx+0C8h] ; +0x14c, 0x14012cd5c mov rdx, rax ; +0x152, 0x14012cd62 lea rcx, [rsp+48h+arg_8] ; +0x155, 0x14012cd65 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x15a, 0x14012cd6a lea r8, [rsp+48h+arg_8] ; +0x160, 0x14012cd70 lea rdx, [rsp+48h+arg_18] ; +0x165, 0x14012cd75 lea rcx, [rsp+48h+arg_0] ; +0x16a, 0x14012cd7a call cs:??GCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator-(cocos2d::CCPoint const &) ; +0x16f, 0x14012cd7f mov rbx, [rsi+78h] ; +0x175, 0x14012cd85 lea rdx, [rsp+48h+arg_18] ; +0x179, 0x14012cd89 lea rcx, [rsp+48h+var_28] ; +0x17e, 0x14012cd8e call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x183, 0x14012cd93 mov rdx, [rbx] ; +0x189, 0x14012cd99 mov rcx, rbx ; +0x18c, 0x14012cd9c mov rdi, rax ; +0x18f, 0x14012cd9f call qword ptr [rdx+78h] ; +0x192, 0x14012cda2 mov r9, [rsi+68h] ; +0x195, 0x14012cda5 lea rdx, [rsp+48h+var_20] ; +0x199, 0x14012cda9 mov rcx, rax ; +0x19e, 0x14012cdae mov r8, rdi ; +0x1a1, 0x14012cdb1 call EditorUI__checkDiffAfterTransformAnchor ; +0x1a4, 0x14012cdb4 mov r8b, 1 ; +0x1a9, 0x14012cdb9 lea rcx, [rsi-140h] ; +0x1ac, 0x14012cdbc xor edx, edx ; +0x1b3, 0x14012cdc3 call GJTransformControl__updateButtons ; +0x1b5, 0x14012cdc5 xor r8d, r8d ; +0x1ba, 0x14012cdca lea rcx, [rsi-140h] ; +0x1bd, 0x14012cdcd xor edx, edx ; +0x1c4, 0x14012cdd4 call GJTransformControl__updateButtons ; +0x1c6, 0x14012cdd6 mov rbp, [rsp+48h+arg_10] ; +0x1cb, 0x14012cddb add rsp, 30h ; +0x1d0, 0x14012cde0 pop rdi ; +0x1d4, 0x14012cde4 pop rsi ; +0x1d5, 0x14012cde5 pop rbx ; +0x1d6, 0x14012cde6 retn ; +0x1d7, 0x14012cde7 xor eax, eax ; +0x1d8, 0x14012cde8 lea rcx, [rsi-140h] ; +0x1da, 0x14012cdea xor r8d, r8d ; +0x1e1, 0x14012cdf1 mov [rsi+74h], ax ; +0x1e4, 0x14012cdf4 xor edx, edx ; +0x1e8, 0x14012cdf8 call GJTransformControl__updateButtons ; +0x1ea, 0x14012cdfa add rsp, 30h ; +0x1ef, 0x14012cdff pop rdi ; +0x1f3, 0x14012ce03 pop rsi ; +0x1f4, 0x14012ce04 pop rbx ; +0x1f5, 0x14012ce05 retn ; +0x1f6, 0x14012ce06