{"type": "func", "start": 3058636, "end": 3058688, "name": "FLAlertLayer::onBtn2", "pseudocode": "// \n// FLAlertLayer::onBtn2 from 0x2eabcc to 0x2eac00 (52 bytes)\n// \n// 2 xrefs:\n// > FLAlertLayer::keyBackClicked @ 0x2eac30\n// > FLAlertLayer::keyDown @ 0x2eb978\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; // r0\n  cocos2d::CCTouchDispatcher *v4; // r0\n  FLAlertLayerProtocol *m_alertProtocol; // r0\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 0x2eabcc to 0x2eac00 (52 bytes)\n; \n; 2 xrefs:\n; > FLAlertLayer::keyBackClicked @ 0x2eac30\n; > FLAlertLayer::keyDown @ 0x2eb978\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\nPUSH            {R4,LR}                                                ; +0x0, 0x2eabcc\nMOV             R4, R0                                                 ; +0x2, 0x2eabce\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x4, 0x2eabd0\nLDR             R3, [R0]                                               ; +0x8, 0x2eabd4\nLDR             R3, [R3,#0x50]                                         ; +0xa, 0x2eabd6\nBLX             R3                                                     ; +0xc, 0x2eabd8\nMOV             R1, R4; cocos2d::CCObject *                            ; +0xe, 0x2eabda\nBL              _ZN7cocos2d17CCTouchDispatcher19unregisterForcePrioEPNS_8CCObjectE; cocos2d::CCTouchDispatcher::unregisterForcePrio(cocos2d::CCObject *) ; +0x10, 0x2eabdc\nLDR.W           R0, [R4,#0x1BC]                                        ; +0x14, 0x2eabe0\nCBZ             R0, loc_2EABF0                                         ; +0x18, 0x2eabe4\nLDR             R3, [R0]                                               ; +0x1a, 0x2eabe6\nMOV             R1, R4                                                 ; +0x1c, 0x2eabe8\nMOVS            R2, #1                                                 ; +0x1e, 0x2eabea\nLDR             R3, [R3]                                               ; +0x20, 0x2eabec\nBLX             R3                                                     ; +0x22, 0x2eabee\nLDR             R3, [R4]                                               ; +0x24, 0x2eabf0\nMOV             R0, R4                                                 ; +0x26, 0x2eabf2\nMOVS            R1, #1                                                 ; +0x28, 0x2eabf4\nPOP.W           {R4,LR}                                                ; +0x2a, 0x2eabf6\nLDR.W           R3, [R3,#0x100]                                        ; +0x2e, 0x2eabfa\nBX              R3                                                     ; +0x32, 0x2eabfe", "xrefs": ["FLAlertLayer::keyBackClicked @ 0x2eac30", "FLAlertLayer::keyDown @ 0x2eb978"], "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"}