{"type": "func", "start": 5371425648, "end": 5371425967, "name": "GJMessagePopup::create", "pseudocode": "// \n// GJMessagePopup::create from 0x140297370 to 0x1402974af (319 bytes)\n// \n// 3 xrefs:\n// > GJMessageCell::onViewMessage @ 0x1400bde71\n// > GJWriteMessagePopup::closeMessagePopup @ 0x14029a6e6\n// > <???> @ 0x1406d1c4c\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\nGJMessagePopup *GJMessagePopup::create(GJUserMessage *a1)\n{\n  GJMessagePopup *v2; // rdi\n\n  v2 = (GJMessagePopup *)operator new(0x2C8u);\n  FLAlertLayer::FLAlertLayer(v2);\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (GJMessagePopup_vtbl *)&GJMessagePopup::`vftable';\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&GJMessagePopup::`vftable';\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&GJMessagePopup::`vftable';\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&GJMessagePopup::`vftable';\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&GJMessagePopup::`vftable';\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&GJMessagePopup::`vftable';\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&GJMessagePopup::`vftable';\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&GJMessagePopup::`vftable';\n  v2->UploadActionDelegate::__vftable = (UploadActionDelegate_vtbl *)&GJMessagePopup::`vftable';\n  v2->UploadPopupDelegate::__vftable = (UploadPopupDelegate_vtbl *)&GJMessagePopup::`vftable';\n  v2->FLAlertLayerProtocol::__vftable = (FLAlertLayerProtocol_vtbl *)&GJMessagePopup::`vftable';\n  v2->DownloadMessageDelegate::__vftable = (DownloadMessageDelegate_vtbl *)&GJMessagePopup::`vftable';\n  v2->m_actionSuccess = 0;\n  v2->m_message = nullptr;\n  v2->m_loadingCircle = nullptr;\n  v2->m_closeButton = nullptr;\n  v2->m_uploadPopup = nullptr;\n  if ( GJMessagePopup::init(v2, a1) )\n  {\n    cocos2d::CCObject::autorelease(v2);\n    return v2;\n  }\n  else\n  {\n    ((void (__fastcall *)(GJMessagePopup *, __int64))v2->~GJMessagePopup)(v2, 1);\n    return nullptr;\n  }\n}", "assembly": "; \n; GJMessagePopup::create from 0x140297370 to 0x1402974af (319 bytes)\n; \n; 3 xrefs:\n; > GJMessageCell::onViewMessage @ 0x1400bde71\n; > GJWriteMessagePopup::closeMessagePopup @ 0x14029a6e6\n; > <???> @ 0x1406d1c4c\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, 0x140297370\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x140297375\npush    rdi                                                            ; +0xa, 0x14029737a\nsub     rsp, 20h                                                       ; +0xb, 0x14029737b\nmov     rbx, rcx                                                       ; +0xf, 0x14029737f\nmov     ecx, 2C8h; Size                                                ; +0x12, 0x140297382\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x17, 0x140297387\nmov     rdi, rax                                                       ; +0x1c, 0x14029738c\nmov     [rsp+28h+arg_8], rax                                           ; +0x1f, 0x14029738f\nmov     rcx, rax                                                       ; +0x24, 0x140297394\ncall    FLAlertLayer__FLAlertLayer                                     ; +0x27, 0x140297397\nlea     rax, ??_7GJMessagePopup@@6B@; const GJMessagePopup::`vftable'  ; +0x2c, 0x14029739c\nmov     [rdi], rax                                                     ; +0x33, 0x1402973a3\nlea     rax, ??_7GJMessagePopup@@6B@_0; const GJMessagePopup::`vftable' ; +0x36, 0x1402973a6\nmov     [rdi+140h], rax                                                ; +0x3d, 0x1402973ad\nlea     rax, ??_7GJMessagePopup@@6B@_1; const GJMessagePopup::`vftable' ; +0x44, 0x1402973b4\nmov     [rdi+148h], rax                                                ; +0x4b, 0x1402973bb\nlea     rax, ??_7GJMessagePopup@@6B@_2; const GJMessagePopup::`vftable' ; +0x52, 0x1402973c2\nmov     [rdi+150h], rax                                                ; +0x59, 0x1402973c9\nlea     rax, ??_7GJMessagePopup@@6B@_3; const GJMessagePopup::`vftable' ; +0x60, 0x1402973d0\nmov     [rdi+158h], rax                                                ; +0x67, 0x1402973d7\nlea     rax, ??_7GJMessagePopup@@6B@_4; const GJMessagePopup::`vftable' ; +0x6e, 0x1402973de\nmov     [rdi+160h], rax                                                ; +0x75, 0x1402973e5\nlea     rax, ??_7GJMessagePopup@@6B@_5; const GJMessagePopup::`vftable' ; +0x7c, 0x1402973ec\nmov     [rdi+198h], rax                                                ; +0x83, 0x1402973f3\nlea     rax, ??_7GJMessagePopup@@6B@_6; const GJMessagePopup::`vftable' ; +0x8a, 0x1402973fa\nmov     [rdi+1B0h], rax                                                ; +0x91, 0x140297401\nlea     rax, ??_7GJMessagePopup@@6B@_7; const GJMessagePopup::`vftable' ; +0x98, 0x140297408\nmov     [rdi+278h], rax                                                ; +0x9f, 0x14029740f\nlea     rax, ??_7GJMessagePopup@@6B@_8; const GJMessagePopup::`vftable' ; +0xa6, 0x140297416\nmov     [rdi+280h], rax                                                ; +0xad, 0x14029741d\nlea     rax, ??_7GJMessagePopup@@6B@_9; const GJMessagePopup::`vftable' ; +0xb4, 0x140297424\nmov     [rdi+288h], rax                                                ; +0xbb, 0x14029742b\nlea     rax, ??_7GJMessagePopup@@6B@_10; const GJMessagePopup::`vftable' ; +0xc2, 0x140297432\nmov     [rdi+290h], rax                                                ; +0xc9, 0x140297439\nmov     byte ptr [rdi+298h], 0                                         ; +0xd0, 0x140297440\nxor     esi, esi                                                       ; +0xd7, 0x140297447\nmov     [rdi+2A8h], rsi                                                ; +0xd9, 0x140297449\nmov     [rdi+2B0h], rsi                                                ; +0xe0, 0x140297450\nmov     [rdi+2B8h], rsi                                                ; +0xe7, 0x140297457\nmov     [rdi+2C0h], rsi                                                ; +0xee, 0x14029745e\nmov     rdx, rbx                                                       ; +0xf5, 0x140297465\nmov     rcx, rdi                                                       ; +0xf8, 0x140297468\ncall    GJMessagePopup__init                                           ; +0xfb, 0x14029746b\nmov     rcx, rdi                                                       ; +0x100, 0x140297470\ntest    al, al                                                         ; +0x103, 0x140297473\njz      short loc_140297490                                            ; +0x105, 0x140297475\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x107, 0x140297477\nmov     rax, rdi                                                       ; +0x10d, 0x14029747d\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x110, 0x140297480\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x115, 0x140297485\nadd     rsp, 20h                                                       ; +0x11a, 0x14029748a\npop     rdi                                                            ; +0x11e, 0x14029748e\nretn                                                                   ; +0x11f, 0x14029748f\nmov     r8, [rdi]                                                      ; +0x120, 0x140297490\nmov     edx, 1                                                         ; +0x123, 0x140297493\ncall    qword ptr [r8+8]                                               ; +0x128, 0x140297498\nmov     rax, rsi                                                       ; +0x12c, 0x14029749c\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x12f, 0x14029749f\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x134, 0x1402974a4\nadd     rsp, 20h                                                       ; +0x139, 0x1402974a9\npop     rdi                                                            ; +0x13d, 0x1402974ad\nretn                                                                   ; +0x13e, 0x1402974ae", "xrefs": ["GJMessageCell::onViewMessage @ 0x1400bde71", "GJWriteMessagePopup::closeMessagePopup @ 0x14029a6e6", "<???> @ 0x1406d1c4c"], "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"}