{"type": "func", "start": 4300316304, "end": 4300316448, "name": "NewsPopup::ccTouchEnded", "pseudocode": "// \n// NewsPopup::ccTouchEnded from 0x100519e90 to 0x100519f20 (144 bytes)\n// \n// 2 xrefs:\n// > sub_100519F20 @ 0x100519f24\n// > <???> @ 0x10099ce40\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:07:08 +0000\n// \n\n__int64 __fastcall NewsPopup::ccTouchEnded(__int64 a1, __int64 a2)\n{\n  __int64 v4; // x0\n  int v5; // w22\n  __int64 v6; // x8\n  _QWORD *v7; // x0\n\n  v4 = *(_QWORD *)(a1 + 712);\n  if ( v4 )\n  {\n    v5 = *(unsigned __int8 *)(v4 + 480);\n    sub_100525820(v4, a2);\n    v6 = 912;\n    if ( v5 )\n      v6 = 920;\n  }\n  else\n  {\n    v6 = 912;\n  }\n  if ( *(_BYTE *)(a1 + 728) == 1 )\n  {\n    v7 = *(_QWORD **)(a1 + 720);\n    if ( v7 )\n    {\n      (*(void (**)(void))(*v7 + v6))();\n      *(_BYTE *)(a1 + 728) = 0;\n    }\n  }\n  return FLAlertLayer::ccTouchEnded(a1, a2);\n}", "assembly": "; \n; NewsPopup::ccTouchEnded from 0x100519e90 to 0x100519f20 (144 bytes)\n; \n; 2 xrefs:\n; > sub_100519F20 @ 0x100519f24\n; > <???> @ 0x10099ce40\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:07:08 +0000\n; \nSTP             X22, X21, [SP,#-0x10+var_20]!                          ; +0x0, 0x100519e90\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x100519e94\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x100519e98\nADD             X29, SP, #0x20                                         ; +0xc, 0x100519e9c\nMOV             X19, X2                                                ; +0x10, 0x100519ea0\nMOV             X20, X1                                                ; +0x14, 0x100519ea4\nMOV             X21, X0                                                ; +0x18, 0x100519ea8\nLDR             X0, [X0,#0x2C8]                                        ; +0x1c, 0x100519eac\nCBZ             X0, loc_100519ED4                                      ; +0x20, 0x100519eb0\nLDRB            W22, [X0,#0x1E0]                                       ; +0x24, 0x100519eb4\nMOV             X1, X20                                                ; +0x28, 0x100519eb8\nBL              sub_100525820                                          ; +0x2c, 0x100519ebc\nCMP             W22, #0                                                ; +0x30, 0x100519ec0\nMOV             W8, #0x390                                             ; +0x34, 0x100519ec4\nMOV             W9, #0x398                                             ; +0x38, 0x100519ec8\nCSEL            X8, X9, X8, NE                                         ; +0x3c, 0x100519ecc\nB               loc_100519ED8                                          ; +0x40, 0x100519ed0\nMOV             W8, #0x390                                             ; +0x44, 0x100519ed4\nLDRB            W9, [X21,#0x2D8]                                       ; +0x48, 0x100519ed8\nCMP             W9, #1                                                 ; +0x4c, 0x100519edc\nB.NE            loc_100519F04                                          ; +0x50, 0x100519ee0\nLDR             X0, [X21,#0x2D0]                                       ; +0x54, 0x100519ee4\nCBZ             X0, loc_100519F04                                      ; +0x58, 0x100519ee8\nLDR             X9, [X0]                                               ; +0x5c, 0x100519eec\nLDR             X8, [X9,X8]                                            ; +0x60, 0x100519ef0\nMOV             X1, X20                                                ; +0x64, 0x100519ef4\nMOV             X2, X19                                                ; +0x68, 0x100519ef8\nBLR             X8                                                     ; +0x6c, 0x100519efc\nSTRB            WZR, [X21,#0x2D8]                                      ; +0x70, 0x100519f00\nMOV             X0, X21                                                ; +0x74, 0x100519f04\nMOV             X1, X20                                                ; +0x78, 0x100519f08\nMOV             X2, X19                                                ; +0x7c, 0x100519f0c\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x80, 0x100519f10\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x84, 0x100519f14\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0x88, 0x100519f18\nB               FLAlertLayer__ccTouchEnded                             ; +0x8c, 0x100519f1c", "xrefs": ["sub_100519F20 @ 0x100519f24", "<???> @ 0x10099ce40"], "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"}