{"type": "func", "start": 4299770448, "end": 4299770557, "name": "FLAlertLayer::onButton", "pseudocode": "// \n// FLAlertLayer::onButton from 0x100494a50 to 0x100494abd (109 bytes)\n// \n// 5 xrefs:\n// > FLAlertLayer::init @ 0x100494606\n// > FLAlertLayer::init @ 0x100494680\n// > sub_100494AC0 @ 0x100494b06\n// > DailyRecallUnlockPopup::init @ 0x10098ab6b\n// > DailyRecallUnlockPopup::init @ 0x10098abc7\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::onButton(_QWORD *a1, __int64 a2)\n{\n  int v3; // r14d\n  __int64 v4; // rax\n  __int64 v5; // rax\n  void (__fastcall ***v6)(_QWORD, _QWORD *, bool); // rdi\n\n  v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);\n  v4 = cocos2d::CCDirector::sharedDirector();\n  v5 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 160LL))(v4);\n  cocos2d::CCTouchDispatcher::unregisterForcePrio(v5, a1);\n  if ( v3 != 2 )\n  {\n    v6 = (void (__fastcall ***)(_QWORD, _QWORD *, bool))a1[70];\n    if ( v6 )\n      (**v6)(v6, a1, v3 == 1);\n  }\n  return (*(__int64 (__fastcall **)(_QWORD *, __int64))(*a1 + 528LL))(a1, 1);\n}", "assembly": "; \n; FLAlertLayer::onButton from 0x100494a50 to 0x100494abd (109 bytes)\n; \n; 5 xrefs:\n; > FLAlertLayer::init @ 0x100494606\n; > FLAlertLayer::init @ 0x100494680\n; > sub_100494AC0 @ 0x100494b06\n; > DailyRecallUnlockPopup::init @ 0x10098ab6b\n; > DailyRecallUnlockPopup::init @ 0x10098abc7\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, 0x100494a50\nmov     rbp, rsp                                                       ; +0x1, 0x100494a51\npush    r14                                                            ; +0x4, 0x100494a54\npush    rbx                                                            ; +0x6, 0x100494a56\nmov     rbx, rdi                                                       ; +0x7, 0x100494a57\nmov     rax, [rsi]                                                     ; +0xa, 0x100494a5a\nmov     rdi, rsi                                                       ; +0xd, 0x100494a5d\ncall    qword ptr [rax+40h]                                            ; +0x10, 0x100494a60\nmov     r14d, eax                                                      ; +0x13, 0x100494a63\ncall    cocos2d__CCDirector__sharedDirector                            ; +0x16, 0x100494a66\nmov     rcx, [rax]                                                     ; +0x1b, 0x100494a6b\nmov     rdi, rax                                                       ; +0x1e, 0x100494a6e\ncall    qword ptr [rcx+0A0h]                                           ; +0x21, 0x100494a71\nmov     rdi, rax                                                       ; +0x27, 0x100494a77\nmov     rsi, rbx                                                       ; +0x2a, 0x100494a7a\ncall    cocos2d__CCTouchDispatcher__unregisterForcePrio                ; +0x2d, 0x100494a7d\ncmp     r14d, 2                                                        ; +0x32, 0x100494a82\njz      short loc_100494AA5                                            ; +0x36, 0x100494a86\nmov     rdi, [rbx+230h]                                                ; +0x38, 0x100494a88\ntest    rdi, rdi                                                       ; +0x3f, 0x100494a8f\njz      short loc_100494AA5                                            ; +0x42, 0x100494a92\nxor     edx, edx                                                       ; +0x44, 0x100494a94\ncmp     r14d, 1                                                        ; +0x46, 0x100494a96\nsetz    dl                                                             ; +0x4a, 0x100494a9a\nmov     rax, [rdi]                                                     ; +0x4d, 0x100494a9d\nmov     rsi, rbx                                                       ; +0x50, 0x100494aa0\ncall    qword ptr [rax]                                                ; +0x53, 0x100494aa3\nmov     rax, [rbx]                                                     ; +0x55, 0x100494aa5\nmov     rax, [rax+210h]                                                ; +0x58, 0x100494aa8\nmov     rdi, rbx                                                       ; +0x5f, 0x100494aaf\nmov     esi, 1                                                         ; +0x62, 0x100494ab2\npop     rbx                                                            ; +0x67, 0x100494ab7\npop     r14                                                            ; +0x68, 0x100494ab8\npop     rbp                                                            ; +0x6a, 0x100494aba\njmp     rax                                                            ; +0x6b, 0x100494abb", "xrefs": ["FLAlertLayer::init @ 0x100494606", "FLAlertLayer::init @ 0x100494680", "sub_100494AC0 @ 0x100494b06", "DailyRecallUnlockPopup::init @ 0x10098ab6b", "DailyRecallUnlockPopup::init @ 0x10098abc7"], "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"}