{"type": "func", "start": 3058584, "end": 3058636, "name": "FLAlertLayer::onBtn1", "pseudocode": "// \n// FLAlertLayer::onBtn1 from 0x2eab98 to 0x2eabcc (52 bytes)\n// \n// 1 xrefs:\n// > FLAlertLayer::keyBackClicked @ 0x2eac26\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; // 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, 0);\n  a1->removeFromParentAndCleanup(a1, 1);\n}", "assembly": "; \n; FLAlertLayer::onBtn1 from 0x2eab98 to 0x2eabcc (52 bytes)\n; \n; 1 xrefs:\n; > FLAlertLayer::keyBackClicked @ 0x2eac26\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, 0x2eab98\nMOV             R4, R0                                                 ; +0x2, 0x2eab9a\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x4, 0x2eab9c\nLDR             R3, [R0]                                               ; +0x8, 0x2eaba0\nLDR             R3, [R3,#0x50]                                         ; +0xa, 0x2eaba2\nBLX             R3                                                     ; +0xc, 0x2eaba4\nMOV             R1, R4; cocos2d::CCObject *                            ; +0xe, 0x2eaba6\nBL              _ZN7cocos2d17CCTouchDispatcher19unregisterForcePrioEPNS_8CCObjectE; cocos2d::CCTouchDispatcher::unregisterForcePrio(cocos2d::CCObject *) ; +0x10, 0x2eaba8\nLDR.W           R0, [R4,#0x1BC]                                        ; +0x14, 0x2eabac\nCBZ             R0, loc_2EABBC                                         ; +0x18, 0x2eabb0\nLDR             R3, [R0]                                               ; +0x1a, 0x2eabb2\nMOV             R1, R4                                                 ; +0x1c, 0x2eabb4\nMOVS            R2, #0                                                 ; +0x1e, 0x2eabb6\nLDR             R3, [R3]                                               ; +0x20, 0x2eabb8\nBLX             R3                                                     ; +0x22, 0x2eabba\nLDR             R3, [R4]                                               ; +0x24, 0x2eabbc\nMOV             R0, R4                                                 ; +0x26, 0x2eabbe\nMOVS            R1, #1                                                 ; +0x28, 0x2eabc0\nPOP.W           {R4,LR}                                                ; +0x2a, 0x2eabc2\nLDR.W           R3, [R3,#0x100]                                        ; +0x2e, 0x2eabc6\nBX              R3                                                     ; +0x32, 0x2eabca", "xrefs": ["FLAlertLayer::keyBackClicked @ 0x2eac26"], "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"}