{"type": "func", "start": 5758012, "end": 5758112, "name": "FLAlertLayer::onBtn2", "pseudocode": "// \n// FLAlertLayer::onBtn2 from 0x57dc3c to 0x57dca0 (100 bytes)\n// \n// 5 xrefs:\n// > FLAlertLayer::keyBackClicked @ 0x57dcec\n// > FLAlertLayer::keyDown @ 0x57f244\n// > <???> @ 0x77928\n// > FLAlertLayer::init @ 0x57e970\n// > <???> @ 0x122bfd0\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::onBtn2(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, 1);\n  a1->removeFromParentAndCleanup(a1, 1);\n}", "assembly": "; \n; FLAlertLayer::onBtn2 from 0x57dc3c to 0x57dca0 (100 bytes)\n; \n; 5 xrefs:\n; > FLAlertLayer::keyBackClicked @ 0x57dcec\n; > FLAlertLayer::keyDown @ 0x57f244\n; > <???> @ 0x77928\n; > FLAlertLayer::init @ 0x57e970\n; > <???> @ 0x122bfd0\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, 0x57dc3c\nMOV             X29, SP                                                ; +0x4, 0x57dc40\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x8, 0x57dc44\nMOV             X19, X0                                                ; +0xc, 0x57dc48\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x10, 0x57dc4c\nLDR             X1, [X0]                                               ; +0x14, 0x57dc50\nLDR             X1, [X1,#0xA0]                                         ; +0x18, 0x57dc54\nBLR             X1                                                     ; +0x1c, 0x57dc58\nMOV             X1, X19; cocos2d::CCObject *                           ; +0x20, 0x57dc5c\nBL              _ZN7cocos2d17CCTouchDispatcher19unregisterForcePrioEPNS_8CCObjectE; cocos2d::CCTouchDispatcher::unregisterForcePrio(cocos2d::CCObject *) ; +0x24, 0x57dc60\nLDR             X0, [X19,#0x228]                                       ; +0x28, 0x57dc64\nCBZ             X0, loc_57DC80                                         ; +0x2c, 0x57dc68\nLDR             X3, [X0]                                               ; +0x30, 0x57dc6c\nMOV             X1, X19                                                ; +0x34, 0x57dc70\nMOV             W2, #1                                                 ; +0x38, 0x57dc74\nLDR             X3, [X3]                                               ; +0x3c, 0x57dc78\nBLR             X3                                                     ; +0x40, 0x57dc7c\nLDR             X2, [X19]                                              ; +0x44, 0x57dc80\nMOV             X0, X19                                                ; +0x48, 0x57dc84\nMOV             W1, #1                                                 ; +0x4c, 0x57dc88\nLDR             X2, [X2,#0x200]                                        ; +0x50, 0x57dc8c\nBLR             X2                                                     ; +0x54, 0x57dc90\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x58, 0x57dc94\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x5c, 0x57dc98\nRET                                                                    ; +0x60, 0x57dc9c", "xrefs": ["FLAlertLayer::keyBackClicked @ 0x57dcec", "FLAlertLayer::keyDown @ 0x57f244", "<???> @ 0x77928", "FLAlertLayer::init @ 0x57e970", "<???> @ 0x122bfd0"], "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"}