{"type": "func", "start": 4297771592, "end": 4297771688, "name": "FLAlertLayer::onBtn2", "pseudocode": "// \n// FLAlertLayer::onBtn2 from 0x1002aca48 to 0x1002acaa8 (96 bytes)\n// \n// 4 xrefs:\n// > FLAlertLayer::keyDown @ 0x1002acab8\n// > FLAlertLayer::keyDown @ 0x1002acac8\n// > FLAlertLayer::keyBackClicked @ 0x1002acb24\n// > FLAlertLayer::init @ 0x1002ac67c\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::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 = (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 *, __int64))m_alertProtocol->FLAlert_Clicked)(\n      m_alertProtocol,\n      a1,\n      1);\n  ((void (__fastcall *)(FLAlertLayer *, __int64))a1->removeFromParentAndCleanup)(a1, 1);\n}", "assembly": "; \n; FLAlertLayer::onBtn2 from 0x1002aca48 to 0x1002acaa8 (96 bytes)\n; \n; 4 xrefs:\n; > FLAlertLayer::keyDown @ 0x1002acab8\n; > FLAlertLayer::keyDown @ 0x1002acac8\n; > FLAlertLayer::keyBackClicked @ 0x1002acb24\n; > FLAlertLayer::init @ 0x1002ac67c\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, 0x1002aca48\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1002aca4c\nADD             X29, SP, #0x10                                         ; +0x8, 0x1002aca50\nMOV             X19, X0                                                ; +0xc, 0x1002aca54\nBL              cocos2d__CCDirector__sharedDirector                    ; +0x10, 0x1002aca58\nLDR             X8, [X0]                                               ; +0x14, 0x1002aca5c\nLDR             X8, [X8,#0xA0]                                         ; +0x18, 0x1002aca60\nBLR             X8                                                     ; +0x1c, 0x1002aca64\nMOV             X1, X19                                                ; +0x20, 0x1002aca68\nBL              cocos2d__CCTouchDispatcher__unregisterForcePrio        ; +0x24, 0x1002aca6c\nLDR             X0, [X19,#0x228]                                       ; +0x28, 0x1002aca70\nCBZ             X0, loc_1002ACA8C                                      ; +0x2c, 0x1002aca74\nLDR             X8, [X0]                                               ; +0x30, 0x1002aca78\nLDR             X8, [X8]                                               ; +0x34, 0x1002aca7c\nMOV             X1, X19                                                ; +0x38, 0x1002aca80\nMOV             W2, #1                                                 ; +0x3c, 0x1002aca84\nBLR             X8                                                     ; +0x40, 0x1002aca88\nLDR             X8, [X19]                                              ; +0x44, 0x1002aca8c\nLDR             X2, [X8,#0x200]                                        ; +0x48, 0x1002aca90\nMOV             X0, X19                                                ; +0x4c, 0x1002aca94\nMOV             W1, #1                                                 ; +0x50, 0x1002aca98\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x54, 0x1002aca9c\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x58, 0x1002acaa0\nBR              X2                                                     ; +0x5c, 0x1002acaa4", "xrefs": ["FLAlertLayer::keyDown @ 0x1002acab8", "FLAlertLayer::keyDown @ 0x1002acac8", "FLAlertLayer::keyBackClicked @ 0x1002acb24", "FLAlertLayer::init @ 0x1002ac67c"], "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"}