{"type": "func", "start": 4297771496, "end": 4297771592, "name": "FLAlertLayer::onBtn1", "pseudocode": "// \n// FLAlertLayer::onBtn1 from 0x1002ac9e8 to 0x1002aca48 (96 bytes)\n// \n// 2 xrefs:\n// > FLAlertLayer::keyBackClicked @ 0x1002acb34\n// > FLAlertLayer::init @ 0x1002ac614\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall FLAlertLayer::onBtn1(FLAlertLayer *a1, cocos2d::CCObject *a2)\n{\n  cocos2d::CCDirector *v3; // x0\n  cocos2d::CCTouchDispatcher *v4; // x0\n  FLAlertLayerProtocol *m_alertProtocol; // x0\n\n  v3 = cocos2d::CCDirector::sharedDirector();\n  v4 = (cocos2d::CCTouchDispatcher *)((__int64 (__fastcall *)(cocos2d::CCDirector *))v3->getTouchDispatcher)(v3);\n  cocos2d::CCTouchDispatcher::unregisterForcePrio(v4, a1);\n  m_alertProtocol = a1->m_alertProtocol;\n  if ( m_alertProtocol )\n    ((void (__fastcall *)(FLAlertLayerProtocol *, FLAlertLayer *, _QWORD))m_alertProtocol->FLAlert_Clicked)(\n      m_alertProtocol,\n      a1,\n      0);\n  ((void (__fastcall *)(FLAlertLayer *, __int64))a1->removeFromParentAndCleanup)(a1, 1);\n}", "assembly": "; \n; FLAlertLayer::onBtn1 from 0x1002ac9e8 to 0x1002aca48 (96 bytes)\n; \n; 2 xrefs:\n; > FLAlertLayer::keyBackClicked @ 0x1002acb34\n; > FLAlertLayer::init @ 0x1002ac614\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1002ac9e8\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1002ac9ec\nADD             X29, SP, #0x10                                         ; +0x8, 0x1002ac9f0\nMOV             X19, X0                                                ; +0xc, 0x1002ac9f4\nBL              cocos2d__CCDirector__sharedDirector                    ; +0x10, 0x1002ac9f8\nLDR             X8, [X0]                                               ; +0x14, 0x1002ac9fc\nLDR             X8, [X8,#0xA0]                                         ; +0x18, 0x1002aca00\nBLR             X8                                                     ; +0x1c, 0x1002aca04\nMOV             X1, X19                                                ; +0x20, 0x1002aca08\nBL              cocos2d__CCTouchDispatcher__unregisterForcePrio        ; +0x24, 0x1002aca0c\nLDR             X0, [X19,#0x228]                                       ; +0x28, 0x1002aca10\nCBZ             X0, loc_1002ACA2C                                      ; +0x2c, 0x1002aca14\nLDR             X8, [X0]                                               ; +0x30, 0x1002aca18\nLDR             X8, [X8]                                               ; +0x34, 0x1002aca1c\nMOV             X1, X19                                                ; +0x38, 0x1002aca20\nMOV             W2, #0                                                 ; +0x3c, 0x1002aca24\nBLR             X8                                                     ; +0x40, 0x1002aca28\nLDR             X8, [X19]                                              ; +0x44, 0x1002aca2c\nLDR             X2, [X8,#0x200]                                        ; +0x48, 0x1002aca30\nMOV             X0, X19                                                ; +0x4c, 0x1002aca34\nMOV             W1, #1                                                 ; +0x50, 0x1002aca38\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x54, 0x1002aca3c\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x58, 0x1002aca40\nBR              X2                                                     ; +0x5c, 0x1002aca44", "xrefs": ["FLAlertLayer::keyBackClicked @ 0x1002acb34", "FLAlertLayer::init @ 0x1002ac614"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}