{"type": "func", "start": 9236004, "end": 9236324, "name": "GJMessagePopup::create", "pseudocode": "// \n// GJMessagePopup::create from 0x8cee24 to 0x8cef64 (320 bytes)\n// \n// 3 xrefs:\n// > GJMessageCell::onViewMessage @ 0x61d86c\n// > GJWriteMessagePopup::closeMessagePopup @ 0x8cf398\n// > <???> @ 0x527d0\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\nGJMessagePopup *GJMessagePopup::create(GJUserMessage *a1)\n{\n  GJMessagePopup *v2; // x19\n\n  v2 = (GJMessagePopup *)operator new(0x2C8u);\n  cocos2d::CCLayerColor::CCLayerColor(v2);\n  v2->m_controlConnected = -1;\n  v2->m_joystickConnected = -1;\n  v2->m_buttonMenu = nullptr;\n  v2->m_alertProtocol = nullptr;\n  v2->m_scene = nullptr;\n  v2->m_reverseKeyBack = 0;\n  v2->m_mainLayer = nullptr;\n  v2->m_ZOrder = 0;\n  v2->m_noElasticity = 0;\n  v2->m_button1 = nullptr;\n  v2->m_button2 = nullptr;\n  v2->m_scrollingLayer = nullptr;\n  v2->m_containsBorder = 0;\n  v2->m_noAction = 0;\n  v2->m_forcePrioRegistered = 0;\n  v2->m_actionSuccess = 0;\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (GJMessagePopup_vtbl *)&off_1198E40;\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_1199390;\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_1199400;\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&off_1199418;\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_1199438;\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)off_1199458;\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&off_1199480;\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&off_1199500;\n  v2->UploadActionDelegate::__vftable = (UploadActionDelegate_vtbl *)off_1199520;\n  v2->UploadPopupDelegate::__vftable = (UploadPopupDelegate_vtbl *)&off_1199540;\n  v2->FLAlertLayerProtocol::__vftable = (FLAlertLayerProtocol_vtbl *)&off_1199558;\n  v2->DownloadMessageDelegate::__vftable = (DownloadMessageDelegate_vtbl *)&off_1199570;\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    v2->~GJMessagePopup_0(v2);\n    return nullptr;\n  }\n}", "assembly": "; \n; GJMessagePopup::create from 0x8cee24 to 0x8cef64 (320 bytes)\n; \n; 3 xrefs:\n; > GJMessageCell::onViewMessage @ 0x61d86c\n; > GJWriteMessagePopup::closeMessagePopup @ 0x8cf398\n; > <???> @ 0x527d0\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\nSTP             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0x8cee24\nMOV             X29, SP                                                ; +0x4, 0x8cee28\nSTP             X19, X20, [SP,#var_s10]                                ; +0x8, 0x8cee2c\nMOV             X20, X0                                                ; +0xc, 0x8cee30\nMOV             X0, #0x2C8; unsigned __int64                           ; +0x10, 0x8cee34\nBL              _Znwm; operator new(ulong)                             ; +0x14, 0x8cee38\nMOV             X19, X0                                                ; +0x18, 0x8cee3c\nBL              _ZN7cocos2d12CCLayerColorC1Ev; cocos2d::CCLayerColor::CCLayerColor(void) ; +0x1c, 0x8cee40\nMOV             W2, #0xFFFFFFFF                                        ; +0x20, 0x8cee44\nSTR             W2, [X19,#0x268]                                       ; +0x24, 0x8cee48\nSTR             W2, [X19,#0x270]                                       ; +0x28, 0x8cee4c\nADRP            X2, #_ZTV14GJMessagePopup_ptr@PAGE                     ; +0x2c, 0x8cee50\nSTR             XZR, [X19,#0x220]                                      ; +0x30, 0x8cee54\nMOV             X0, X19; this                                          ; +0x34, 0x8cee58\nSTR             XZR, [X19,#0x228]                                      ; +0x38, 0x8cee5c\nMOV             X1, X20; GJUserMessage *                               ; +0x3c, 0x8cee60\nSTR             XZR, [X19,#0x230]                                      ; +0x40, 0x8cee64\nSTRB            WZR, [X19,#0x238]                                      ; +0x44, 0x8cee68\nSTR             XZR, [X19,#0x240]                                      ; +0x48, 0x8cee6c\nSTR             WZR, [X19,#0x248]                                      ; +0x4c, 0x8cee70\nSTRB            WZR, [X19,#0x24C]                                      ; +0x50, 0x8cee74\nSTR             XZR, [X19,#0x250]                                      ; +0x54, 0x8cee78\nSTR             XZR, [X19,#0x258]                                      ; +0x58, 0x8cee7c\nSTR             XZR, [X19,#0x260]                                      ; +0x5c, 0x8cee80\nSTRB            WZR, [X19,#0x26C]                                      ; +0x60, 0x8cee84\nSTRB            WZR, [X19,#0x26D]                                      ; +0x64, 0x8cee88\nSTRB            WZR, [X19,#0x274]                                      ; +0x68, 0x8cee8c\nLDR             X2, [X2,#_ZTV14GJMessagePopup_ptr@PAGEOFF]; `vtable for'GJMessagePopup ... ; +0x6c, 0x8cee90\nSTRB            WZR, [X19,#0x298]                                      ; +0x70, 0x8cee94\nADD             X13, X2, #0x10                                         ; +0x74, 0x8cee98\nADD             X12, X2, #0x560                                        ; +0x78, 0x8cee9c\nADD             X11, X2, #0x5D0                                        ; +0x7c, 0x8ceea0\nADD             X10, X2, #0x5E8                                        ; +0x80, 0x8ceea4\nADD             X9, X2, #0x608                                         ; +0x84, 0x8ceea8\nADD             X8, X2, #0x628                                         ; +0x88, 0x8ceeac\nADD             X7, X2, #0x650                                         ; +0x8c, 0x8ceeb0\nADD             X6, X2, #0x6D0                                         ; +0x90, 0x8ceeb4\nADD             X5, X2, #0x6F0                                         ; +0x94, 0x8ceeb8\nADD             X4, X2, #0x710                                         ; +0x98, 0x8ceebc\nADD             X3, X2, #0x728                                         ; +0x9c, 0x8ceec0\nSTR             X13, [X19]                                             ; +0xa0, 0x8ceec4\nADD             X2, X2, #0x740                                         ; +0xa4, 0x8ceec8\nSTR             X12, [X19,#0x140]                                      ; +0xa8, 0x8ceecc\nSTR             X11, [X19,#0x148]                                      ; +0xac, 0x8ceed0\nSTR             X10, [X19,#0x150]                                      ; +0xb0, 0x8ceed4\nSTR             X9, [X19,#0x158]                                       ; +0xb4, 0x8ceed8\nSTR             X8, [X19,#0x160]                                       ; +0xb8, 0x8ceedc\nSTR             X7, [X19,#0x198]                                       ; +0xbc, 0x8ceee0\nSTR             X6, [X19,#0x1B0]                                       ; +0xc0, 0x8ceee4\nSTR             X5, [X19,#0x278]                                       ; +0xc4, 0x8ceee8\nSTR             X4, [X19,#0x280]                                       ; +0xc8, 0x8ceeec\nSTR             X3, [X19,#0x288]                                       ; +0xcc, 0x8ceef0\nSTR             X2, [X19,#0x290]                                       ; +0xd0, 0x8ceef4\nSTR             XZR, [X19,#0x2A8]                                      ; +0xd4, 0x8ceef8\nSTR             XZR, [X19,#0x2B0]                                      ; +0xd8, 0x8ceefc\nSTR             XZR, [X19,#0x2B8]                                      ; +0xdc, 0x8cef00\nSTR             XZR, [X19,#0x2C0]                                      ; +0xe0, 0x8cef04\nBL              _ZN14GJMessagePopup4initEP13GJUserMessage; GJMessagePopup::init(GJUserMessage *) ; +0xe4, 0x8cef08\nUXTB            W0, W0                                                 ; +0xe8, 0x8cef0c\nCBZ             W0, loc_8CEF2C                                         ; +0xec, 0x8cef10\nMOV             X0, X19; this                                          ; +0xf0, 0x8cef14\nBL              _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0xf4, 0x8cef18\nMOV             X0, X19                                                ; +0xf8, 0x8cef1c\nLDP             X19, X20, [SP,#var_s10]                                ; +0xfc, 0x8cef20\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x100, 0x8cef24\nRET                                                                    ; +0x104, 0x8cef28\nLDR             X1, [X19]                                              ; +0x108, 0x8cef2c\nMOV             X0, X19                                                ; +0x10c, 0x8cef30\nMOV             X19, #0                                                ; +0x110, 0x8cef34\nLDR             X1, [X1,#0x10]                                         ; +0x114, 0x8cef38\nBLR             X1                                                     ; +0x118, 0x8cef3c\nMOV             X0, X19                                                ; +0x11c, 0x8cef40\nLDP             X19, X20, [SP,#var_s10]                                ; +0x120, 0x8cef44\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x124, 0x8cef48\nRET                                                                    ; +0x128, 0x8cef4c\nMOV             X20, X0                                                ; +0x12c, 0x8cef50\nMOV             X0, X19; p                                             ; +0x130, 0x8cef54\nBL              _ZdlPv; operator delete(void *)                        ; +0x134, 0x8cef58\nMOV             X0, X20                                                ; +0x138, 0x8cef5c\nBL              _Unwind_Resume                                         ; +0x13c, 0x8cef60", "xrefs": ["GJMessageCell::onViewMessage @ 0x61d86c", "GJWriteMessagePopup::closeMessagePopup @ 0x8cf398", "<???> @ 0x527d0"], "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"}