{"type": "func", "start": 5373384592, "end": 5373385022, "name": "MessagesProfilePage::create", "pseudocode": "// \n// MessagesProfilePage::create from 0x140475790 to 0x14047593e (430 bytes)\n// \n// 4 xrefs:\n// > MessageThreadsPage::onLegacyMessages @ 0x1400d8396\n// > MessagesProfilePage::onSentMessages @ 0x1404766e6\n// > MessagesProfilePage::onClose @ 0x140476fae\n// > <???> @ 0x140928358\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\n_QWORD *__fastcall MessagesProfilePage::create(unsigned __int8 a1)\n{\n  _QWORD *v2; // rdi\n\n  v2 = operator new(0x348u);\n  FLAlertLayer::FLAlertLayer((__int64)v2);\n  *v2 = &MessagesProfilePage::`vftable';\n  v2[40] = &MessagesProfilePage::`vftable';\n  v2[41] = &MessagesProfilePage::`vftable';\n  v2[42] = &MessagesProfilePage::`vftable';\n  v2[43] = &MessagesProfilePage::`vftable';\n  v2[44] = &MessagesProfilePage::`vftable';\n  v2[51] = &MessagesProfilePage::`vftable';\n  v2[54] = &MessagesProfilePage::`vftable';\n  v2[68] = &MessagesProfilePage::`vftable';\n  v2[83] = &MessagesProfilePage::`vftable';\n  v2[84] = &MessagesProfilePage::`vftable';\n  v2[85] = &MessagesProfilePage::`vftable';\n  v2[86] = &MessagesProfilePage::`vftable';\n  *((_BYTE *)v2 + 696) = 0;\n  *((_OWORD *)v2 + 44) = 0;\n  v2[90] = 0;\n  v2[91] = 15;\n  *((_BYTE *)v2 + 704) = 0;\n  v2[92] = 0;\n  v2[93] = 0;\n  v2[94] = 0;\n  v2[95] = 0;\n  v2[96] = 0;\n  v2[97] = 0;\n  v2[98] = 0;\n  v2[99] = 0;\n  v2[101] = 0;\n  v2[102] = 0;\n  v2[103] = 0;\n  v2[104] = 0;\n  if ( (unsigned __int8)MessagesProfilePage::init(v2, a1) )\n  {\n    cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2);\n    return v2;\n  }\n  else\n  {\n    (*(void (__fastcall **)(_QWORD *, __int64))(*v2 + 8LL))(v2, 1);\n    return nullptr;\n  }\n}", "assembly": "; \n; MessagesProfilePage::create from 0x140475790 to 0x14047593e (430 bytes)\n; \n; 4 xrefs:\n; > MessageThreadsPage::onLegacyMessages @ 0x1400d8396\n; > MessagesProfilePage::onSentMessages @ 0x1404766e6\n; > MessagesProfilePage::onClose @ 0x140476fae\n; > <???> @ 0x140928358\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, 0x140475790\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x140475795\npush    rdi                                                            ; +0xa, 0x14047579a\nsub     rsp, 20h                                                       ; +0xb, 0x14047579b\nmovzx   ebx, cl                                                        ; +0xf, 0x14047579f\nmov     ecx, 348h; Size                                                ; +0x12, 0x1404757a2\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x17, 0x1404757a7\nmov     rdi, rax                                                       ; +0x1c, 0x1404757ac\nmov     [rsp+28h+arg_8], rax                                           ; +0x1f, 0x1404757af\nmov     rcx, rax                                                       ; +0x24, 0x1404757b4\ncall    FLAlertLayer__FLAlertLayer                                     ; +0x27, 0x1404757b7\nlea     rax, ??_7MessagesProfilePage@@6B@; const MessagesProfilePage::`vftable' ; +0x2c, 0x1404757bc\nmov     [rdi], rax                                                     ; +0x33, 0x1404757c3\nlea     rax, ??_7MessagesProfilePage@@6B@_0; const MessagesProfilePage::`vftable' ; +0x36, 0x1404757c6\nmov     [rdi+140h], rax                                                ; +0x3d, 0x1404757cd\nlea     rax, ??_7MessagesProfilePage@@6B@_1; const MessagesProfilePage::`vftable' ; +0x44, 0x1404757d4\nmov     [rdi+148h], rax                                                ; +0x4b, 0x1404757db\nlea     rax, ??_7MessagesProfilePage@@6B@_2; const MessagesProfilePage::`vftable' ; +0x52, 0x1404757e2\nmov     [rdi+150h], rax                                                ; +0x59, 0x1404757e9\nlea     rax, ??_7MessagesProfilePage@@6B@_3; const MessagesProfilePage::`vftable' ; +0x60, 0x1404757f0\nmov     [rdi+158h], rax                                                ; +0x67, 0x1404757f7\nlea     rax, ??_7MessagesProfilePage@@6B@_4; const MessagesProfilePage::`vftable' ; +0x6e, 0x1404757fe\nmov     [rdi+160h], rax                                                ; +0x75, 0x140475805\nlea     rax, ??_7MessagesProfilePage@@6B@_5; const MessagesProfilePage::`vftable' ; +0x7c, 0x14047580c\nmov     [rdi+198h], rax                                                ; +0x83, 0x140475813\nlea     rax, ??_7MessagesProfilePage@@6B@_6; const MessagesProfilePage::`vftable' ; +0x8a, 0x14047581a\nmov     [rdi+1B0h], rax                                                ; +0x91, 0x140475821\nlea     rax, ??_7MessagesProfilePage@@6B@_7; const MessagesProfilePage::`vftable' ; +0x98, 0x140475828\nmov     [rdi+220h], rax                                                ; +0x9f, 0x14047582f\nlea     rax, ??_7MessagesProfilePage@@6B@_8; const MessagesProfilePage::`vftable' ; +0xa6, 0x140475836\nmov     [rdi+298h], rax                                                ; +0xad, 0x14047583d\nlea     rax, ??_7MessagesProfilePage@@6B@_9; const MessagesProfilePage::`vftable' ; +0xb4, 0x140475844\nmov     [rdi+2A0h], rax                                                ; +0xbb, 0x14047584b\nlea     rax, ??_7MessagesProfilePage@@6B@_10; const MessagesProfilePage::`vftable' ; +0xc2, 0x140475852\nmov     [rdi+2A8h], rax                                                ; +0xc9, 0x140475859\nlea     rax, ??_7MessagesProfilePage@@6B@_11; const MessagesProfilePage::`vftable' ; +0xd0, 0x140475860\nmov     [rdi+2B0h], rax                                                ; +0xd7, 0x140475867\nmov     byte ptr [rdi+2B8h], 0                                         ; +0xde, 0x14047586e\nxorps   xmm0, xmm0                                                     ; +0xe5, 0x140475875\nmovups  xmmword ptr [rdi+2C0h], xmm0                                   ; +0xe8, 0x140475878\nxor     esi, esi                                                       ; +0xef, 0x14047587f\nmov     [rdi+2D0h], rsi                                                ; +0xf1, 0x140475881\nmov     qword ptr [rdi+2D8h], 0Fh                                      ; +0xf8, 0x140475888\nmov     [rdi+2C0h], sil                                                ; +0x103, 0x140475893\nmov     [rdi+2E0h], rsi                                                ; +0x10a, 0x14047589a\nmov     [rdi+2E8h], rsi                                                ; +0x111, 0x1404758a1\nmov     [rdi+2F0h], rsi                                                ; +0x118, 0x1404758a8\nmov     [rdi+2F8h], rsi                                                ; +0x11f, 0x1404758af\nmov     [rdi+300h], rsi                                                ; +0x126, 0x1404758b6\nmov     [rdi+308h], rsi                                                ; +0x12d, 0x1404758bd\nmov     [rdi+310h], rsi                                                ; +0x134, 0x1404758c4\nmov     [rdi+318h], rsi                                                ; +0x13b, 0x1404758cb\nmov     [rdi+328h], rsi                                                ; +0x142, 0x1404758d2\nmov     [rdi+330h], rsi                                                ; +0x149, 0x1404758d9\nmov     [rdi+338h], rsi                                                ; +0x150, 0x1404758e0\nmov     [rdi+340h], rsi                                                ; +0x157, 0x1404758e7\nmovzx   edx, bl                                                        ; +0x15e, 0x1404758ee\nmov     rcx, rdi                                                       ; +0x161, 0x1404758f1\ncall    MessagesProfilePage__init                                      ; +0x164, 0x1404758f4\ntest    al, al                                                         ; +0x169, 0x1404758f9\njz      short loc_140475919                                            ; +0x16b, 0x1404758fb\nmov     rcx, rdi                                                       ; +0x16d, 0x1404758fd\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x170, 0x140475900\nmov     rax, rdi                                                       ; +0x176, 0x140475906\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x179, 0x140475909\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x17e, 0x14047590e\nadd     rsp, 20h                                                       ; +0x183, 0x140475913\npop     rdi                                                            ; +0x187, 0x140475917\nretn                                                                   ; +0x188, 0x140475918\nmov     rcx, [rdi]                                                     ; +0x189, 0x140475919\nmov     r8, [rcx+8]                                                    ; +0x18c, 0x14047591c\nmov     edx, 1                                                         ; +0x190, 0x140475920\nmov     rcx, rdi                                                       ; +0x195, 0x140475925\ncall    r8                                                             ; +0x198, 0x140475928\nmov     rax, rsi                                                       ; +0x19b, 0x14047592b\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x19e, 0x14047592e\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x1a3, 0x140475933\nadd     rsp, 20h                                                       ; +0x1a8, 0x140475938\npop     rdi                                                            ; +0x1ac, 0x14047593c\nretn                                                                   ; +0x1ad, 0x14047593d", "xrefs": ["MessageThreadsPage::onLegacyMessages @ 0x1400d8396", "MessagesProfilePage::onSentMessages @ 0x1404766e6", "MessagesProfilePage::onClose @ 0x140476fae", "<???> @ 0x140928358"], "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"}