{"type": "func", "start": 4300605392, "end": 4300605523, "name": "GJUserMessage::create_1", "pseudocode": "// \n// GJUserMessage::create_1 from 0x1005607d0 to 0x100560853 (131 bytes)\n// \n// 2 xrefs:\n// > GJMessagePopup::onReply @ 0x1002a7cc7\n// > GJWriteMessagePopup::closeMessagePopup @ 0x1002aa1eb\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; // rbx\n\n  v0 = (char *)operator new(0x1B0u);\n  cocos2d::CCNode::CCNode((__int64)v0);\n  *(_QWORD *)v0 = off_100961A10;\n  *(_OWORD *)(v0 + 316) = 0;\n  *(_OWORD *)(v0 + 332) = 0;\n  *(_OWORD *)(v0 + 348) = 0;\n  *(_OWORD *)(v0 + 364) = 0;\n  *(_OWORD *)(v0 + 380) = 0;\n  *(_OWORD *)(v0 + 396) = 0;\n  *(_OWORD *)(v0 + 411) = 0;\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 0x1005607d0 to 0x100560853 (131 bytes)\n; \n; 2 xrefs:\n; > GJMessagePopup::onReply @ 0x1002a7cc7\n; > GJWriteMessagePopup::closeMessagePopup @ 0x1002aa1eb\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\npush    rbp                                                            ; +0x0, 0x1005607d0\nmov     rbp, rsp                                                       ; +0x1, 0x1005607d1\npush    r14                                                            ; +0x4, 0x1005607d4\npush    rbx                                                            ; +0x6, 0x1005607d6\nmov     edi, 1B0h; __sz                                                ; +0x7, 0x1005607d7\ncall    __Znwm; operator new(ulong)                                    ; +0xc, 0x1005607dc\nmov     rbx, rax                                                       ; +0x11, 0x1005607e1\nmov     rdi, rax                                                       ; +0x14, 0x1005607e4\ncall    cocos2d__CCNode__CCNode                                        ; +0x17, 0x1005607e7\nlea     rax, off_100961A10                                             ; +0x1c, 0x1005607ec\nmov     [rbx], rax                                                     ; +0x23, 0x1005607f3\nxorps   xmm0, xmm0                                                     ; +0x26, 0x1005607f6\nmovups  xmmword ptr [rbx+13Ch], xmm0                                   ; +0x29, 0x1005607f9\nmovups  xmmword ptr [rbx+14Ch], xmm0                                   ; +0x30, 0x100560800\nmovups  xmmword ptr [rbx+15Ch], xmm0                                   ; +0x37, 0x100560807\nmovups  xmmword ptr [rbx+16Ch], xmm0                                   ; +0x3e, 0x10056080e\nmovups  xmmword ptr [rbx+17Ch], xmm0                                   ; +0x45, 0x100560815\nmovups  xmmword ptr [rbx+18Ch], xmm0                                   ; +0x4c, 0x10056081c\nmovups  xmmword ptr [rbx+19Bh], xmm0                                   ; +0x53, 0x100560823\nmov     rdi, rbx                                                       ; +0x5a, 0x10056082a\ncall    cocos2d__CCNode__init                                          ; +0x5d, 0x10056082d\ntest    al, al                                                         ; +0x62, 0x100560832\njz      short loc_100560840                                            ; +0x64, 0x100560834\nmov     rdi, rbx                                                       ; +0x66, 0x100560836\ncall    cocos2d__CCObject__autorelease                                 ; +0x69, 0x100560839\njmp     short loc_10056084B                                            ; +0x6e, 0x10056083e\nmov     rax, [rbx]                                                     ; +0x70, 0x100560840\nmov     rdi, rbx                                                       ; +0x73, 0x100560843\ncall    qword ptr [rax+10h]                                            ; +0x76, 0x100560846\nxor     ebx, ebx                                                       ; +0x79, 0x100560849\nmov     rax, rbx                                                       ; +0x7b, 0x10056084b\npop     rbx                                                            ; +0x7e, 0x10056084e\npop     r14                                                            ; +0x7f, 0x10056084f\npop     rbp                                                            ; +0x81, 0x100560851\nretn                                                                   ; +0x82, 0x100560852", "xrefs": ["GJMessagePopup::onReply @ 0x1002a7cc7", "GJWriteMessagePopup::closeMessagePopup @ 0x1002aa1eb"], "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"}