{"type": "func", "start": 4299800608, "end": 4299800696, "name": "FLAlertLayer::onBtn2", "pseudocode": "// \n// FLAlertLayer::onBtn2 from 0x10049c020 to 0x10049c078 (88 bytes)\n// \n// 1 xrefs:\n// > FLAlertLayer::init @ 0x10049bc19\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; // rax\n  cocos2d::CCTouchDispatcher *v4; // rax\n  FLAlertLayerProtocol *m_alertProtocol; // rdi\n\n  v3 = cocos2d::CCDirector::sharedDirector();\n  v4 = (cocos2d::CCTouchDispatcher *)((__int64 (__fastcall *)(cocos2d::CCDirector *, cocos2d::CCObject *))v3->getTouchDispatcher)(\n                                       v3,\n                                       a2);\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 0x10049c020 to 0x10049c078 (88 bytes)\n; \n; 1 xrefs:\n; > FLAlertLayer::init @ 0x10049bc19\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    rbp                                                            ; +0x0, 0x10049c020\nmov     rbp, rsp                                                       ; +0x1, 0x10049c021\npush    rbx                                                            ; +0x4, 0x10049c024\npush    rax                                                            ; +0x5, 0x10049c025\nmov     rbx, rdi                                                       ; +0x6, 0x10049c026\ncall    cocos2d__CCDirector__sharedDirector                            ; +0x9, 0x10049c029\nmov     rcx, [rax]                                                     ; +0xe, 0x10049c02e\nmov     rdi, rax                                                       ; +0x11, 0x10049c031\ncall    qword ptr [rcx+0A0h]                                           ; +0x14, 0x10049c034\nmov     rdi, rax                                                       ; +0x1a, 0x10049c03a\nmov     rsi, rbx                                                       ; +0x1d, 0x10049c03d\ncall    cocos2d__CCTouchDispatcher__unregisterForcePrio                ; +0x20, 0x10049c040\nmov     rdi, [rbx+228h]                                                ; +0x25, 0x10049c045\ntest    rdi, rdi                                                       ; +0x2c, 0x10049c04c\njz      short loc_10049C05E                                            ; +0x2f, 0x10049c04f\nmov     rax, [rdi]                                                     ; +0x31, 0x10049c051\nmov     rsi, rbx                                                       ; +0x34, 0x10049c054\nmov     edx, 1                                                         ; +0x37, 0x10049c057\ncall    qword ptr [rax]                                                ; +0x3c, 0x10049c05c\nmov     rax, [rbx]                                                     ; +0x3e, 0x10049c05e\nmov     rax, [rax+200h]                                                ; +0x41, 0x10049c061\nmov     rdi, rbx                                                       ; +0x48, 0x10049c068\nmov     esi, 1                                                         ; +0x4b, 0x10049c06b\nadd     rsp, 8                                                         ; +0x50, 0x10049c070\npop     rbx                                                            ; +0x54, 0x10049c074\npop     rbp                                                            ; +0x55, 0x10049c075\njmp     rax                                                            ; +0x56, 0x10049c076", "xrefs": ["FLAlertLayer::init @ 0x10049bc19"], "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"}