{"type": "func", "start": 13328524, "end": 13328672, "name": "DropdownListPopup::ccTouchEnded", "pseudocode": "// \n// DropdownListPopup::ccTouchEnded from 0xcb608c to 0xcb6120 (148 bytes)\n// \n// 3 xrefs:\n// > `non-virtual thunk to'DropdownListPopup::ccTouchEnded @ 0xcb6124\n// > <???> @ 0x845b0\n// > <???> @ 0x14f99d0\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::ccTouchEnded(__int64 a1, cocos2d::CCTouch *a2)\n{\n  __int64 v3; // x3\n  int v4; // w21\n  __int64 result; // x0\n  __int64 v6; // x3\n\n  v3 = *(_QWORD *)(a1 + 720);\n  if ( v3 )\n  {\n    v4 = *(unsigned __int8 *)(v3 + 480);\n    ScrollableContentLayer::handleTouchEnded(*(_QWORD *)(a1 + 720), a2);\n  }\n  else\n  {\n    v4 = 0;\n  }\n  result = *(unsigned __int8 *)(a1 + 728);\n  if ( *(_BYTE *)(a1 + 728) )\n  {\n    result = *(_QWORD *)(a1 + 712);\n    if ( result || (result = *(_QWORD *)(a1 + 552)) != 0 )\n    {\n      v6 = *(_QWORD *)result;\n      if ( v4 )\n        result = (*(__int64 (**)(void))(v6 + 920))();\n      else\n        result = (*(__int64 (**)(void))(v6 + 912))();\n      *(_BYTE *)(a1 + 728) = 0;\n    }\n    else\n    {\n      *(_BYTE *)(a1 + 728) = 0;\n    }\n  }\n  return result;\n}", "assembly": "; \n; DropdownListPopup::ccTouchEnded from 0xcb608c to 0xcb6120 (148 bytes)\n; \n; 3 xrefs:\n; > `non-virtual thunk to'DropdownListPopup::ccTouchEnded @ 0xcb6124\n; > <???> @ 0x845b0\n; > <???> @ 0x14f99d0\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_40]!                                ; +0x0, 0xcb608c\nMOV             X29, SP                                                ; +0x4, 0xcb6090\nSTP             X19, X20, [SP,#0x40+var_30]                            ; +0x8, 0xcb6094\nSTR             X21, [SP,#0x40+var_20]                                 ; +0xc, 0xcb6098\nMOV             X19, X0                                                ; +0x10, 0xcb609c\nMOV             X20, X1                                                ; +0x14, 0xcb60a0\nLDR             X3, [X0,#0x2D0]                                        ; +0x18, 0xcb60a4\nCBZ             X3, loc_CB6108                                         ; +0x1c, 0xcb60a8\nMOV             X0, X3; this                                           ; +0x20, 0xcb60ac\nSTR             X2, [X29,#0x40+var_8]                                  ; +0x24, 0xcb60b0\nLDRB            W21, [X3,#0x1E0]                                       ; +0x28, 0xcb60b4\nBL              _ZN22ScrollableContentLayer16handleTouchEndedEPN7cocos2d7CCTouchE; ScrollableContentLayer::handleTouchEnded(cocos2d::CCTouch *) ; +0x2c, 0xcb60b8\nLDR             X2, [X29,#0x40+var_8]                                  ; +0x30, 0xcb60bc\nLDRB            W0, [X19,#0x2D8]                                       ; +0x34, 0xcb60c0\nCBZ             W0, loc_CB60E8                                         ; +0x38, 0xcb60c4\nLDR             X0, [X19,#0x2C8]                                       ; +0x3c, 0xcb60c8\nCBZ             X0, loc_CB6110                                         ; +0x40, 0xcb60cc\nLDR             X3, [X0]                                               ; +0x44, 0xcb60d0\nMOV             X1, X20                                                ; +0x48, 0xcb60d4\nCBZ             W21, loc_CB60F8                                        ; +0x4c, 0xcb60d8\nLDR             X3, [X3,#0x398]                                        ; +0x50, 0xcb60dc\nBLR             X3                                                     ; +0x54, 0xcb60e0\nSTRB            WZR, [X19,#0x2D8]                                      ; +0x58, 0xcb60e4\nLDP             X19, X20, [SP,#0x40+var_30]                            ; +0x5c, 0xcb60e8\nLDR             X21, [SP,#0x40+var_20]                                 ; +0x60, 0xcb60ec\nLDP             X29, X30, [SP+0x40+var_40],#0x40                       ; +0x64, 0xcb60f0\nRET                                                                    ; +0x68, 0xcb60f4\nLDR             X3, [X3,#0x390]                                        ; +0x6c, 0xcb60f8\nBLR             X3                                                     ; +0x70, 0xcb60fc\nSTRB            WZR, [X19,#0x2D8]                                      ; +0x74, 0xcb6100\nB               loc_CB60E8                                             ; +0x78, 0xcb6104\nMOV             W21, #0                                                ; +0x7c, 0xcb6108\nB               loc_CB60C0                                             ; +0x80, 0xcb610c\nLDR             X0, [X19,#0x228]                                       ; +0x84, 0xcb6110\nCBNZ            X0, loc_CB60D0                                         ; +0x88, 0xcb6114\nSTRB            WZR, [X19,#0x2D8]                                      ; +0x8c, 0xcb6118\nB               loc_CB60E8                                             ; +0x90, 0xcb611c", "xrefs": ["`non-virtual thunk to'DropdownListPopup::ccTouchEnded @ 0xcb6124", "<???> @ 0x845b0", "<???> @ 0x14f99d0"], "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"}