{"type": "func", "start": 5373396192, "end": 5373396510, "name": "NotificationsPage::onFilter", "pseudocode": "// \n// NotificationsPage::onFilter from 0x1404784e0 to 0x14047861e (318 bytes)\n// \n// 2 xrefs:\n// > NotificationsPage::init @ 0x1404783e5\n// > <???> @ 0x1409284cc\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 11:32:41 +0000\n// \n\n// Hidden C++ exception states: #wind=1\n__int64 __fastcall NotificationsPage::onFilter(__int64 a1)\n{\n  void *v2; // rdi\n  __int64 (__fastcall *v3)(__int64); // rdx\n\n  v2 = operator new(0x3F8u);\n  memset(v2, 0, 0x3F8u);\n  SetupTriggerPopup::SetupTriggerPopup((__int64)v2);\n  *(_QWORD *)v2 = &NotificationFilterPopup::`vftable';\n  *((_QWORD *)v2 + 40) = &NotificationFilterPopup::`vftable';\n  *((_QWORD *)v2 + 41) = &NotificationFilterPopup::`vftable';\n  *((_QWORD *)v2 + 42) = &NotificationFilterPopup::`vftable';\n  *((_QWORD *)v2 + 43) = &NotificationFilterPopup::`vftable';\n  *((_QWORD *)v2 + 44) = &NotificationFilterPopup::`vftable';\n  *((_QWORD *)v2 + 51) = &NotificationFilterPopup::`vftable';\n  *((_QWORD *)v2 + 54) = &NotificationFilterPopup::`vftable';\n  *((_QWORD *)v2 + 68) = &NotificationFilterPopup::`vftable';\n  *((_QWORD *)v2 + 83) = &NotificationFilterPopup::`vftable';\n  *((_QWORD *)v2 + 84) = &NotificationFilterPopup::`vftable';\n  *((_QWORD *)v2 + 125) = 0;\n  *((_DWORD *)v2 + 252) = 0;\n  if ( (unsigned __int8)NotificationFilterPopup::init(v2, a1) )\n  {\n    cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2);\n  }\n  else\n  {\n    (*(void (__fastcall **)(void *, __int64))(*(_QWORD *)v2 + 8LL))(v2, 1);\n    v2 = nullptr;\n  }\n  v3 = *(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 1064LL);\n  if ( v3 == SetupTriggerPopup::show )\n    return SetupTriggerPopup::show((__int64)v2);\n  else\n    return v3((__int64)v2);\n}", "assembly": "; \n; NotificationsPage::onFilter from 0x1404784e0 to 0x14047861e (318 bytes)\n; \n; 2 xrefs:\n; > NotificationsPage::init @ 0x1404783e5\n; > <???> @ 0x1409284cc\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 11:32:41 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1404784e0\npush    rdi                                                            ; +0x5, 0x1404784e5\nsub     rsp, 20h                                                       ; +0x6, 0x1404784e6\nmov     rbx, rcx                                                       ; +0xa, 0x1404784ea\nmov     ecx, 3F8h; Size                                                ; +0xd, 0x1404784ed\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x12, 0x1404784f2\nmov     rdi, rax                                                       ; +0x17, 0x1404784f7\nmov     [rsp+28h+arg_10], rax                                          ; +0x1a, 0x1404784fa\nxor     edx, edx; Val                                                  ; +0x1f, 0x1404784ff\nmov     r8d, 3F8h; Size                                                ; +0x21, 0x140478501\nmov     rcx, rax; void *                                               ; +0x27, 0x140478507\ncall    memset                                                         ; +0x2a, 0x14047850a\nmov     rcx, rdi                                                       ; +0x2f, 0x14047850f\ncall    SetupTriggerPopup__SetupTriggerPopup                           ; +0x32, 0x140478512\nlea     rax, ??_7NotificationFilterPopup@@6B@; const NotificationFilterPopup::`vftable' ; +0x37, 0x140478517\nmov     [rdi], rax                                                     ; +0x3e, 0x14047851e\nlea     rax, ??_7NotificationFilterPopup@@6B@_0; const NotificationFilterPopup::`vftable' ; +0x41, 0x140478521\nmov     [rdi+140h], rax                                                ; +0x48, 0x140478528\nlea     rax, ??_7NotificationFilterPopup@@6B@_1; const NotificationFilterPopup::`vftable' ; +0x4f, 0x14047852f\nmov     [rdi+148h], rax                                                ; +0x56, 0x140478536\nlea     rax, ??_7NotificationFilterPopup@@6B@_2; const NotificationFilterPopup::`vftable' ; +0x5d, 0x14047853d\nmov     [rdi+150h], rax                                                ; +0x64, 0x140478544\nlea     rax, ??_7NotificationFilterPopup@@6B@_3; const NotificationFilterPopup::`vftable' ; +0x6b, 0x14047854b\nmov     [rdi+158h], rax                                                ; +0x72, 0x140478552\nlea     rax, ??_7NotificationFilterPopup@@6B@_4; const NotificationFilterPopup::`vftable' ; +0x79, 0x140478559\nmov     [rdi+160h], rax                                                ; +0x80, 0x140478560\nlea     rax, ??_7NotificationFilterPopup@@6B@_5; const NotificationFilterPopup::`vftable' ; +0x87, 0x140478567\nmov     [rdi+198h], rax                                                ; +0x8e, 0x14047856e\nlea     rax, ??_7NotificationFilterPopup@@6B@_6; const NotificationFilterPopup::`vftable' ; +0x95, 0x140478575\nmov     [rdi+1B0h], rax                                                ; +0x9c, 0x14047857c\nlea     rax, ??_7NotificationFilterPopup@@6B@_7; const NotificationFilterPopup::`vftable' ; +0xa3, 0x140478583\nmov     [rdi+220h], rax                                                ; +0xaa, 0x14047858a\nlea     rax, ??_7NotificationFilterPopup@@6B@_8; const NotificationFilterPopup::`vftable' ; +0xb1, 0x140478591\nmov     [rdi+298h], rax                                                ; +0xb8, 0x140478598\nlea     rax, ??_7NotificationFilterPopup@@6B@_9; const NotificationFilterPopup::`vftable' ; +0xbf, 0x14047859f\nmov     [rdi+2A0h], rax                                                ; +0xc6, 0x1404785a6\nmov     qword ptr [rdi+3E8h], 0                                        ; +0xcd, 0x1404785ad\nmov     dword ptr [rdi+3F0h], 0                                        ; +0xd8, 0x1404785b8\nmov     rdx, rbx                                                       ; +0xe2, 0x1404785c2\nmov     rcx, rdi                                                       ; +0xe5, 0x1404785c5\ncall    NotificationFilterPopup__init                                  ; +0xe8, 0x1404785c8\nmov     rcx, rdi                                                       ; +0xed, 0x1404785cd\ntest    al, al                                                         ; +0xf0, 0x1404785d0\njz      short loc_1404785DC                                            ; +0xf2, 0x1404785d2\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0xf4, 0x1404785d4\njmp     short loc_1404785E9                                            ; +0xfa, 0x1404785da\nmov     rax, [rdi]                                                     ; +0xfc, 0x1404785dc\nmov     edx, 1                                                         ; +0xff, 0x1404785df\ncall    qword ptr [rax+8]                                              ; +0x104, 0x1404785e4\nxor     edi, edi                                                       ; +0x107, 0x1404785e7\nmov     rax, [rdi]                                                     ; +0x109, 0x1404785e9\nmov     rdx, [rax+428h]                                                ; +0x10c, 0x1404785ec\nlea     rax, SetupTriggerPopup__show; Merged with: SetupTriggerPopup::show, SetTextPopup::show ; +0x113, 0x1404785f3\nmov     rcx, rdi                                                       ; +0x11a, 0x1404785fa\ncmp     rdx, rax                                                       ; +0x11d, 0x1404785fd\njnz     short loc_140478611                                            ; +0x120, 0x140478600\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x122, 0x140478602\nadd     rsp, 20h                                                       ; +0x127, 0x140478607\npop     rdi                                                            ; +0x12b, 0x14047860b\njmp     SetupTriggerPopup__show; Merged with: SetupTriggerPopup::show, SetTextPopup::show ; +0x12c, 0x14047860c\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x131, 0x140478611\nadd     rsp, 20h                                                       ; +0x136, 0x140478616\npop     rdi                                                            ; +0x13a, 0x14047861a\njmp     rdx                                                            ; +0x13b, 0x14047861b", "xrefs": ["NotificationsPage::init @ 0x1404783e5", "<???> @ 0x1409284cc"], "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"}