{"type": "func", "start": 4299962908, "end": 4299963048, "name": "DropdownListPopup::ccTouchEnded", "pseudocode": "// \n// DropdownListPopup::ccTouchEnded from 0x1004c3a1c to 0x1004c3aa8 (140 bytes)\n// \n// 2 xrefs:\n// > sub_1004C3AA8 @ 0x1004c3aac\n// > <???> @ 0x1009850e8\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 11:06:21 +0000\n// \n\n__int64 __fastcall DropdownListPopup::ccTouchEnded(__int64 a1, __int64 a2)\n{\n  __int64 result; // x0\n  int v4; // w22\n  __int64 v5; // x8\n\n  result = *(_QWORD *)(a1 + 720);\n  if ( result )\n  {\n    v4 = *(unsigned __int8 *)(result + 480);\n    result = sub_100525820(result, a2);\n    v5 = 912;\n    if ( v4 )\n      v5 = 920;\n  }\n  else\n  {\n    v5 = 912;\n  }\n  if ( *(_BYTE *)(a1 + 728) == 1 )\n  {\n    result = *(_QWORD *)(a1 + 712);\n    if ( result || (result = *(_QWORD *)(a1 + 552)) != 0 )\n      result = (*(__int64 (**)(void))(*(_QWORD *)result + v5))();\n    *(_BYTE *)(a1 + 728) = 0;\n  }\n  return result;\n}", "assembly": "; \n; DropdownListPopup::ccTouchEnded from 0x1004c3a1c to 0x1004c3aa8 (140 bytes)\n; \n; 2 xrefs:\n; > sub_1004C3AA8 @ 0x1004c3aac\n; > <???> @ 0x1009850e8\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 11:06:21 +0000\n; \nSTP             X22, X21, [SP,#-0x10+var_20]!                          ; +0x0, 0x1004c3a1c\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x1004c3a20\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x1004c3a24\nADD             X29, SP, #0x20                                         ; +0xc, 0x1004c3a28\nMOV             X20, X2                                                ; +0x10, 0x1004c3a2c\nMOV             X21, X1                                                ; +0x14, 0x1004c3a30\nMOV             X19, X0                                                ; +0x18, 0x1004c3a34\nLDR             X0, [X0,#0x2D0]                                        ; +0x1c, 0x1004c3a38\nCBZ             X0, loc_1004C3A60                                      ; +0x20, 0x1004c3a3c\nLDRB            W22, [X0,#0x1E0]                                       ; +0x24, 0x1004c3a40\nMOV             X1, X21                                                ; +0x28, 0x1004c3a44\nBL              sub_100525820                                          ; +0x2c, 0x1004c3a48\nCMP             W22, #0                                                ; +0x30, 0x1004c3a4c\nMOV             W8, #0x390                                             ; +0x34, 0x1004c3a50\nMOV             W9, #0x398                                             ; +0x38, 0x1004c3a54\nCSEL            X8, X9, X8, NE                                         ; +0x3c, 0x1004c3a58\nB               loc_1004C3A64                                          ; +0x40, 0x1004c3a5c\nMOV             W8, #0x390                                             ; +0x44, 0x1004c3a60\nLDRB            W9, [X19,#0x2D8]                                       ; +0x48, 0x1004c3a64\nCMP             W9, #1                                                 ; +0x4c, 0x1004c3a68\nB.NE            loc_1004C3A98                                          ; +0x50, 0x1004c3a6c\nLDR             X0, [X19,#0x2C8]                                       ; +0x54, 0x1004c3a70\nCBNZ            X0, loc_1004C3A80                                      ; +0x58, 0x1004c3a74\nLDR             X0, [X19,#0x228]                                       ; +0x5c, 0x1004c3a78\nCBZ             X0, loc_1004C3A94                                      ; +0x60, 0x1004c3a7c\nLDR             X9, [X0]                                               ; +0x64, 0x1004c3a80\nLDR             X8, [X9,X8]                                            ; +0x68, 0x1004c3a84\nMOV             X1, X21                                                ; +0x6c, 0x1004c3a88\nMOV             X2, X20                                                ; +0x70, 0x1004c3a8c\nBLR             X8                                                     ; +0x74, 0x1004c3a90\nSTRB            WZR, [X19,#0x2D8]                                      ; +0x78, 0x1004c3a94\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x7c, 0x1004c3a98\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x80, 0x1004c3a9c\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0x84, 0x1004c3aa0\nRET                                                                    ; +0x88, 0x1004c3aa4", "xrefs": ["sub_1004C3AA8 @ 0x1004c3aac", "<???> @ 0x1009850e8"], "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"}