{"type": "func", "start": 5373384176, "end": 5373384582, "name": "MessagesProfilePage::dMessagesProfilePage", "pseudocode": "// \n// MessagesProfilePage::dMessagesProfilePage from 0x1404755f0 to 0x140475786 (406 bytes)\n// \n// 3 xrefs:\n// > sub_140477BA0 @ 0x140477ba7\n// > <???> @ 0x1407b4a10\n// > <???> @ 0x14092834c\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:40 +0000\n// \n\n// Hidden C++ exception states: #wind=1\nchar *__fastcall MessagesProfilePage::dMessagesProfilePage(char *Block, char a2)\n{\n  char *v4; // rsi\n  char *v5; // rdi\n  __int64 v6; // rax\n  void *v7; // rax\n  cocos2d::CCNotificationCenter *v8; // rax\n  cocos2d::CCObject *v9; // rcx\n\n  *(_QWORD *)Block = &MessagesProfilePage::`vftable';\n  *((_QWORD *)Block + 40) = &MessagesProfilePage::`vftable';\n  *((_QWORD *)Block + 41) = &MessagesProfilePage::`vftable';\n  *((_QWORD *)Block + 42) = &MessagesProfilePage::`vftable';\n  *((_QWORD *)Block + 43) = &MessagesProfilePage::`vftable';\n  *((_QWORD *)Block + 44) = &MessagesProfilePage::`vftable';\n  *((_QWORD *)Block + 51) = &MessagesProfilePage::`vftable';\n  *((_QWORD *)Block + 54) = &MessagesProfilePage::`vftable';\n  *((_QWORD *)Block + 68) = &MessagesProfilePage::`vftable';\n  *((_QWORD *)Block + 83) = &MessagesProfilePage::`vftable';\n  v4 = Block + 672;\n  *((_QWORD *)Block + 84) = &MessagesProfilePage::`vftable';\n  *((_QWORD *)Block + 85) = &MessagesProfilePage::`vftable';\n  v5 = Block + 688;\n  *((_QWORD *)Block + 86) = &MessagesProfilePage::`vftable';\n  v6 = *(_QWORD *)&qword_14090BFB0;\n  if ( !*(_QWORD *)&qword_14090BFB0 )\n  {\n    v7 = operator new(0x690u);\n    *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)v7);\n    (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0);\n    v6 = *(_QWORD *)&qword_14090BFB0;\n  }\n  if ( *(char **)(v6 + 1512) == v5 )\n    *(_QWORD *)(v6 + 1512) = 0;\n  if ( *(char **)(v6 + 1488) == v4 )\n    *(_QWORD *)(v6 + 1488) = 0;\n  v8 = (cocos2d::CCNotificationCenter *)cocos2d::CCNotificationCenter::sharedNotificationCenter(0);\n  cocos2d::CCNotificationCenter::removeObserver(\n    v8,\n    (struct cocos2d::CCObject *)Block,\n    \"MessageSelectionChangedNotification\");\n  v9 = *((cocos2d::CCObject **)Block + 95);\n  if ( v9 )\n    cocos2d::CCObject::release(v9);\n  sub_14003D310((__int64)(Block + 704));\n  FLAlertLayer::dFLAlertLayer((__int64)Block);\n  if ( (a2 & 1) != 0 )\n    j_j_free(Block);\n  return Block;\n}", "assembly": "; \n; MessagesProfilePage::dMessagesProfilePage from 0x1404755f0 to 0x140475786 (406 bytes)\n; \n; 3 xrefs:\n; > sub_140477BA0 @ 0x140477ba7\n; > <???> @ 0x1407b4a10\n; > <???> @ 0x14092834c\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:40 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1404755f0\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x1404755f5\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x1404755fa\npush    rdi                                                            ; +0xf, 0x1404755ff\nsub     rsp, 20h                                                       ; +0x10, 0x140475600\nmov     ebp, edx                                                       ; +0x14, 0x140475604\nmov     rbx, rcx                                                       ; +0x16, 0x140475606\nlea     rax, ??_7MessagesProfilePage@@6B@; const MessagesProfilePage::`vftable' ; +0x19, 0x140475609\nmov     [rcx], rax                                                     ; +0x20, 0x140475610\nlea     rax, ??_7MessagesProfilePage@@6B@_0; const MessagesProfilePage::`vftable' ; +0x23, 0x140475613\nmov     [rcx+140h], rax                                                ; +0x2a, 0x14047561a\nlea     rax, ??_7MessagesProfilePage@@6B@_1; const MessagesProfilePage::`vftable' ; +0x31, 0x140475621\nmov     [rcx+148h], rax                                                ; +0x38, 0x140475628\nlea     rax, ??_7MessagesProfilePage@@6B@_2; const MessagesProfilePage::`vftable' ; +0x3f, 0x14047562f\nmov     [rcx+150h], rax                                                ; +0x46, 0x140475636\nlea     rax, ??_7MessagesProfilePage@@6B@_3; const MessagesProfilePage::`vftable' ; +0x4d, 0x14047563d\nmov     [rcx+158h], rax                                                ; +0x54, 0x140475644\nlea     rax, ??_7MessagesProfilePage@@6B@_4; const MessagesProfilePage::`vftable' ; +0x5b, 0x14047564b\nmov     [rcx+160h], rax                                                ; +0x62, 0x140475652\nlea     rax, ??_7MessagesProfilePage@@6B@_5; const MessagesProfilePage::`vftable' ; +0x69, 0x140475659\nmov     [rcx+198h], rax                                                ; +0x70, 0x140475660\nlea     rax, ??_7MessagesProfilePage@@6B@_6; const MessagesProfilePage::`vftable' ; +0x77, 0x140475667\nmov     [rcx+1B0h], rax                                                ; +0x7e, 0x14047566e\nlea     rax, ??_7MessagesProfilePage@@6B@_7; const MessagesProfilePage::`vftable' ; +0x85, 0x140475675\nmov     [rcx+220h], rax                                                ; +0x8c, 0x14047567c\nlea     rax, ??_7MessagesProfilePage@@6B@_8; const MessagesProfilePage::`vftable' ; +0x93, 0x140475683\nmov     [rcx+298h], rax                                                ; +0x9a, 0x14047568a\nlea     rsi, [rcx+2A0h]                                                ; +0xa1, 0x140475691\nlea     rax, ??_7MessagesProfilePage@@6B@_9; const MessagesProfilePage::`vftable' ; +0xa8, 0x140475698\nmov     [rsi], rax                                                     ; +0xaf, 0x14047569f\nlea     rax, ??_7MessagesProfilePage@@6B@_10; const MessagesProfilePage::`vftable' ; +0xb2, 0x1404756a2\nmov     [rcx+2A8h], rax                                                ; +0xb9, 0x1404756a9\nlea     rdi, [rcx+2B0h]                                                ; +0xc0, 0x1404756b0\nlea     rax, ??_7MessagesProfilePage@@6B@_11; const MessagesProfilePage::`vftable' ; +0xc7, 0x1404756b7\nmov     [rdi], rax                                                     ; +0xce, 0x1404756be\nmov     rax, cs:qword_14090BFB0                                        ; +0xd1, 0x1404756c1\ntest    rax, rax                                                       ; +0xd8, 0x1404756c8\njnz     short loc_1404756F9                                            ; +0xdb, 0x1404756cb\nmov     ecx, 690h; Size                                                ; +0xdd, 0x1404756cd\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xe2, 0x1404756d2\nmov     rcx, rax                                                       ; +0xe7, 0x1404756d7\ncall    GameLevelManager__GameLevelManager                             ; +0xea, 0x1404756da\nmov     cs:qword_14090BFB0, rax                                        ; +0xef, 0x1404756df\nmov     rcx, [rax]                                                     ; +0xf6, 0x1404756e6\nmov     rdx, [rcx+48h]                                                 ; +0xf9, 0x1404756e9\nmov     rcx, rax                                                       ; +0xfd, 0x1404756ed\ncall    rdx                                                            ; +0x100, 0x1404756f0\nmov     rax, cs:qword_14090BFB0                                        ; +0x102, 0x1404756f2\nxor     ecx, ecx                                                       ; +0x109, 0x1404756f9\ncmp     [rax+5E8h], rdi                                                ; +0x10b, 0x1404756fb\njnz     short loc_14047570B                                            ; +0x112, 0x140475702\nmov     [rax+5E8h], rcx                                                ; +0x114, 0x140475704\ncmp     [rax+5D0h], rsi                                                ; +0x11b, 0x14047570b\njnz     short loc_14047571B                                            ; +0x122, 0x140475712\nmov     [rax+5D0h], rcx                                                ; +0x124, 0x140475714\ncall    cs:?sharedNotificationCenter@CCNotificationCenter@cocos2d@@SAPEAV12@XZ; cocos2d::CCNotificationCenter::sharedNotificationCenter(void) ; +0x12b, 0x14047571b\nmov     rcx, rax                                                       ; +0x131, 0x140475721\nlea     r8, aMessageselecti; \"MessageSelectionChangedNotification\"     ; +0x134, 0x140475724\nmov     rdx, rbx                                                       ; +0x13b, 0x14047572b\ncall    cs:?removeObserver@CCNotificationCenter@cocos2d@@QEAAXPEAVCCObject@2@PEBD@Z; cocos2d::CCNotificationCenter::removeObserver(cocos2d::CCObject *,char const *) ; +0x13e, 0x14047572e\nmov     rcx, [rbx+2F8h]                                                ; +0x144, 0x140475734\ntest    rcx, rcx                                                       ; +0x14b, 0x14047573b\njz      short loc_140475746                                            ; +0x14e, 0x14047573e\ncall    cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x150, 0x140475740\nlea     rcx, [rbx+2C0h]                                                ; +0x156, 0x140475746\ncall    sub_14003D310                                                  ; +0x15d, 0x14047574d\nmov     rcx, rbx                                                       ; +0x162, 0x140475752\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 ; +0x165, 0x140475755\nnop                                                                    ; +0x16a, 0x14047575a\ntest    bpl, 1                                                         ; +0x16b, 0x14047575b\njz      short loc_14047576E                                            ; +0x16f, 0x14047575f\nmov     edx, 348h                                                      ; +0x171, 0x140475761\nmov     rcx, rbx; Block                                                ; +0x176, 0x140475766\ncall    j_j_free                                                       ; +0x179, 0x140475769\nmov     rax, rbx                                                       ; +0x17e, 0x14047576e\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x181, 0x140475771\nmov     rbp, [rsp+28h+arg_8]                                           ; +0x186, 0x140475776\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x18b, 0x14047577b\nadd     rsp, 20h                                                       ; +0x190, 0x140475780\npop     rdi                                                            ; +0x194, 0x140475784\nretn                                                                   ; +0x195, 0x140475785", "xrefs": ["sub_140477BA0 @ 0x140477ba7", "<???> @ 0x1407b4a10", "<???> @ 0x14092834c"], "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"}