{"type": "func", "start": 4299770992, "end": 4299771092, "name": "FLAlertLayer::onButtonTag", "pseudocode": "// \n// FLAlertLayer::onButtonTag from 0x100494c70 to 0x100494cd4 (100 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:30:48 +0000\n// \n\n__int64 __fastcall FLAlertLayer::onButtonTag(_QWORD *a1, int a2)\n{\n  __int64 v3; // rax\n  __int64 v4; // rax\n  void (__fastcall ***v5)(_QWORD, _QWORD *, bool); // rdi\n\n  v3 = cocos2d::CCDirector::sharedDirector();\n  v4 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 160LL))(v3);\n  cocos2d::CCTouchDispatcher::unregisterForcePrio(v4, a1);\n  if ( a2 != 2 )\n  {\n    v5 = (void (__fastcall ***)(_QWORD, _QWORD *, bool))a1[70];\n    if ( v5 )\n      (**v5)(v5, a1, a2 == 1);\n  }\n  return (*(__int64 (__fastcall **)(_QWORD *, __int64))(*a1 + 528LL))(a1, 1);\n}", "assembly": "; \n; FLAlertLayer::onButtonTag from 0x100494c70 to 0x100494cd4 (100 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:30:48 +0000\n; \npush    rbp                                                            ; +0x0, 0x100494c70\nmov     rbp, rsp                                                       ; +0x1, 0x100494c71\npush    r14                                                            ; +0x4, 0x100494c74\npush    rbx                                                            ; +0x6, 0x100494c76\nmov     r14d, esi                                                      ; +0x7, 0x100494c77\nmov     rbx, rdi                                                       ; +0xa, 0x100494c7a\ncall    cocos2d__CCDirector__sharedDirector                            ; +0xd, 0x100494c7d\nmov     rcx, [rax]                                                     ; +0x12, 0x100494c82\nmov     rdi, rax                                                       ; +0x15, 0x100494c85\ncall    qword ptr [rcx+0A0h]                                           ; +0x18, 0x100494c88\nmov     rdi, rax                                                       ; +0x1e, 0x100494c8e\nmov     rsi, rbx                                                       ; +0x21, 0x100494c91\ncall    cocos2d__CCTouchDispatcher__unregisterForcePrio                ; +0x24, 0x100494c94\ncmp     r14d, 2                                                        ; +0x29, 0x100494c99\njz      short loc_100494CBC                                            ; +0x2d, 0x100494c9d\nmov     rdi, [rbx+230h]                                                ; +0x2f, 0x100494c9f\ntest    rdi, rdi                                                       ; +0x36, 0x100494ca6\njz      short loc_100494CBC                                            ; +0x39, 0x100494ca9\nxor     edx, edx                                                       ; +0x3b, 0x100494cab\ncmp     r14d, 1                                                        ; +0x3d, 0x100494cad\nsetz    dl                                                             ; +0x41, 0x100494cb1\nmov     rax, [rdi]                                                     ; +0x44, 0x100494cb4\nmov     rsi, rbx                                                       ; +0x47, 0x100494cb7\ncall    qword ptr [rax]                                                ; +0x4a, 0x100494cba\nmov     rax, [rbx]                                                     ; +0x4c, 0x100494cbc\nmov     rax, [rax+210h]                                                ; +0x4f, 0x100494cbf\nmov     rdi, rbx                                                       ; +0x56, 0x100494cc6\nmov     esi, 1                                                         ; +0x59, 0x100494cc9\npop     rbx                                                            ; +0x5e, 0x100494cce\npop     r14                                                            ; +0x5f, 0x100494ccf\npop     rbp                                                            ; +0x61, 0x100494cd1\njmp     rax                                                            ; +0x62, 0x100494cd2", "xrefs": [], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}