{"type": "func", "start": 7827646, "end": 7827718, "name": "DropdownListPopup::ccTouchEnded", "pseudocode": "// \n// DropdownListPopup::ccTouchEnded from 0x7770be to 0x777106 (72 bytes)\n// \n// 1 xrefs:\n// > `non-virtual thunk to'DropdownListPopup::ccTouchEnded @ 0x77710a\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:59:20 +0000\n// \n\nint __fastcall DropdownListPopup::ccTouchEnded(int a1, cocos2d::CCTouch *a2)\n{\n  int result; // r0\n  int v4; // r7\n  int v5; // r3\n  int (*v6)(void); // r3\n\n  result = *(_DWORD *)(a1 + 548);\n  if ( result )\n  {\n    v4 = *(unsigned __int8 *)(result + 376);\n    result = ScrollableContentLayer::handleTouchEnded(result, a2);\n  }\n  else\n  {\n    v4 = 0;\n  }\n  if ( *(_BYTE *)(a1 + 552) )\n  {\n    result = *(_DWORD *)(a1 + 544);\n    if ( result || (result = *(_DWORD *)(a1 + 444)) != 0 )\n    {\n      v5 = *(_DWORD *)result;\n      if ( v4 )\n        v6 = *(int (**)(void))(v5 + 460);\n      else\n        v6 = *(int (**)(void))(v5 + 456);\n      result = v6();\n    }\n    *(_BYTE *)(a1 + 552) = 0;\n  }\n  return result;\n}", "assembly": "; \n; DropdownListPopup::ccTouchEnded from 0x7770be to 0x777106 (72 bytes)\n; \n; 1 xrefs:\n; > `non-virtual thunk to'DropdownListPopup::ccTouchEnded @ 0x77710a\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:59:20 +0000\n; \nPUSH            {R3-R7,LR}                                             ; +0x0, 0x7770be\nMOV             R4, R0                                                 ; +0x2, 0x7770c0\nLDR.W           R0, [R0,#0x224]; this                                  ; +0x4, 0x7770c2\nMOV             R6, R1                                                 ; +0x8, 0x7770c6\nMOV             R5, R2                                                 ; +0xa, 0x7770c8\nCBZ             R0, loc_7770D6                                         ; +0xc, 0x7770ca\nLDRB.W          R7, [R0,#0x178]                                        ; +0xe, 0x7770cc\nBL              _ZN22ScrollableContentLayer16handleTouchEndedEPN7cocos2d7CCTouchE; ScrollableContentLayer::handleTouchEnded(cocos2d::CCTouch *) ; +0x12, 0x7770d0\nB               loc_7770D8                                             ; +0x16, 0x7770d4\nMOV             R7, R0                                                 ; +0x18, 0x7770d6\nLDRB.W          R3, [R4,#0x228]                                        ; +0x1a, 0x7770d8\nCBZ             R3, locret_777104                                      ; +0x1e, 0x7770dc\nLDR.W           R0, [R4,#0x220]                                        ; +0x20, 0x7770de\nCBNZ            R0, loc_7770EA                                         ; +0x24, 0x7770e2\nLDR.W           R0, [R4,#0x1BC]                                        ; +0x26, 0x7770e4\nCBZ             R0, loc_7770FE                                         ; +0x2a, 0x7770e8\nLDR             R3, [R0]                                               ; +0x2c, 0x7770ea\nCBZ             R7, loc_7770F4                                         ; +0x2e, 0x7770ec\nLDR.W           R3, [R3,#0x1CC]                                        ; +0x30, 0x7770ee\nB               loc_7770F8                                             ; +0x34, 0x7770f2\nLDR.W           R3, [R3,#0x1C8]                                        ; +0x36, 0x7770f4\nMOV             R1, R6                                                 ; +0x3a, 0x7770f8\nMOV             R2, R5                                                 ; +0x3c, 0x7770fa\nBLX             R3                                                     ; +0x3e, 0x7770fc\nMOVS            R3, #0                                                 ; +0x40, 0x7770fe\nSTRB.W          R3, [R4,#0x228]                                        ; +0x42, 0x777100\nPOP             {R3-R7,PC}                                             ; +0x46, 0x777104", "xrefs": ["`non-virtual thunk to'DropdownListPopup::ccTouchEnded @ 0x77710a"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}