{"type": "func", "start": 4299800880, "end": 4299800999, "name": "FLAlertLayer::keyBackClicked", "pseudocode": "// \n// FLAlertLayer::keyBackClicked from 0x10049c130 to 0x10049c1a7 (119 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100945300\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::keyBackClicked(FLAlertLayer *a1)\n{\n  bool m_reverseKeyBack; // r14\n  cocos2d::CCDirector *v3; // rax\n  cocos2d::CCTouchDispatcher *v4; // rax\n  FLAlertLayerProtocol *m_alertProtocol; // rdi\n\n  ((void (__fastcall *)(FLAlertLayer *, _QWORD))a1->setKeypadEnabled)(a1, 0);\n  ((void (__fastcall *)(FLAlertLayer *, _QWORD))a1->setKeyboardEnabled)(a1, 0);\n  m_reverseKeyBack = a1->m_reverseKeyBack;\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 *, bool))m_alertProtocol->FLAlert_Clicked)(\n      m_alertProtocol,\n      a1,\n      m_reverseKeyBack);\n  ((void (__fastcall *)(FLAlertLayer *, __int64))a1->removeFromParentAndCleanup)(a1, 1);\n}", "assembly": "; \n; FLAlertLayer::keyBackClicked from 0x10049c130 to 0x10049c1a7 (119 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100945300\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, 0x10049c130\nmov     rbp, rsp                                                       ; +0x1, 0x10049c131\npush    r14                                                            ; +0x4, 0x10049c134\npush    rbx                                                            ; +0x6, 0x10049c136\nmov     rbx, rdi                                                       ; +0x7, 0x10049c137\nmov     rax, [rdi]                                                     ; +0xa, 0x10049c13a\nxor     esi, esi                                                       ; +0xd, 0x10049c13d\ncall    qword ptr [rax+420h]                                           ; +0xf, 0x10049c13f\nmov     rax, [rbx]                                                     ; +0x15, 0x10049c145\nmov     rdi, rbx                                                       ; +0x18, 0x10049c148\nxor     esi, esi                                                       ; +0x1b, 0x10049c14b\ncall    qword ptr [rax+430h]                                           ; +0x1d, 0x10049c14d\nmovzx   r14d, byte ptr [rbx+238h]                                      ; +0x23, 0x10049c153\ncall    cocos2d__CCDirector__sharedDirector                            ; +0x2b, 0x10049c15b\nmov     rcx, [rax]                                                     ; +0x30, 0x10049c160\nmov     rdi, rax                                                       ; +0x33, 0x10049c163\ncall    qword ptr [rcx+0A0h]                                           ; +0x36, 0x10049c166\nmov     rdi, rax                                                       ; +0x3c, 0x10049c16c\nmov     rsi, rbx                                                       ; +0x3f, 0x10049c16f\ncall    cocos2d__CCTouchDispatcher__unregisterForcePrio                ; +0x42, 0x10049c172\nmov     rdi, [rbx+228h]                                                ; +0x47, 0x10049c177\ntest    rdi, rdi                                                       ; +0x4e, 0x10049c17e\njz      short loc_10049C18F                                            ; +0x51, 0x10049c181\nmov     rax, [rdi]                                                     ; +0x53, 0x10049c183\nmovzx   edx, r14b                                                      ; +0x56, 0x10049c186\nmov     rsi, rbx                                                       ; +0x5a, 0x10049c18a\ncall    qword ptr [rax]                                                ; +0x5d, 0x10049c18d\nmov     rax, [rbx]                                                     ; +0x5f, 0x10049c18f\nmov     rax, [rax+200h]                                                ; +0x62, 0x10049c192\nmov     rdi, rbx                                                       ; +0x69, 0x10049c199\nmov     esi, 1                                                         ; +0x6c, 0x10049c19c\npop     rbx                                                            ; +0x71, 0x10049c1a1\npop     r14                                                            ; +0x72, 0x10049c1a2\npop     rbp                                                            ; +0x74, 0x10049c1a4\njmp     rax                                                            ; +0x75, 0x10049c1a5", "xrefs": ["<???> @ 0x100945300"], "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"}