{"type": "func", "start": 4299800512, "end": 4299800597, "name": "FLAlertLayer::onBtn1", "pseudocode": "// \n// FLAlertLayer::onBtn1 from 0x10049bfc0 to 0x10049c015 (85 bytes)\n// \n// 1 xrefs:\n// > FLAlertLayer::init @ 0x10049bba7\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::onBtn1(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 *, _QWORD))m_alertProtocol->FLAlert_Clicked)(\n      m_alertProtocol,\n      a1,\n      0);\n  ((void (__fastcall *)(FLAlertLayer *, __int64))a1->removeFromParentAndCleanup)(a1, 1);\n}", "assembly": "; \n; FLAlertLayer::onBtn1 from 0x10049bfc0 to 0x10049c015 (85 bytes)\n; \n; 1 xrefs:\n; > FLAlertLayer::init @ 0x10049bba7\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, 0x10049bfc0\nmov     rbp, rsp                                                       ; +0x1, 0x10049bfc1\npush    rbx                                                            ; +0x4, 0x10049bfc4\npush    rax                                                            ; +0x5, 0x10049bfc5\nmov     rbx, rdi                                                       ; +0x6, 0x10049bfc6\ncall    cocos2d__CCDirector__sharedDirector                            ; +0x9, 0x10049bfc9\nmov     rcx, [rax]                                                     ; +0xe, 0x10049bfce\nmov     rdi, rax                                                       ; +0x11, 0x10049bfd1\ncall    qword ptr [rcx+0A0h]                                           ; +0x14, 0x10049bfd4\nmov     rdi, rax                                                       ; +0x1a, 0x10049bfda\nmov     rsi, rbx                                                       ; +0x1d, 0x10049bfdd\ncall    cocos2d__CCTouchDispatcher__unregisterForcePrio                ; +0x20, 0x10049bfe0\nmov     rdi, [rbx+228h]                                                ; +0x25, 0x10049bfe5\ntest    rdi, rdi                                                       ; +0x2c, 0x10049bfec\njz      short loc_10049BFFB                                            ; +0x2f, 0x10049bfef\nmov     rax, [rdi]                                                     ; +0x31, 0x10049bff1\nmov     rsi, rbx                                                       ; +0x34, 0x10049bff4\nxor     edx, edx                                                       ; +0x37, 0x10049bff7\ncall    qword ptr [rax]                                                ; +0x39, 0x10049bff9\nmov     rax, [rbx]                                                     ; +0x3b, 0x10049bffb\nmov     rax, [rax+200h]                                                ; +0x3e, 0x10049bffe\nmov     rdi, rbx                                                       ; +0x45, 0x10049c005\nmov     esi, 1                                                         ; +0x48, 0x10049c008\nadd     rsp, 8                                                         ; +0x4d, 0x10049c00d\npop     rbx                                                            ; +0x51, 0x10049c011\npop     rbp                                                            ; +0x52, 0x10049c012\njmp     rax                                                            ; +0x53, 0x10049c013", "xrefs": ["FLAlertLayer::init @ 0x10049bba7"], "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"}