{"type": "func", "start": 5373393840, "end": 5373394158, "name": "NotificationsPage::dNotificationsPage", "pseudocode": "// \n// NotificationsPage::dNotificationsPage from 0x140477bb0 to 0x140477cee (318 bytes)\n// \n// 3 xrefs:\n// > sub_140479ECC @ 0x140479ed3\n// > <???> @ 0x1407b5478\n// > <???> @ 0x1409284b4\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\nchar *__fastcall NotificationsPage::dNotificationsPage(char *Block, char a2)\n{\n  char *v4; // rdi\n  __int64 v5; // rax\n  void *v6; // rax\n  cocos2d::CCObject *v7; // rcx\n  cocos2d::CCObject *v8; // rcx\n\n  *(_QWORD *)Block = &NotificationsPage::`vftable';\n  *((_QWORD *)Block + 40) = &NotificationsPage::`vftable';\n  *((_QWORD *)Block + 41) = &NotificationsPage::`vftable';\n  *((_QWORD *)Block + 42) = &NotificationsPage::`vftable';\n  *((_QWORD *)Block + 43) = &NotificationsPage::`vftable';\n  *((_QWORD *)Block + 44) = &NotificationsPage::`vftable';\n  *((_QWORD *)Block + 51) = &NotificationsPage::`vftable';\n  *((_QWORD *)Block + 54) = &NotificationsPage::`vftable';\n  *((_QWORD *)Block + 68) = &NotificationsPage::`vftable';\n  v4 = Block + 664;\n  *((_QWORD *)Block + 83) = &NotificationsPage::`vftable';\n  v5 = *(_QWORD *)&qword_14090BFB0;\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    v5 = *(_QWORD *)&qword_14090BFB0;\n  }\n  if ( *(char **)(v5 + 528) == v4 )\n    *(_QWORD *)(v5 + 528) = 0;\n  v7 = *((cocos2d::CCObject **)Block + 87);\n  if ( v7 )\n    cocos2d::CCObject::release(v7);\n  v8 = *((cocos2d::CCObject **)Block + 91);\n  if ( v8 )\n    cocos2d::CCObject::release(v8);\n  FLAlertLayer::dFLAlertLayer((__int64)Block);\n  if ( (a2 & 1) != 0 )\n    j_j_free(Block);\n  return Block;\n}", "assembly": "; \n; NotificationsPage::dNotificationsPage from 0x140477bb0 to 0x140477cee (318 bytes)\n; \n; 3 xrefs:\n; > sub_140479ECC @ 0x140479ed3\n; > <???> @ 0x1407b5478\n; > <???> @ 0x1409284b4\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, 0x140477bb0\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x140477bb5\npush    rdi                                                            ; +0xa, 0x140477bba\nsub     rsp, 20h                                                       ; +0xb, 0x140477bbb\nmov     esi, edx                                                       ; +0xf, 0x140477bbf\nmov     rbx, rcx                                                       ; +0x11, 0x140477bc1\nlea     rax, ??_7NotificationsPage@@6B@; const NotificationsPage::`vftable' ; +0x14, 0x140477bc4\nmov     [rcx], rax                                                     ; +0x1b, 0x140477bcb\nlea     rax, ??_7NotificationsPage@@6B@_0; const NotificationsPage::`vftable' ; +0x1e, 0x140477bce\nmov     [rcx+140h], rax                                                ; +0x25, 0x140477bd5\nlea     rax, ??_7NotificationsPage@@6B@_1; const NotificationsPage::`vftable' ; +0x2c, 0x140477bdc\nmov     [rcx+148h], rax                                                ; +0x33, 0x140477be3\nlea     rax, ??_7NotificationsPage@@6B@_2; const NotificationsPage::`vftable' ; +0x3a, 0x140477bea\nmov     [rcx+150h], rax                                                ; +0x41, 0x140477bf1\nlea     rax, ??_7NotificationsPage@@6B@_3; const NotificationsPage::`vftable' ; +0x48, 0x140477bf8\nmov     [rcx+158h], rax                                                ; +0x4f, 0x140477bff\nlea     rax, ??_7NotificationsPage@@6B@_4; const NotificationsPage::`vftable' ; +0x56, 0x140477c06\nmov     [rcx+160h], rax                                                ; +0x5d, 0x140477c0d\nlea     rax, ??_7NotificationsPage@@6B@_5; const NotificationsPage::`vftable' ; +0x64, 0x140477c14\nmov     [rcx+198h], rax                                                ; +0x6b, 0x140477c1b\nlea     rax, ??_7NotificationsPage@@6B@_6; const NotificationsPage::`vftable' ; +0x72, 0x140477c22\nmov     [rcx+1B0h], rax                                                ; +0x79, 0x140477c29\nlea     rax, ??_7NotificationsPage@@6B@_7; const NotificationsPage::`vftable' ; +0x80, 0x140477c30\nmov     [rcx+220h], rax                                                ; +0x87, 0x140477c37\nlea     rdi, [rcx+298h]                                                ; +0x8e, 0x140477c3e\nlea     rax, ??_7NotificationsPage@@6B@_8; const NotificationsPage::`vftable' ; +0x95, 0x140477c45\nmov     [rdi], rax                                                     ; +0x9c, 0x140477c4c\nmov     rax, cs:qword_14090BFB0                                        ; +0x9f, 0x140477c4f\ntest    rax, rax                                                       ; +0xa6, 0x140477c56\njnz     short loc_140477C87                                            ; +0xa9, 0x140477c59\nmov     ecx, 690h; Size                                                ; +0xab, 0x140477c5b\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xb0, 0x140477c60\nmov     rcx, rax                                                       ; +0xb5, 0x140477c65\ncall    GameLevelManager__GameLevelManager                             ; +0xb8, 0x140477c68\nmov     cs:qword_14090BFB0, rax                                        ; +0xbd, 0x140477c6d\nmov     rcx, [rax]                                                     ; +0xc4, 0x140477c74\nmov     rdx, [rcx+48h]                                                 ; +0xc7, 0x140477c77\nmov     rcx, rax                                                       ; +0xcb, 0x140477c7b\ncall    rdx                                                            ; +0xce, 0x140477c7e\nmov     rax, cs:qword_14090BFB0                                        ; +0xd0, 0x140477c80\ncmp     [rax+210h], rdi                                                ; +0xd7, 0x140477c87\njnz     short loc_140477C9B                                            ; +0xde, 0x140477c8e\nmov     qword ptr [rax+210h], 0                                        ; +0xe0, 0x140477c90\nmov     rcx, [rbx+2B8h]                                                ; +0xeb, 0x140477c9b\ntest    rcx, rcx                                                       ; +0xf2, 0x140477ca2\njz      short loc_140477CAD                                            ; +0xf5, 0x140477ca5\ncall    cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0xf7, 0x140477ca7\nmov     rcx, [rbx+2D8h]                                                ; +0xfd, 0x140477cad\ntest    rcx, rcx                                                       ; +0x104, 0x140477cb4\njz      short loc_140477CBF                                            ; +0x107, 0x140477cb7\ncall    cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x109, 0x140477cb9\nmov     rcx, rbx                                                       ; +0x10f, 0x140477cbf\ncall    FLAlertLayer__dFLAlertLayer; Merged with: FLAlertLayer::~FLAlertLayer, DailyRecallUnlockPopup::~DailyRecallUnlockPopup, DemonInfoPopup::~DemonInfoPopup, EditorSoundsSettingsPopup::~EditorSoundsSettingsPopup, GJPathRewardPopup::~GJPathRewardPopup, GJPromoPopup::~GJPromoPopup, LevelStatsInfoPopup::~LevelStatsInfoPopup, NCSInfoLayer::~NCSInfoLayer, NewgroundsInfoLayer::~NewgroundsInfoLayer, SelectSFXSortLayer::~SelectSFXSortLayer, StarInfoPopup::~StarInfoPopup ; +0x112, 0x140477cc2\nnop                                                                    ; +0x117, 0x140477cc7\ntest    sil, 1                                                         ; +0x118, 0x140477cc8\njz      short loc_140477CDB                                            ; +0x11c, 0x140477ccc\nmov     edx, 2F0h                                                      ; +0x11e, 0x140477cce\nmov     rcx, rbx; Block                                                ; +0x123, 0x140477cd3\ncall    j_j_free                                                       ; +0x126, 0x140477cd6\nmov     rax, rbx                                                       ; +0x12b, 0x140477cdb\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x12e, 0x140477cde\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x133, 0x140477ce3\nadd     rsp, 20h                                                       ; +0x138, 0x140477ce8\npop     rdi                                                            ; +0x13c, 0x140477cec\nretn                                                                   ; +0x13d, 0x140477ced", "xrefs": ["sub_140479ECC @ 0x140479ed3", "<???> @ 0x1407b5478", "<???> @ 0x1409284b4"], "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"}