{"type": "func", "start": 5371433136, "end": 5371433535, "name": "GJWriteMessagePopup::create", "pseudocode": "// \n// GJWriteMessagePopup::create from 0x1402990b0 to 0x14029923f (399 bytes)\n// \n// 4 xrefs:\n// > GJUserCell::onSendMessage @ 0x1400bbb4c\n// > GJMessagePopup::onReply @ 0x1402986e6\n// > ProfilePage::onSendMessage @ 0x1403c3d00\n// > <???> @ 0x1406d1cdc\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n// Hidden C++ exception states: #wind=1\nGJWriteMessagePopup *GJWriteMessagePopup::create(int a1, int a2)\n{\n  char *v4; // rsi\n\n  v4 = (char *)operator new(0x318u);\n  FLAlertLayer::FLAlertLayer((FLAlertLayer *)v4);\n  *(_QWORD *)v4 = &GJWriteMessagePopup::`vftable';\n  *((_QWORD *)v4 + 40) = &GJWriteMessagePopup::`vftable';\n  *((_QWORD *)v4 + 41) = &GJWriteMessagePopup::`vftable';\n  *((_QWORD *)v4 + 42) = &GJWriteMessagePopup::`vftable';\n  *((_QWORD *)v4 + 43) = &GJWriteMessagePopup::`vftable';\n  *((_QWORD *)v4 + 44) = &GJWriteMessagePopup::`vftable';\n  *((_QWORD *)v4 + 51) = &GJWriteMessagePopup::`vftable';\n  *((_QWORD *)v4 + 54) = &GJWriteMessagePopup::`vftable';\n  *((_QWORD *)v4 + 79) = &GJWriteMessagePopup::`vftable';\n  *((_QWORD *)v4 + 80) = &GJWriteMessagePopup::`vftable';\n  *((_QWORD *)v4 + 81) = &GJWriteMessagePopup::`vftable';\n  *((_QWORD *)v4 + 82) = &GJWriteMessagePopup::`vftable';\n  *(_QWORD *)(v4 + 668) = 0;\n  *((_QWORD *)v4 + 85) = 0;\n  *((_QWORD *)v4 + 86) = 0;\n  *(_OWORD *)(v4 + 696) = 0;\n  *((_QWORD *)v4 + 89) = 0;\n  *((_QWORD *)v4 + 90) = 15;\n  v4[696] = 0;\n  *(_OWORD *)(v4 + 728) = 0;\n  *((_QWORD *)v4 + 93) = 0;\n  *((_QWORD *)v4 + 94) = 15;\n  v4[728] = 0;\n  *((_QWORD *)v4 + 95) = 0;\n  *((_QWORD *)v4 + 96) = 0;\n  *((_QWORD *)v4 + 97) = 0;\n  v4[784] = 0;\n  if ( GJWriteMessagePopup::init((GJWriteMessagePopup *)v4, a1, a2) )\n  {\n    cocos2d::CCObject::autorelease((cocos2d::CCObject *)v4);\n    return (GJWriteMessagePopup *)v4;\n  }\n  else\n  {\n    (*(void (__fastcall **)(char *, __int64))(*(_QWORD *)v4 + 8LL))(v4, 1);\n    return nullptr;\n  }\n}", "assembly": "; \n; GJWriteMessagePopup::create from 0x1402990b0 to 0x14029923f (399 bytes)\n; \n; 4 xrefs:\n; > GJUserCell::onSendMessage @ 0x1400bbb4c\n; > GJMessagePopup::onReply @ 0x1402986e6\n; > ProfilePage::onSendMessage @ 0x1403c3d00\n; > <???> @ 0x1406d1cdc\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1402990b0\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x1402990b5\nmov     [rsp+arg_18], rsi                                              ; +0xa, 0x1402990ba\npush    rdi                                                            ; +0xf, 0x1402990bf\nsub     rsp, 20h                                                       ; +0x10, 0x1402990c0\nmov     ebx, edx                                                       ; +0x14, 0x1402990c4\nmov     edi, ecx                                                       ; +0x16, 0x1402990c6\nmov     ecx, 318h; Size                                                ; +0x18, 0x1402990c8\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x1d, 0x1402990cd\nmov     rsi, rax                                                       ; +0x22, 0x1402990d2\nmov     [rsp+28h+arg_10], rax                                          ; +0x25, 0x1402990d5\nmov     rcx, rax                                                       ; +0x2a, 0x1402990da\ncall    FLAlertLayer__FLAlertLayer                                     ; +0x2d, 0x1402990dd\nlea     rax, ??_7GJWriteMessagePopup@@6B@; const GJWriteMessagePopup::`vftable' ; +0x32, 0x1402990e2\nmov     [rsi], rax                                                     ; +0x39, 0x1402990e9\nlea     rax, ??_7GJWriteMessagePopup@@6B@_0; const GJWriteMessagePopup::`vftable' ; +0x3c, 0x1402990ec\nmov     [rsi+140h], rax                                                ; +0x43, 0x1402990f3\nlea     rax, ??_7GJWriteMessagePopup@@6B@_1; const GJWriteMessagePopup::`vftable' ; +0x4a, 0x1402990fa\nmov     [rsi+148h], rax                                                ; +0x51, 0x140299101\nlea     rax, ??_7GJWriteMessagePopup@@6B@_2; const GJWriteMessagePopup::`vftable' ; +0x58, 0x140299108\nmov     [rsi+150h], rax                                                ; +0x5f, 0x14029910f\nlea     rax, ??_7GJWriteMessagePopup@@6B@_3; const GJWriteMessagePopup::`vftable' ; +0x66, 0x140299116\nmov     [rsi+158h], rax                                                ; +0x6d, 0x14029911d\nlea     rax, ??_7GJWriteMessagePopup@@6B@_4; const GJWriteMessagePopup::`vftable' ; +0x74, 0x140299124\nmov     [rsi+160h], rax                                                ; +0x7b, 0x14029912b\nlea     rax, ??_7GJWriteMessagePopup@@6B@_5; const GJWriteMessagePopup::`vftable' ; +0x82, 0x140299132\nmov     [rsi+198h], rax                                                ; +0x89, 0x140299139\nlea     rax, ??_7GJWriteMessagePopup@@6B@_6; const GJWriteMessagePopup::`vftable' ; +0x90, 0x140299140\nmov     [rsi+1B0h], rax                                                ; +0x97, 0x140299147\nlea     rax, ??_7GJWriteMessagePopup@@6B@_7; const GJWriteMessagePopup::`vftable' ; +0x9e, 0x14029914e\nmov     [rsi+278h], rax                                                ; +0xa5, 0x140299155\nlea     rax, ??_7GJWriteMessagePopup@@6B@_8; const GJWriteMessagePopup::`vftable' ; +0xac, 0x14029915c\nmov     [rsi+280h], rax                                                ; +0xb3, 0x140299163\nlea     rax, ??_7GJWriteMessagePopup@@6B@_9; const GJWriteMessagePopup::`vftable' ; +0xba, 0x14029916a\nmov     [rsi+288h], rax                                                ; +0xc1, 0x140299171\nlea     rax, ??_7GJWriteMessagePopup@@6B@_10; const GJWriteMessagePopup::`vftable' ; +0xc8, 0x140299178\nmov     [rsi+290h], rax                                                ; +0xcf, 0x14029917f\nxor     ebp, ebp                                                       ; +0xd6, 0x140299186\nmov     [rsi+29Ch], rbp                                                ; +0xd8, 0x140299188\nmov     [rsi+2A8h], rbp                                                ; +0xdf, 0x14029918f\nmov     [rsi+2B0h], rbp                                                ; +0xe6, 0x140299196\nxorps   xmm0, xmm0                                                     ; +0xed, 0x14029919d\nmovups  xmmword ptr [rsi+2B8h], xmm0                                   ; +0xf0, 0x1402991a0\nmov     [rsi+2C8h], rbp                                                ; +0xf7, 0x1402991a7\nmov     qword ptr [rsi+2D0h], 0Fh                                      ; +0xfe, 0x1402991ae\nmov     [rsi+2B8h], bpl                                                ; +0x109, 0x1402991b9\nmovups  xmmword ptr [rsi+2D8h], xmm0                                   ; +0x110, 0x1402991c0\nmov     [rsi+2E8h], rbp                                                ; +0x117, 0x1402991c7\nmov     qword ptr [rsi+2F0h], 0Fh                                      ; +0x11e, 0x1402991ce\nmov     [rsi+2D8h], bpl                                                ; +0x129, 0x1402991d9\nmov     [rsi+2F8h], rbp                                                ; +0x130, 0x1402991e0\nmov     [rsi+300h], rbp                                                ; +0x137, 0x1402991e7\nmov     [rsi+308h], rbp                                                ; +0x13e, 0x1402991ee\nmov     [rsi+310h], bpl                                                ; +0x145, 0x1402991f5\nmov     r8d, ebx                                                       ; +0x14c, 0x1402991fc\nmov     edx, edi                                                       ; +0x14f, 0x1402991ff\nmov     rcx, rsi                                                       ; +0x151, 0x140299201\ncall    GJWriteMessagePopup__init                                      ; +0x154, 0x140299204\nmov     rcx, rsi                                                       ; +0x159, 0x140299209\ntest    al, al                                                         ; +0x15c, 0x14029920c\njz      short loc_14029921B                                            ; +0x15e, 0x14029920e\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x160, 0x140299210\nmov     rax, rsi                                                       ; +0x166, 0x140299216\njmp     short loc_14029922A                                            ; +0x169, 0x140299219\nmov     r8, [rsi]                                                      ; +0x16b, 0x14029921b\nmov     edx, 1                                                         ; +0x16e, 0x14029921e\ncall    qword ptr [r8+8]                                               ; +0x173, 0x140299223\nmov     rax, rbp                                                       ; +0x177, 0x140299227\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x17a, 0x14029922a\nmov     rbp, [rsp+28h+arg_8]                                           ; +0x17f, 0x14029922f\nmov     rsi, [rsp+28h+arg_18]                                          ; +0x184, 0x140299234\nadd     rsp, 20h                                                       ; +0x189, 0x140299239\npop     rdi                                                            ; +0x18d, 0x14029923d\nretn                                                                   ; +0x18e, 0x14029923e", "xrefs": ["GJUserCell::onSendMessage @ 0x1400bbb4c", "GJMessagePopup::onReply @ 0x1402986e6", "ProfilePage::onSendMessage @ 0x1403c3d00", "<???> @ 0x1406d1cdc"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}