{"type": "func", "start": 4298422296, "end": 4298422408, "name": "FLAlertLayer::onButtonTag", "pseudocode": "// \n// FLAlertLayer::onButtonTag from 0x10034b818 to 0x10034b888 (112 bytes)\n// \n// 3 xrefs:\n// > FLAlertLayer::onButton @ 0x10034b6cc\n// > FLAlertLayer::keyDown @ 0x10034b810\n// > FLAlertLayer::keyBackClicked @ 0x10034b8e4\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:03:17 +0000\n// \n\n__int64 __fastcall FLAlertLayer::onButtonTag(_QWORD *a1, int a2)\n{\n  __int64 v4; // x0\n  __int64 v5; // x0\n  void (__fastcall ***v6)(_QWORD, _QWORD *, bool); // x0\n\n  v4 = cocos2d::CCDirector::sharedDirector();\n  v5 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 160LL))(v4);\n  cocos2d::CCTouchDispatcher::unregisterForcePrio(v5, (__int64)a1);\n  if ( a2 != 2 )\n  {\n    v6 = (void (__fastcall ***)(_QWORD, _QWORD *, bool))a1[70];\n    if ( v6 )\n      (**v6)(v6, a1, a2 == 1);\n  }\n  return (*(__int64 (__fastcall **)(_QWORD *, __int64))(*a1 + 528LL))(a1, 1);\n}", "assembly": "; \n; FLAlertLayer::onButtonTag from 0x10034b818 to 0x10034b888 (112 bytes)\n; \n; 3 xrefs:\n; > FLAlertLayer::onButton @ 0x10034b6cc\n; > FLAlertLayer::keyDown @ 0x10034b810\n; > FLAlertLayer::keyBackClicked @ 0x10034b8e4\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:03:17 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x10034b818\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x10034b81c\nADD             X29, SP, #0x10                                         ; +0x8, 0x10034b820\nMOV             X20, X1                                                ; +0xc, 0x10034b824\nMOV             X19, X0                                                ; +0x10, 0x10034b828\nBL              cocos2d__CCDirector__sharedDirector                    ; +0x14, 0x10034b82c\nLDR             X8, [X0]                                               ; +0x18, 0x10034b830\nLDR             X8, [X8,#0xA0]                                         ; +0x1c, 0x10034b834\nBLR             X8                                                     ; +0x20, 0x10034b838\nMOV             X1, X19                                                ; +0x24, 0x10034b83c\nBL              cocos2d__CCTouchDispatcher__unregisterForcePrio        ; +0x28, 0x10034b840\nCMP             W20, #2                                                ; +0x2c, 0x10034b844\nB.EQ            loc_10034B86C                                          ; +0x30, 0x10034b848\nLDR             X0, [X19,#0x230]                                       ; +0x34, 0x10034b84c\nCBZ             X0, loc_10034B86C                                      ; +0x38, 0x10034b850\nCMP             W20, #1                                                ; +0x3c, 0x10034b854\nCSET            W2, EQ                                                 ; +0x40, 0x10034b858\nLDR             X8, [X0]                                               ; +0x44, 0x10034b85c\nLDR             X8, [X8]                                               ; +0x48, 0x10034b860\nMOV             X1, X19                                                ; +0x4c, 0x10034b864\nBLR             X8                                                     ; +0x50, 0x10034b868\nLDR             X8, [X19]                                              ; +0x54, 0x10034b86c\nLDR             X2, [X8,#0x210]                                        ; +0x58, 0x10034b870\nMOV             X0, X19                                                ; +0x5c, 0x10034b874\nMOV             W1, #1                                                 ; +0x60, 0x10034b878\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x64, 0x10034b87c\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x68, 0x10034b880\nBR              X2                                                     ; +0x6c, 0x10034b884", "xrefs": ["FLAlertLayer::onButton @ 0x10034b6cc", "FLAlertLayer::keyDown @ 0x10034b810", "FLAlertLayer::keyBackClicked @ 0x10034b8e4"], "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"}