{"type": "func", "start": 4297957820, "end": 4297958024, "name": "GJMessagePopup::create", "pseudocode": "// \n// GJMessagePopup::create from 0x1002da1bc to 0x1002da288 (204 bytes)\n// \n// 2 xrefs:\n// > GJMessageCell::onViewMessage @ 0x1001126c4\n// > GJWriteMessagePopup::closeMessagePopup @ 0x1002dcf58\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 *__fastcall GJMessagePopup::create(GJUserMessage *a1)\n{\n  char *v2; // x19\n\n  v2 = (char *)operator new(0x2C8u);\n  FLAlertLayer::FLAlertLayer((FLAlertLayer *)v2);\n  *(_QWORD *)v2 = off_1007DAFB8;\n  *((_QWORD *)v2 + 40) = off_1007DB508;\n  *((_QWORD *)v2 + 41) = &off_1007DB578;\n  *((_QWORD *)v2 + 42) = off_1007DB590;\n  *((_QWORD *)v2 + 43) = off_1007DB5B0;\n  *((_QWORD *)v2 + 44) = off_1007DB5D0;\n  *((_QWORD *)v2 + 51) = off_1007DB5F8;\n  *((_QWORD *)v2 + 54) = off_1007DB678;\n  *((_QWORD *)v2 + 79) = off_1007DB698;\n  *((_QWORD *)v2 + 80) = &off_1007DB6B8;\n  *((_QWORD *)v2 + 81) = &off_1007DB6D0;\n  *((_QWORD *)v2 + 82) = off_1007DB6E8;\n  v2[664] = 0;\n  *(_OWORD *)(v2 + 680) = 0u;\n  *(_OWORD *)(v2 + 696) = 0u;\n  if ( GJMessagePopup::init((GJMessagePopup *)v2, a1) )\n  {\n    cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2);\n  }\n  else\n  {\n    (*(void (__fastcall **)(char *))(*(_QWORD *)v2 + 16LL))(v2);\n    return nullptr;\n  }\n  return (GJMessagePopup *)v2;\n}", "assembly": "; \n; GJMessagePopup::create from 0x1002da1bc to 0x1002da288 (204 bytes)\n; \n; 2 xrefs:\n; > GJMessageCell::onViewMessage @ 0x1001126c4\n; > GJWriteMessagePopup::closeMessagePopup @ 0x1002dcf58\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             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1002da1bc\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1002da1c0\nADD             X29, SP, #0x10                                         ; +0x8, 0x1002da1c4\nMOV             X20, X0                                                ; +0xc, 0x1002da1c8\nMOV             W0, #0x2C8; __sz                                       ; +0x10, 0x1002da1cc\nBL              __Znwm; operator new(ulong)                            ; +0x14, 0x1002da1d0\nMOV             X19, X0                                                ; +0x18, 0x1002da1d4\nBL              FLAlertLayer__FLAlertLayer                             ; +0x1c, 0x1002da1d8\nADRL            X8, off_1007DAFB8                                      ; +0x20, 0x1002da1dc\nSTR             X8, [X19]                                              ; +0x28, 0x1002da1e4\nADD             X9, X8, #(off_1007DB508 - 0x1007DAFB8)                 ; +0x2c, 0x1002da1e8\nADD             X10, X8, #(off_1007DB578 - 0x1007DAFB8)                ; +0x30, 0x1002da1ec\nSTP             X9, X10, [X19,#0x140]                                  ; +0x34, 0x1002da1f0\nADD             X9, X8, #(off_1007DB590 - 0x1007DAFB8)                 ; +0x38, 0x1002da1f4\nADD             X10, X8, #(off_1007DB5B0 - 0x1007DAFB8)                ; +0x3c, 0x1002da1f8\nSTP             X9, X10, [X19,#0x150]                                  ; +0x40, 0x1002da1fc\nADD             X9, X8, #(off_1007DB5D0 - 0x1007DAFB8)                 ; +0x44, 0x1002da200\nSTR             X9, [X19,#0x160]                                       ; +0x48, 0x1002da204\nADD             X9, X8, #(off_1007DB5F8 - 0x1007DAFB8)                 ; +0x4c, 0x1002da208\nSTR             X9, [X19,#0x198]                                       ; +0x50, 0x1002da20c\nADD             X9, X8, #(off_1007DB678 - 0x1007DAFB8)                 ; +0x54, 0x1002da210\nSTR             X9, [X19,#0x1B0]                                       ; +0x58, 0x1002da214\nADD             X9, X8, #(off_1007DB698 - 0x1007DAFB8)                 ; +0x5c, 0x1002da218\nSTR             X9, [X19,#0x278]                                       ; +0x60, 0x1002da21c\nADD             X9, X8, #(off_1007DB6B8 - 0x1007DAFB8)                 ; +0x64, 0x1002da220\nSTR             X9, [X19,#0x280]                                       ; +0x68, 0x1002da224\nADD             X9, X8, #(off_1007DB6D0 - 0x1007DAFB8)                 ; +0x6c, 0x1002da228\nSTR             X9, [X19,#0x288]                                       ; +0x70, 0x1002da22c\nADD             X8, X8, #(off_1007DB6E8 - 0x1007DAFB8)                 ; +0x74, 0x1002da230\nSTR             X8, [X19,#0x290]                                       ; +0x78, 0x1002da234\nSTRB            WZR, [X19,#0x298]                                      ; +0x7c, 0x1002da238\nADD             X8, X19, #0x2A8                                        ; +0x80, 0x1002da23c\nMOVI            V0.16B, #0                                             ; +0x84, 0x1002da240\nSTP             Q0, Q0, [X8]                                           ; +0x88, 0x1002da244\nMOV             X0, X19                                                ; +0x8c, 0x1002da248\nMOV             X1, X20                                                ; +0x90, 0x1002da24c\nBL              GJMessagePopup__init                                   ; +0x94, 0x1002da250\nCBZ             W0, loc_1002DA264                                      ; +0x98, 0x1002da254\nMOV             X0, X19                                                ; +0x9c, 0x1002da258\nBL              cocos2d__CCObject__autorelease                         ; +0xa0, 0x1002da25c\nB               loc_1002DA278                                          ; +0xa4, 0x1002da260\nLDR             X8, [X19]                                              ; +0xa8, 0x1002da264\nLDR             X8, [X8,#0x10]                                         ; +0xac, 0x1002da268\nMOV             X0, X19                                                ; +0xb0, 0x1002da26c\nBLR             X8                                                     ; +0xb4, 0x1002da270\nMOV             X19, #0                                                ; +0xb8, 0x1002da274\nMOV             X0, X19                                                ; +0xbc, 0x1002da278\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0xc0, 0x1002da27c\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0xc4, 0x1002da280\nRET                                                                    ; +0xc8, 0x1002da284", "xrefs": ["GJMessageCell::onViewMessage @ 0x1001126c4", "GJWriteMessagePopup::closeMessagePopup @ 0x1002dcf58"], "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"}