{"type": "func", "start": 4300604752, "end": 4300604862, "name": "GJFriendRequest::create_1", "pseudocode": "// \n// GJFriendRequest::create_1 from 0x100560550 to 0x1005605be (110 bytes)\n// \n// 0 xrefs:\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\nGJFriendRequest *__fastcall GJFriendRequest::create_1()\n{\n  char *v0; // rbx\n\n  v0 = (char *)operator new(0x180u);\n  cocos2d::CCNode::CCNode((__int64)v0);\n  *(_QWORD *)v0 = off_100961690;\n  *(_OWORD *)(v0 + 316) = 0;\n  *(_OWORD *)(v0 + 332) = 0;\n  *(_OWORD *)(v0 + 348) = 0;\n  *(_OWORD *)(v0 + 361) = 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 (GJFriendRequest *)v0;\n}", "assembly": "; \n; GJFriendRequest::create_1 from 0x100560550 to 0x1005605be (110 bytes)\n; \n; 0 xrefs:\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, 0x100560550\nmov     rbp, rsp                                                       ; +0x1, 0x100560551\npush    r14                                                            ; +0x4, 0x100560554\npush    rbx                                                            ; +0x6, 0x100560556\nmov     edi, 180h; __sz                                                ; +0x7, 0x100560557\ncall    __Znwm; operator new(ulong)                                    ; +0xc, 0x10056055c\nmov     rbx, rax                                                       ; +0x11, 0x100560561\nmov     rdi, rax                                                       ; +0x14, 0x100560564\ncall    cocos2d__CCNode__CCNode                                        ; +0x17, 0x100560567\nlea     rax, off_100961690                                             ; +0x1c, 0x10056056c\nmov     [rbx], rax                                                     ; +0x23, 0x100560573\nxorps   xmm0, xmm0                                                     ; +0x26, 0x100560576\nmovups  xmmword ptr [rbx+13Ch], xmm0                                   ; +0x29, 0x100560579\nmovups  xmmword ptr [rbx+14Ch], xmm0                                   ; +0x30, 0x100560580\nmovups  xmmword ptr [rbx+15Ch], xmm0                                   ; +0x37, 0x100560587\nmovups  xmmword ptr [rbx+169h], xmm0                                   ; +0x3e, 0x10056058e\nmov     rdi, rbx                                                       ; +0x45, 0x100560595\ncall    cocos2d__CCNode__init                                          ; +0x48, 0x100560598\ntest    al, al                                                         ; +0x4d, 0x10056059d\njz      short loc_1005605AB                                            ; +0x4f, 0x10056059f\nmov     rdi, rbx                                                       ; +0x51, 0x1005605a1\ncall    cocos2d__CCObject__autorelease                                 ; +0x54, 0x1005605a4\njmp     short loc_1005605B6                                            ; +0x59, 0x1005605a9\nmov     rax, [rbx]                                                     ; +0x5b, 0x1005605ab\nmov     rdi, rbx                                                       ; +0x5e, 0x1005605ae\ncall    qword ptr [rax+10h]                                            ; +0x61, 0x1005605b1\nxor     ebx, ebx                                                       ; +0x64, 0x1005605b4\nmov     rax, rbx                                                       ; +0x66, 0x1005605b6\npop     rbx                                                            ; +0x69, 0x1005605b9\npop     r14                                                            ; +0x6a, 0x1005605ba\npop     rbp                                                            ; +0x6c, 0x1005605bc\nretn                                                                   ; +0x6d, 0x1005605bd", "xrefs": [], "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"}