{"type": "func", "start": 13330300, "end": 13330536, "name": "DropdownListPopup::ccTouchBegan", "pseudocode": "// \n// DropdownListPopup::ccTouchBegan from 0xcb677c to 0xcb6868 (236 bytes)\n// \n// 3 xrefs:\n// > `non-virtual thunk to'DropdownListPopup::ccTouchBegan @ 0xcb686c\n// > <???> @ 0xf5908\n// > <???> @ 0x14f99c0\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 13:06:12 +0000\n// \n\n__int64 __fastcall DropdownListPopup::ccTouchBegan(__int64 a1, cocos2d::CCTouch *this, __int64 a3)\n{\n  unsigned __int8 v5; // w0\n  unsigned int v6; // w21\n  __int64 v7; // x2\n  ScrollableContentLayer *v8; // x0\n  __int64 v9; // x0\n  char v10; // w1\n  __int64 v13; // [xsp+50h] [xbp+50h] BYREF\n\n  cocos2d::CCTouch::getLocation(&v13, this);\n  v5 = cocos2d::CCRect::containsPoint((cocos2d::CCRect *)(a1 + 864), (const cocos2d::CCPoint *)&v13);\n  v6 = v5;\n  v7 = a3;\n  if ( v5 )\n  {\n    v8 = *(ScrollableContentLayer **)(a1 + 720);\n    if ( v8 )\n    {\n      ScrollableContentLayer::handleTouchBegan(v8, this);\n      v7 = a3;\n    }\n    v9 = *(_QWORD *)(a1 + 712);\n    if ( v9 || (v9 = *(_QWORD *)(a1 + 552), v10 = 0, v9) )\n      v10 = (*(__int64 (__fastcall **)(__int64, cocos2d::CCTouch *, __int64))(*(_QWORD *)v9 + 896LL))(v9, this, v7);\n    *(_BYTE *)(a1 + 728) = v10;\n  }\n  else\n  {\n    DropdownListPopup::closeSelf((DropdownListPopup *)a1);\n    return (unsigned __int8)cocos2d::CCRect::containsPoint(\n                              (cocos2d::CCRect *)(a1 + 880),\n                              (const cocos2d::CCPoint *)&v13);\n  }\n  return v6;\n}", "assembly": "; \n; DropdownListPopup::ccTouchBegan from 0xcb677c to 0xcb6868 (236 bytes)\n; \n; 3 xrefs:\n; > `non-virtual thunk to'DropdownListPopup::ccTouchBegan @ 0xcb686c\n; > <???> @ 0xf5908\n; > <???> @ 0x14f99c0\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 13:06:12 +0000\n; \nSTP             X29, X30, [SP,#var_60]!                                ; +0x0, 0xcb677c\nMOV             X29, SP                                                ; +0x4, 0xcb6780\nSTP             X19, X20, [SP,#0x60+var_50]                            ; +0x8, 0xcb6784\nADRP            X19, #__stack_chk_guard_ptr@PAGE                       ; +0xc, 0xcb6788\nSTR             X23, [SP,#0x60+var_30]                                 ; +0x10, 0xcb678c\nMOV             X20, X0                                                ; +0x14, 0xcb6790\nMOV             X23, X1                                                ; +0x18, 0xcb6794\nMOV             X0, X1; this                                           ; +0x1c, 0xcb6798\nSTR             X2, [X29,#0x60+var_18]                                 ; +0x20, 0xcb679c\nLDR             X1, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x24, 0xcb67a0\nSTP             X21, X22, [SP,#0x60+var_40]                            ; +0x28, 0xcb67a4\nADD             X22, X29, #0x60+var_10                                 ; +0x2c, 0xcb67a8\nLDR             X1, [X1]                                               ; +0x30, 0xcb67ac\nMOV             X8, X22                                                ; +0x34, 0xcb67b0\nSTR             X1, [X29,#0x60+var_8]                                  ; +0x38, 0xcb67b4\nBL              _ZNK7cocos2d7CCTouch11getLocationEv; cocos2d::CCTouch::getLocation(void) ; +0x3c, 0xcb67b8\nADD             X0, X20, #0x360; this                                  ; +0x40, 0xcb67bc\nMOV             X1, X22; cocos2d::CCPoint *                            ; +0x44, 0xcb67c0\nBL              _ZNK7cocos2d6CCRect13containsPointERKNS_7CCPointE; cocos2d::CCRect::containsPoint(cocos2d::CCPoint const&) ; +0x48, 0xcb67c4\nUXTB            W21, W0                                                ; +0x4c, 0xcb67c8\nLDR             X2, [X29,#0x60+var_18]                                 ; +0x50, 0xcb67cc\nCBZ             W21, loc_CB6838                                        ; +0x54, 0xcb67d0\nLDR             X0, [X20,#0x2D0]; this                                 ; +0x58, 0xcb67d4\nCBZ             X0, loc_CB67EC                                         ; +0x5c, 0xcb67d8\nMOV             X1, X23; cocos2d::CCTouch *                            ; +0x60, 0xcb67dc\nSTR             X2, [X29,#0x60+var_18]                                 ; +0x64, 0xcb67e0\nBL              _ZN22ScrollableContentLayer16handleTouchBeganEPN7cocos2d7CCTouchE; ScrollableContentLayer::handleTouchBegan(cocos2d::CCTouch *) ; +0x68, 0xcb67e4\nLDR             X2, [X29,#0x60+var_18]                                 ; +0x6c, 0xcb67e8\nLDR             X0, [X20,#0x2C8]                                       ; +0x70, 0xcb67ec\nCBZ             X0, loc_CB6854                                         ; +0x74, 0xcb67f0\nLDR             X3, [X0]                                               ; +0x78, 0xcb67f4\nMOV             X1, X23                                                ; +0x7c, 0xcb67f8\nLDR             X3, [X3,#0x380]                                        ; +0x80, 0xcb67fc\nBLR             X3                                                     ; +0x84, 0xcb6800\nUXTB            W1, W0                                                 ; +0x88, 0xcb6804\nSTRB            W1, [X20,#0x2D8]                                       ; +0x8c, 0xcb6808\nLDR             X19, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x90, 0xcb680c\nMOV             W0, W21                                                ; +0x94, 0xcb6810\nLDR             X2, [X29,#0x60+var_8]                                  ; +0x98, 0xcb6814\nLDR             X1, [X19]                                              ; +0x9c, 0xcb6818\nCMP             X2, X1                                                 ; +0xa0, 0xcb681c\nB.NE            loc_CB6864                                             ; +0xa4, 0xcb6820\nLDP             X19, X20, [SP,#0x60+var_50]                            ; +0xa8, 0xcb6824\nLDP             X21, X22, [SP,#0x60+var_40]                            ; +0xac, 0xcb6828\nLDR             X23, [SP,#0x60+var_30]                                 ; +0xb0, 0xcb682c\nLDP             X29, X30, [SP+0x60+var_60],#0x60                       ; +0xb4, 0xcb6830\nRET                                                                    ; +0xb8, 0xcb6834\nMOV             X0, X20; this                                          ; +0xbc, 0xcb6838\nBL              _ZN17DropdownListPopup9closeSelfEv; DropdownListPopup::closeSelf(void) ; +0xc0, 0xcb683c\nADD             X0, X20, #0x370; this                                  ; +0xc4, 0xcb6840\nMOV             X1, X22; cocos2d::CCPoint *                            ; +0xc8, 0xcb6844\nBL              _ZNK7cocos2d6CCRect13containsPointERKNS_7CCPointE; cocos2d::CCRect::containsPoint(cocos2d::CCPoint const&) ; +0xcc, 0xcb6848\nUXTB            W21, W0                                                ; +0xd0, 0xcb684c\nB               loc_CB680C                                             ; +0xd4, 0xcb6850\nLDR             X0, [X20,#0x228]                                       ; +0xd8, 0xcb6854\nMOV             W1, #0                                                 ; +0xdc, 0xcb6858\nCBZ             X0, loc_CB6808                                         ; +0xe0, 0xcb685c\nB               loc_CB67F4                                             ; +0xe4, 0xcb6860\nBL              .__stack_chk_fail                                      ; +0xe8, 0xcb6864", "xrefs": ["`non-virtual thunk to'DropdownListPopup::ccTouchBegan @ 0xcb686c", "<???> @ 0xf5908", "<???> @ 0x14f99c0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}