; ; DropdownListPopup::ccTouchBegan from 0x1401222c0 to 0x1401223bd (253 bytes) ; ; 3 xrefs: ; > @ 0x140732710 ; > @ 0x14091667c ; > @ 0x140916688 ; ; 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:26:57 +0000 ; mov [rsp+arg_8], rbx ; +0x0, 0x1401222c0 mov [rsp+arg_10], rbp ; +0x5, 0x1401222c5 mov [rsp+arg_18], rsi ; +0xa, 0x1401222ca push rdi ; +0xf, 0x1401222cf sub rsp, 20h ; +0x10, 0x1401222d0 mov rsi, rdx ; +0x14, 0x1401222d4 mov rdi, rcx ; +0x17, 0x1401222d7 mov rcx, rsi ; +0x1a, 0x1401222da lea rdx, [rsp+28h+arg_0] ; +0x1d, 0x1401222dd mov rbp, r8 ; +0x22, 0x1401222e2 call cs:?getLocation@CCTouch@cocos2d@@QEBA?AVCCPoint@2@XZ; cocos2d::CCTouch::getLocation(void) ; +0x25, 0x1401222e5 lea rcx, [rdi+238h] ; +0x2b, 0x1401222eb lea rdx, [rsp+28h+arg_0] ; +0x32, 0x1401222f2 lea rbx, [rdi-140h] ; +0x37, 0x1401222f7 call cs:?containsPoint@CCRect@cocos2d@@QEBA_NAEBVCCPoint@2@@Z; cocos2d::CCRect::containsPoint(cocos2d::CCPoint const &) ; +0x3e, 0x1401222fe test al, al ; +0x44, 0x140122304 jnz short loc_140122357 ; +0x46, 0x140122306 mov rcx, [rbx+3A0h] ; +0x48, 0x140122308 test rcx, rcx ; +0x4f, 0x14012230f jz short loc_140122327 ; +0x52, 0x140122312 mov qword ptr [rbx+3A0h], 0 ; +0x54, 0x140122314 mov rdx, rbx ; +0x5f, 0x14012231f mov rax, [rcx] ; +0x62, 0x140122322 call qword ptr [rax] ; +0x65, 0x140122325 mov rax, [rbx] ; +0x67, 0x140122327 xor edx, edx ; +0x6a, 0x14012232a mov rcx, rbx ; +0x6c, 0x14012232c call qword ptr [rax+3E0h] ; +0x6f, 0x14012232f mov rax, [rbx] ; +0x75, 0x140122335 mov dl, 1 ; +0x78, 0x140122338 mov rcx, rbx ; +0x7a, 0x14012233a call qword ptr [rax+208h] ; +0x7d, 0x14012233d lea rcx, [rdi+248h] ; +0x83, 0x140122343 lea rdx, [rsp+28h+arg_0] ; +0x8a, 0x14012234a call cs:?containsPoint@CCRect@cocos2d@@QEBA_NAEBVCCPoint@2@@Z; cocos2d::CCRect::containsPoint(cocos2d::CCPoint const &) ; +0x8f, 0x14012234f jmp short loc_1401223A8 ; +0x95, 0x140122355 mov rcx, [rbx+2D0h] ; +0x97, 0x140122357 test rcx, rcx ; +0x9e, 0x14012235e jz short loc_14012236B ; +0xa1, 0x140122361 mov rdx, rsi ; +0xa3, 0x140122363 call ScrollableContentLayer__handleTouchBegan ; +0xa6, 0x140122366 mov rcx, [rdi+188h] ; +0xab, 0x14012236b test rcx, rcx ; +0xb2, 0x140122372 jnz short loc_140122383 ; +0xb5, 0x140122375 mov rcx, [rdi+0E8h] ; +0xb7, 0x140122377 test rcx, rcx ; +0xbe, 0x14012237e jz short loc_14012239E ; +0xc1, 0x140122381 add rcx, 140h ; +0xc3, 0x140122383 mov r8, rbp ; +0xca, 0x14012238a mov rdx, rsi ; +0xcd, 0x14012238d mov rax, [rcx] ; +0xd0, 0x140122390 call qword ptr [rax+8] ; +0xd3, 0x140122393 test al, al ; +0xd6, 0x140122396 jz short loc_14012239E ; +0xd8, 0x140122398 mov al, 1 ; +0xda, 0x14012239a jmp short loc_1401223A0 ; +0xdc, 0x14012239c xor al, al ; +0xde, 0x14012239e mov [rdi+198h], al ; +0xe0, 0x1401223a0 mov al, 1 ; +0xe6, 0x1401223a6 mov rbx, [rsp+28h+arg_8] ; +0xe8, 0x1401223a8 mov rbp, [rsp+28h+arg_10] ; +0xed, 0x1401223ad mov rsi, [rsp+28h+arg_18] ; +0xf2, 0x1401223b2 add rsp, 20h ; +0xf7, 0x1401223b7 pop rdi ; +0xfb, 0x1401223bb retn ; +0xfc, 0x1401223bc