{"type": "func", "start": 5373402672, "end": 5373402828, "name": "NotificationFilterPopup::onClose", "pseudocode": "// \n// NotificationFilterPopup::onClose from 0x140479e30 to 0x140479ecc (156 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1407b5e08\n// > <???> @ 0x140928598\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:42 +0000\n// \n\n// Hidden C++ exception states: #wind=1\n__int64 __fastcall NotificationFilterPopup::onClose(__int64 a1, __int64 a2)\n{\n  int v4; // ebx\n  void *v6; // [rsp+30h] [rbp+8h]\n\n  if ( *(_QWORD *)(a1 + 1000) )\n  {\n    if ( !*(_QWORD *)&qword_14090BFB0 )\n    {\n      v6 = operator new(0x690u);\n      *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)v6);\n      (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0);\n    }\n    v4 = *(_DWORD *)(a1 + 1008);\n    if ( (unsigned int)GameLevelManager::notificationMask() != v4 )\n    {\n      *(_DWORD *)(*(_QWORD *)(a1 + 1000) + 740LL) = 0;\n      NotificationsPage::loadPage(*(_QWORD *)(a1 + 1000), 0);\n    }\n  }\n  return SetupTriggerPopup::onClose(a1, a2);\n}", "assembly": "; \n; NotificationFilterPopup::onClose from 0x140479e30 to 0x140479ecc (156 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1407b5e08\n; > <???> @ 0x140928598\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:42 +0000\n; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x140479e30\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x140479e35\npush    rdi                                                            ; +0xa, 0x140479e3a\nsub     rsp, 20h                                                       ; +0xb, 0x140479e3b\nmov     rsi, rdx                                                       ; +0xf, 0x140479e3f\nmov     rdi, rcx                                                       ; +0x12, 0x140479e42\ncmp     qword ptr [rcx+3E8h], 0                                        ; +0x15, 0x140479e45\njz      short loc_140479EB2                                            ; +0x1d, 0x140479e4d\ncmp     cs:qword_14090BFB0, 0                                          ; +0x1f, 0x140479e4f\njnz     short loc_140479E84                                            ; +0x27, 0x140479e57\nmov     ecx, 690h; Size                                                ; +0x29, 0x140479e59\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x2e, 0x140479e5e\nmov     [rsp+28h+arg_0], rax                                           ; +0x33, 0x140479e63\nmov     rcx, rax                                                       ; +0x38, 0x140479e68\ncall    GameLevelManager__GameLevelManager                             ; +0x3b, 0x140479e6b\nnop                                                                    ; +0x40, 0x140479e70\nmov     cs:qword_14090BFB0, rax                                        ; +0x41, 0x140479e71\nmov     rcx, [rax]                                                     ; +0x48, 0x140479e78\nmov     rdx, [rcx+48h]                                                 ; +0x4b, 0x140479e7b\nmov     rcx, rax                                                       ; +0x4f, 0x140479e7f\ncall    rdx                                                            ; +0x52, 0x140479e82\nmov     ebx, [rdi+3F0h]                                                ; +0x54, 0x140479e84\ncall    GameLevelManager__notificationMask                             ; +0x5a, 0x140479e8a\ncmp     eax, ebx                                                       ; +0x5f, 0x140479e8f\njz      short loc_140479EB2                                            ; +0x61, 0x140479e91\nmov     rax, [rdi+3E8h]                                                ; +0x63, 0x140479e93\nmov     dword ptr [rax+2E4h], 0                                        ; +0x6a, 0x140479e9a\nxor     edx, edx                                                       ; +0x74, 0x140479ea4\nmov     rcx, [rdi+3E8h]                                                ; +0x76, 0x140479ea6\ncall    NotificationsPage__loadPage                                    ; +0x7d, 0x140479ead\nmov     rdx, rsi                                                       ; +0x82, 0x140479eb2\nmov     rcx, rdi                                                       ; +0x85, 0x140479eb5\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x88, 0x140479eb8\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x8d, 0x140479ebd\nadd     rsp, 20h                                                       ; +0x92, 0x140479ec2\npop     rdi                                                            ; +0x96, 0x140479ec6\njmp     SetupTriggerPopup__onClose                                     ; +0x97, 0x140479ec7", "xrefs": ["<???> @ 0x1407b5e08", "<???> @ 0x140928598"], "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"}