{"type": "func", "start": 4300788288, "end": 4300788419, "name": "GJUserMessage::create_1", "pseudocode": "// \n// GJUserMessage::create_1 from 0x10058d240 to 0x10058d2c3 (131 bytes)\n// \n// 1 xrefs:\n// > GJWriteMessagePopup::closeMessagePopup @ 0x10029697b\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:32:25 +0000\n// \n\nchar *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_100B6E8B0;\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() )\n  {\n    cocos2d::CCObject::autorelease((__int64)v0);\n  }\n  else\n  {\n    (*(void (__fastcall **)(char *))(*(_QWORD *)v0 + 16LL))(v0);\n    return nullptr;\n  }\n  return v0;\n}", "assembly": "; \n; GJUserMessage::create_1 from 0x10058d240 to 0x10058d2c3 (131 bytes)\n; \n; 1 xrefs:\n; > GJWriteMessagePopup::closeMessagePopup @ 0x10029697b\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:32:25 +0000\n; \npush    rbp                                                            ; +0x0, 0x10058d240\nmov     rbp, rsp                                                       ; +0x1, 0x10058d241\npush    r14                                                            ; +0x4, 0x10058d244\npush    rbx                                                            ; +0x6, 0x10058d246\nmov     edi, 1B0h; __sz                                                ; +0x7, 0x10058d247\ncall    __Znwm; operator new(ulong)                                    ; +0xc, 0x10058d24c\nmov     rbx, rax                                                       ; +0x11, 0x10058d251\nmov     rdi, rax                                                       ; +0x14, 0x10058d254\ncall    cocos2d__CCNode__CCNode                                        ; +0x17, 0x10058d257\nlea     rax, off_100B6E8B0                                             ; +0x1c, 0x10058d25c\nmov     [rbx], rax                                                     ; +0x23, 0x10058d263\nxorps   xmm0, xmm0                                                     ; +0x26, 0x10058d266\nmovups  xmmword ptr [rbx+13Ch], xmm0                                   ; +0x29, 0x10058d269\nmovups  xmmword ptr [rbx+14Ch], xmm0                                   ; +0x30, 0x10058d270\nmovups  xmmword ptr [rbx+15Ch], xmm0                                   ; +0x37, 0x10058d277\nmovups  xmmword ptr [rbx+16Ch], xmm0                                   ; +0x3e, 0x10058d27e\nmovups  xmmword ptr [rbx+17Ch], xmm0                                   ; +0x45, 0x10058d285\nmovups  xmmword ptr [rbx+18Ch], xmm0                                   ; +0x4c, 0x10058d28c\nmovups  xmmword ptr [rbx+19Bh], xmm0                                   ; +0x53, 0x10058d293\nmov     rdi, rbx                                                       ; +0x5a, 0x10058d29a\ncall    cocos2d__CCNode__init                                          ; +0x5d, 0x10058d29d\ntest    al, al                                                         ; +0x62, 0x10058d2a2\njz      short loc_10058D2B0                                            ; +0x64, 0x10058d2a4\nmov     rdi, rbx                                                       ; +0x66, 0x10058d2a6\ncall    cocos2d__CCObject__autorelease                                 ; +0x69, 0x10058d2a9\njmp     short loc_10058D2BB                                            ; +0x6e, 0x10058d2ae\nmov     rax, [rbx]                                                     ; +0x70, 0x10058d2b0\nmov     rdi, rbx                                                       ; +0x73, 0x10058d2b3\ncall    qword ptr [rax+10h]                                            ; +0x76, 0x10058d2b6\nxor     ebx, ebx                                                       ; +0x79, 0x10058d2b9\nmov     rax, rbx                                                       ; +0x7b, 0x10058d2bb\npop     rbx                                                            ; +0x7e, 0x10058d2be\npop     r14                                                            ; +0x7f, 0x10058d2bf\npop     rbp                                                            ; +0x81, 0x10058d2c1\nretn                                                                   ; +0x82, 0x10058d2c2", "xrefs": ["GJWriteMessagePopup::closeMessagePopup @ 0x10029697b"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}