{"type": "func", "start": 5372523312, "end": 5372523651, "name": "GJMessagePopup::create", "pseudocode": "// \n// GJMessagePopup::create from 0x1403a3330 to 0x1403a3483 (339 bytes)\n// \n// 2 xrefs:\n// > GJMessageCell::onViewMessage @ 0x14015d44b\n// > <???> @ 0x14092369c\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:31:18 +0000\n// \n\n// Hidden C++ exception states: #wind=1\n_QWORD *__fastcall GJMessagePopup::create(__int64 a1)\n{\n  _QWORD *v2; // rdi\n\n  v2 = operator new(0x2E8u);\n  FLAlertLayer::FLAlertLayer((__int64)v2);\n  *v2 = &GJMessagePopup::`vftable';\n  v2[40] = &GJMessagePopup::`vftable';\n  v2[41] = &GJMessagePopup::`vftable';\n  v2[42] = &GJMessagePopup::`vftable';\n  v2[43] = &GJMessagePopup::`vftable';\n  v2[44] = &GJMessagePopup::`vftable';\n  v2[51] = &GJMessagePopup::`vftable';\n  v2[54] = &GJMessagePopup::`vftable';\n  v2[68] = &GJMessagePopup::`vftable';\n  v2[83] = &GJMessagePopup::`vftable';\n  v2[84] = &GJMessagePopup::`vftable';\n  v2[85] = &GJMessagePopup::`vftable';\n  v2[86] = &GJMessagePopup::`vftable';\n  *((_BYTE *)v2 + 696) = 0;\n  v2[89] = 0;\n  v2[90] = 0;\n  v2[91] = 0;\n  v2[92] = 0;\n  if ( (unsigned __int8)GJMessagePopup::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; GJMessagePopup::create from 0x1403a3330 to 0x1403a3483 (339 bytes)\n; \n; 2 xrefs:\n; > GJMessageCell::onViewMessage @ 0x14015d44b\n; > <???> @ 0x14092369c\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:31:18 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1403a3330\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x1403a3335\npush    rdi                                                            ; +0xa, 0x1403a333a\nsub     rsp, 20h                                                       ; +0xb, 0x1403a333b\nmov     rbx, rcx                                                       ; +0xf, 0x1403a333f\nmov     ecx, 2E8h; Size                                                ; +0x12, 0x1403a3342\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x17, 0x1403a3347\nmov     rdi, rax                                                       ; +0x1c, 0x1403a334c\nmov     [rsp+28h+arg_8], rax                                           ; +0x1f, 0x1403a334f\nmov     rcx, rax                                                       ; +0x24, 0x1403a3354\ncall    FLAlertLayer__FLAlertLayer                                     ; +0x27, 0x1403a3357\nlea     rax, ??_7GJMessagePopup@@6B@; const GJMessagePopup::`vftable'  ; +0x2c, 0x1403a335c\nmov     [rdi], rax                                                     ; +0x33, 0x1403a3363\nlea     rax, ??_7GJMessagePopup@@6B@_0; const GJMessagePopup::`vftable' ; +0x36, 0x1403a3366\nmov     [rdi+140h], rax                                                ; +0x3d, 0x1403a336d\nlea     rax, ??_7GJMessagePopup@@6B@_1; const GJMessagePopup::`vftable' ; +0x44, 0x1403a3374\nmov     [rdi+148h], rax                                                ; +0x4b, 0x1403a337b\nlea     rax, ??_7GJMessagePopup@@6B@_2; const GJMessagePopup::`vftable' ; +0x52, 0x1403a3382\nmov     [rdi+150h], rax                                                ; +0x59, 0x1403a3389\nlea     rax, ??_7GJMessagePopup@@6B@_3; const GJMessagePopup::`vftable' ; +0x60, 0x1403a3390\nmov     [rdi+158h], rax                                                ; +0x67, 0x1403a3397\nlea     rax, ??_7GJMessagePopup@@6B@_4; const GJMessagePopup::`vftable' ; +0x6e, 0x1403a339e\nmov     [rdi+160h], rax                                                ; +0x75, 0x1403a33a5\nlea     rax, ??_7GJMessagePopup@@6B@_5; const GJMessagePopup::`vftable' ; +0x7c, 0x1403a33ac\nmov     [rdi+198h], rax                                                ; +0x83, 0x1403a33b3\nlea     rax, ??_7GJMessagePopup@@6B@_6; const GJMessagePopup::`vftable' ; +0x8a, 0x1403a33ba\nmov     [rdi+1B0h], rax                                                ; +0x91, 0x1403a33c1\nlea     rax, ??_7GJMessagePopup@@6B@_7; const GJMessagePopup::`vftable' ; +0x98, 0x1403a33c8\nmov     [rdi+220h], rax                                                ; +0x9f, 0x1403a33cf\nlea     rax, ??_7GJMessagePopup@@6B@_8; const GJMessagePopup::`vftable' ; +0xa6, 0x1403a33d6\nmov     [rdi+298h], rax                                                ; +0xad, 0x1403a33dd\nlea     rax, ??_7GJMessagePopup@@6B@_9; const GJMessagePopup::`vftable' ; +0xb4, 0x1403a33e4\nmov     [rdi+2A0h], rax                                                ; +0xbb, 0x1403a33eb\nlea     rax, ??_7GJMessagePopup@@6B@_10; const GJMessagePopup::`vftable' ; +0xc2, 0x1403a33f2\nmov     [rdi+2A8h], rax                                                ; +0xc9, 0x1403a33f9\nlea     rax, ??_7GJMessagePopup@@6B@_11; const GJMessagePopup::`vftable' ; +0xd0, 0x1403a3400\nmov     [rdi+2B0h], rax                                                ; +0xd7, 0x1403a3407\nmov     byte ptr [rdi+2B8h], 0                                         ; +0xde, 0x1403a340e\nxor     esi, esi                                                       ; +0xe5, 0x1403a3415\nmov     [rdi+2C8h], rsi                                                ; +0xe7, 0x1403a3417\nmov     [rdi+2D0h], rsi                                                ; +0xee, 0x1403a341e\nmov     [rdi+2D8h], rsi                                                ; +0xf5, 0x1403a3425\nmov     [rdi+2E0h], rsi                                                ; +0xfc, 0x1403a342c\nmov     rdx, rbx                                                       ; +0x103, 0x1403a3433\nmov     rcx, rdi                                                       ; +0x106, 0x1403a3436\ncall    GJMessagePopup__init                                           ; +0x109, 0x1403a3439\ntest    al, al                                                         ; +0x10e, 0x1403a343e\njz      short loc_1403A345E                                            ; +0x110, 0x1403a3440\nmov     rcx, rdi                                                       ; +0x112, 0x1403a3442\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x115, 0x1403a3445\nmov     rax, rdi                                                       ; +0x11b, 0x1403a344b\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x11e, 0x1403a344e\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x123, 0x1403a3453\nadd     rsp, 20h                                                       ; +0x128, 0x1403a3458\npop     rdi                                                            ; +0x12c, 0x1403a345c\nretn                                                                   ; +0x12d, 0x1403a345d\nmov     rcx, [rdi]                                                     ; +0x12e, 0x1403a345e\nmov     r8, [rcx+8]                                                    ; +0x131, 0x1403a3461\nmov     edx, 1                                                         ; +0x135, 0x1403a3465\nmov     rcx, rdi                                                       ; +0x13a, 0x1403a346a\ncall    r8                                                             ; +0x13d, 0x1403a346d\nmov     rax, rsi                                                       ; +0x140, 0x1403a3470\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x143, 0x1403a3473\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x148, 0x1403a3478\nadd     rsp, 20h                                                       ; +0x14d, 0x1403a347d\npop     rdi                                                            ; +0x151, 0x1403a3481\nretn                                                                   ; +0x152, 0x1403a3482", "xrefs": ["GJMessageCell::onViewMessage @ 0x14015d44b", "<???> @ 0x14092369c"], "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"}