{"type": "func", "start": 5757912, "end": 5758012, "name": "FLAlertLayer::onBtn1", "pseudocode": "// \n// FLAlertLayer::onBtn1 from 0x57dbd8 to 0x57dc3c (100 bytes)\n// \n// 4 xrefs:\n// > FLAlertLayer::keyBackClicked @ 0x57dd00\n// > <???> @ 0xbe200\n// > FLAlertLayer::init @ 0x57e8fc\n// > <???> @ 0x122e978\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 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 = v3->getTouchDispatcher(v3);\n  cocos2d::CCTouchDispatcher::unregisterForcePrio(v4, a1);\n  m_alertProtocol = a1->m_alertProtocol;\n  if ( m_alertProtocol )\n    m_alertProtocol->FLAlert_Clicked(m_alertProtocol, a1, 0);\n  a1->removeFromParentAndCleanup(a1, 1);\n}", "assembly": "; \n; FLAlertLayer::onBtn1 from 0x57dbd8 to 0x57dc3c (100 bytes)\n; \n; 4 xrefs:\n; > FLAlertLayer::keyBackClicked @ 0x57dd00\n; > <???> @ 0xbe200\n; > FLAlertLayer::init @ 0x57e8fc\n; > <???> @ 0x122e978\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             X29, X30, [SP,#var_20]!                                ; +0x0, 0x57dbd8\nMOV             X29, SP                                                ; +0x4, 0x57dbdc\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x8, 0x57dbe0\nMOV             X19, X0                                                ; +0xc, 0x57dbe4\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x10, 0x57dbe8\nLDR             X1, [X0]                                               ; +0x14, 0x57dbec\nLDR             X1, [X1,#0xA0]                                         ; +0x18, 0x57dbf0\nBLR             X1                                                     ; +0x1c, 0x57dbf4\nMOV             X1, X19; cocos2d::CCObject *                           ; +0x20, 0x57dbf8\nBL              _ZN7cocos2d17CCTouchDispatcher19unregisterForcePrioEPNS_8CCObjectE; cocos2d::CCTouchDispatcher::unregisterForcePrio(cocos2d::CCObject *) ; +0x24, 0x57dbfc\nLDR             X0, [X19,#0x228]                                       ; +0x28, 0x57dc00\nCBZ             X0, loc_57DC1C                                         ; +0x2c, 0x57dc04\nLDR             X3, [X0]                                               ; +0x30, 0x57dc08\nMOV             X1, X19                                                ; +0x34, 0x57dc0c\nMOV             W2, #0                                                 ; +0x38, 0x57dc10\nLDR             X3, [X3]                                               ; +0x3c, 0x57dc14\nBLR             X3                                                     ; +0x40, 0x57dc18\nLDR             X2, [X19]                                              ; +0x44, 0x57dc1c\nMOV             X0, X19                                                ; +0x48, 0x57dc20\nMOV             W1, #1                                                 ; +0x4c, 0x57dc24\nLDR             X2, [X2,#0x200]                                        ; +0x50, 0x57dc28\nBLR             X2                                                     ; +0x54, 0x57dc2c\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x58, 0x57dc30\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x5c, 0x57dc34\nRET                                                                    ; +0x60, 0x57dc38", "xrefs": ["FLAlertLayer::keyBackClicked @ 0x57dd00", "<???> @ 0xbe200", "FLAlertLayer::init @ 0x57e8fc", "<???> @ 0x122e978"], "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"}