{"type": "func", "start": 6920308, "end": 6920424, "name": "FLAlertLayer::onButtonTag", "pseudocode": "// \n// FLAlertLayer::onButtonTag from 0x699874 to 0x6998e8 (116 bytes)\n// \n// 6 xrefs:\n// > FLAlertLayer::keyBackClicked @ 0x69993c\n// > FLAlertLayer::keyBackClicked @ 0x699950\n// > FLAlertLayer::keyBackClicked @ 0x699964\n// > FLAlertLayer::onButton @ 0x6999a0\n// > FLAlertLayer::keyDown @ 0x69adb4\n// > <???> @ 0xf5158\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 12:50:39 +0000\n// \n\n__int64 __fastcall FLAlertLayer::onButtonTag(FLAlertLayer *this, int a2)\n{\n  __int64 v4; // x0\n  cocos2d::CCTouchDispatcher *v5; // x0\n  void (__fastcall ***v6)(_QWORD, FLAlertLayer *, bool); // x0\n\n  v4 = cocos2d::CCDirector::sharedDirector(this);\n  v5 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 160LL))(v4);\n  cocos2d::CCTouchDispatcher::unregisterForcePrio(v5, this);\n  if ( a2 != 2 )\n  {\n    v6 = *((void (__fastcall ****)(_QWORD, FLAlertLayer *, bool))this + 70);\n    if ( v6 )\n      (**v6)(v6, this, a2 == 1);\n  }\n  return (*(__int64 (__fastcall **)(FLAlertLayer *, __int64))(*(_QWORD *)this + 528LL))(this, 1);\n}", "assembly": "; \n; FLAlertLayer::onButtonTag from 0x699874 to 0x6998e8 (116 bytes)\n; \n; 6 xrefs:\n; > FLAlertLayer::keyBackClicked @ 0x69993c\n; > FLAlertLayer::keyBackClicked @ 0x699950\n; > FLAlertLayer::keyBackClicked @ 0x699964\n; > FLAlertLayer::onButton @ 0x6999a0\n; > FLAlertLayer::keyDown @ 0x69adb4\n; > <???> @ 0xf5158\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 12:50:39 +0000\n; \nSTP             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0x699874\nMOV             X29, SP                                                ; +0x4, 0x699878\nSTP             X19, X20, [SP,#var_s10]                                ; +0x8, 0x69987c\nMOV             W20, W1                                                ; +0xc, 0x699880\nMOV             X19, X0                                                ; +0x10, 0x699884\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x14, 0x699888\nLDR             X1, [X0]                                               ; +0x18, 0x69988c\nLDR             X1, [X1,#0xA0]                                         ; +0x1c, 0x699890\nBLR             X1                                                     ; +0x20, 0x699894\nMOV             X1, X19; cocos2d::CCObject *                           ; +0x24, 0x699898\nBL              _ZN7cocos2d17CCTouchDispatcher19unregisterForcePrioEPNS_8CCObjectE; cocos2d::CCTouchDispatcher::unregisterForcePrio(cocos2d::CCObject *) ; +0x28, 0x69989c\nCMP             W20, #2                                                ; +0x2c, 0x6998a0\nB.EQ            loc_6998C8                                             ; +0x30, 0x6998a4\nLDR             X0, [X19,#0x230]                                       ; +0x34, 0x6998a8\nCBZ             X0, loc_6998C8                                         ; +0x38, 0x6998ac\nLDR             X3, [X0]                                               ; +0x3c, 0x6998b0\nCMP             W20, #1                                                ; +0x40, 0x6998b4\nMOV             X1, X19                                                ; +0x44, 0x6998b8\nCSET            W2, EQ                                                 ; +0x48, 0x6998bc\nLDR             X3, [X3]                                               ; +0x4c, 0x6998c0\nBLR             X3                                                     ; +0x50, 0x6998c4\nLDR             X2, [X19]                                              ; +0x54, 0x6998c8\nMOV             X0, X19                                                ; +0x58, 0x6998cc\nMOV             W1, #1                                                 ; +0x5c, 0x6998d0\nLDR             X2, [X2,#0x210]                                        ; +0x60, 0x6998d4\nBLR             X2                                                     ; +0x64, 0x6998d8\nLDP             X19, X20, [SP,#var_s10]                                ; +0x68, 0x6998dc\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x6c, 0x6998e0\nRET                                                                    ; +0x70, 0x6998e4", "xrefs": ["FLAlertLayer::keyBackClicked @ 0x69993c", "FLAlertLayer::keyBackClicked @ 0x699950", "FLAlertLayer::keyBackClicked @ 0x699964", "FLAlertLayer::onButton @ 0x6999a0", "FLAlertLayer::keyDown @ 0x69adb4", "<???> @ 0xf5158"], "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"}