; ; GJUINode::touchTest from 0x1404cf1b0 to 0x1404cf2b4 (260 bytes) ; ; 3 xrefs: ; > UIOptionsLayer::ccTouchBegan @ 0x1402a3db3 ; > UILayer::processUINodeTouch @ 0x1404ce639 ; > @ 0x1406dd5bc ; ; 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, 0x1404cf1b0 push rdi ; +0x5, 0x1404cf1b5 sub rsp, 20h ; +0x6, 0x1404cf1b6 mov rdi, rcx ; +0xa, 0x1404cf1ba mov rbx, rdx ; +0xd, 0x1404cf1bd add rcx, 150h ; +0x10, 0x1404cf1c0 call cs:?containsPoint@CCRect@cocos2d@@QEBA_NAEBVCCPoint@2@@Z; cocos2d::CCRect::containsPoint(cocos2d::CCPoint const &) ; +0x17, 0x1404cf1c7 test al, al ; +0x1d, 0x1404cf1cd jz loc_1404CF2A7 ; +0x1f, 0x1404cf1cf cmp byte ptr [rdi+182h], 0 ; +0x25, 0x1404cf1d5 jz short loc_1404CF1EE ; +0x2c, 0x1404cf1dc mov eax, 1 ; +0x2e, 0x1404cf1de mov rbx, [rsp+28h+arg_8] ; +0x33, 0x1404cf1e3 add rsp, 20h ; +0x38, 0x1404cf1e8 pop rdi ; +0x3c, 0x1404cf1ec retn ; +0x3d, 0x1404cf1ed cmp byte ptr [rdi+17Dh], 0 ; +0x3e, 0x1404cf1ee jz loc_1404CF283 ; +0x45, 0x1404cf1f5 cmp byte ptr [rdi+17Eh], 0 ; +0x4b, 0x1404cf1fb jnz short loc_1404CF20D ; +0x52, 0x1404cf202 cmp byte ptr [rdi+17Fh], 0 ; +0x54, 0x1404cf204 jnz short loc_1404CF283 ; +0x5b, 0x1404cf20b mov rdx, rbx ; +0x5d, 0x1404cf20d lea rcx, [rsp+28h+arg_10] ; +0x60, 0x1404cf210 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x65, 0x1404cf215 movss xmm2, cs:dword_1406231B0 ; +0x6b, 0x1404cf21b lea rcx, [rsp+28h+arg_18] ; +0x73, 0x1404cf223 xorps xmm1, xmm1 ; +0x78, 0x1404cf228 mov rbx, rax ; +0x7b, 0x1404cf22b call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x7e, 0x1404cf22e lea rdx, [rsp+28h+arg_0] ; +0x84, 0x1404cf234 mov rcx, rbx ; +0x89, 0x1404cf239 mov r8, rax ; +0x8c, 0x1404cf23c call cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x8f, 0x1404cf23f mov rcx, [rdi+140h] ; +0x95, 0x1404cf245 lea rdx, [rsp+28h+arg_0] ; +0x9c, 0x1404cf24c mov rax, [rcx] ; +0xa1, 0x1404cf251 call qword ptr [rax+0B8h] ; +0xa4, 0x1404cf254 mov rcx, [rdi+140h] ; +0xaa, 0x1404cf25a mov dl, 1 ; +0xb1, 0x1404cf261 mov rax, [rcx] ; +0xb3, 0x1404cf263 call qword ptr [rax+140h] ; +0xb6, 0x1404cf266 mov eax, 5 ; +0xbc, 0x1404cf26c mov byte ptr [rdi+17Fh], 1 ; +0xc1, 0x1404cf271 mov rbx, [rsp+28h+arg_8] ; +0xc8, 0x1404cf278 add rsp, 20h ; +0xcd, 0x1404cf27d pop rdi ; +0xd1, 0x1404cf281 retn ; +0xd2, 0x1404cf282 mov rdx, rbx ; +0xd3, 0x1404cf283 lea rcx, [rsp+28h+arg_0] ; +0xd6, 0x1404cf286 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0xdb, 0x1404cf28b mov rdx, rax ; +0xe1, 0x1404cf291 mov rcx, rdi ; +0xe4, 0x1404cf294 call GJUINode__activeTouchTest ; +0xe7, 0x1404cf297 mov rbx, [rsp+28h+arg_8] ; +0xec, 0x1404cf29c add rsp, 20h ; +0xf1, 0x1404cf2a1 pop rdi ; +0xf5, 0x1404cf2a5 retn ; +0xf6, 0x1404cf2a6 mov rbx, [rsp+28h+arg_8] ; +0xf7, 0x1404cf2a7 xor eax, eax ; +0xfc, 0x1404cf2ac add rsp, 20h ; +0xfe, 0x1404cf2ae pop rdi ; +0x102, 0x1404cf2b2 retn ; +0x103, 0x1404cf2b3