{"type": "func", "start": 4295688524, "end": 4295688648, "name": "GJUserMessage::create_1", "pseudocode": "// \n// GJUserMessage::create_1 from 0x1000b014c to 0x1000b01c8 (124 bytes)\n// \n// 3 xrefs:\n// > GJUserMessage::create @ 0x1000a4ec0\n// > GJMessagePopup::onReply @ 0x1002db128\n// > GJWriteMessagePopup::closeMessagePopup @ 0x1002dce98\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\nGJUserMessage *__fastcall GJUserMessage::create_1()\n{\n  char *v0; // x19\n\n  v0 = (char *)operator new(0x1B0u);\n  cocos2d::CCNode::CCNode();\n  *(_QWORD *)v0 = off_100780380;\n  *(_OWORD *)(v0 + 316) = 0u;\n  *(_OWORD *)(v0 + 332) = 0u;\n  *(_OWORD *)(v0 + 348) = 0u;\n  *(_OWORD *)(v0 + 364) = 0u;\n  *(_OWORD *)(v0 + 380) = 0u;\n  *(_OWORD *)(v0 + 396) = 0u;\n  *(_OWORD *)(v0 + 411) = 0u;\n  if ( cocos2d::CCNode::init((cocos2d::CCNode *)v0) )\n  {\n    cocos2d::CCObject::autorelease((cocos2d::CCObject *)v0);\n  }\n  else\n  {\n    (*(void (__fastcall **)(char *))(*(_QWORD *)v0 + 16LL))(v0);\n    return nullptr;\n  }\n  return (GJUserMessage *)v0;\n}", "assembly": "; \n; GJUserMessage::create_1 from 0x1000b014c to 0x1000b01c8 (124 bytes)\n; \n; 3 xrefs:\n; > GJUserMessage::create @ 0x1000a4ec0\n; > GJMessagePopup::onReply @ 0x1002db128\n; > GJWriteMessagePopup::closeMessagePopup @ 0x1002dce98\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, 0x1000b014c\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1000b0150\nADD             X29, SP, #0x10                                         ; +0x8, 0x1000b0154\nMOV             W0, #0x1B0; __sz                                       ; +0xc, 0x1000b0158\nBL              __Znwm; operator new(ulong)                            ; +0x10, 0x1000b015c\nMOV             X19, X0                                                ; +0x14, 0x1000b0160\nBL              cocos2d__CCNode__CCNode                                ; +0x18, 0x1000b0164\nADRL            X8, off_100780380                                      ; +0x1c, 0x1000b0168\nSTR             X8, [X19]                                              ; +0x24, 0x1000b0170\nADD             X8, X19, #0x13C                                        ; +0x28, 0x1000b0174\nMOVI            V0.16B, #0                                             ; +0x2c, 0x1000b0178\nSTP             Q0, Q0, [X8]                                           ; +0x30, 0x1000b017c\nSTP             Q0, Q0, [X8,#0x20]                                     ; +0x34, 0x1000b0180\nSTP             Q0, Q0, [X8,#0x40]                                     ; +0x38, 0x1000b0184\nSTUR            Q0, [X8,#0x5F]                                         ; +0x3c, 0x1000b0188\nMOV             X0, X19                                                ; +0x40, 0x1000b018c\nBL              cocos2d__CCNode__init                                  ; +0x44, 0x1000b0190\nCBZ             W0, loc_1000B01A4                                      ; +0x48, 0x1000b0194\nMOV             X0, X19                                                ; +0x4c, 0x1000b0198\nBL              cocos2d__CCObject__autorelease                         ; +0x50, 0x1000b019c\nB               loc_1000B01B8                                          ; +0x54, 0x1000b01a0\nLDR             X8, [X19]                                              ; +0x58, 0x1000b01a4\nLDR             X8, [X8,#0x10]                                         ; +0x5c, 0x1000b01a8\nMOV             X0, X19                                                ; +0x60, 0x1000b01ac\nBLR             X8                                                     ; +0x64, 0x1000b01b0\nMOV             X19, #0                                                ; +0x68, 0x1000b01b4\nMOV             X0, X19                                                ; +0x6c, 0x1000b01b8\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x70, 0x1000b01bc\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x74, 0x1000b01c0\nRET                                                                    ; +0x78, 0x1000b01c4", "xrefs": ["GJUserMessage::create @ 0x1000a4ec0", "GJMessagePopup::onReply @ 0x1002db128", "GJWriteMessagePopup::closeMessagePopup @ 0x1002dce98"], "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"}