//
// GJFriendRequest::create_1 from 0x1000b0038 to 0x1000b00b0 (120 bytes)
//
// 1 xrefs:
// > GJFriendRequest::create @ 0x1000a4818
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
GJFriendRequest *__fastcall GJFriendRequest::create_1()
{
char *v0; // x19
v0 = (char *)operator new(0x180u);
cocos2d::CCNode::CCNode();
*(_QWORD *)v0 = off_100780000;
*(_OWORD *)(v0 + 316) = 0u;
*(_OWORD *)(v0 + 332) = 0u;
*(_OWORD *)(v0 + 348) = 0u;
*(_OWORD *)(v0 + 361) = 0u;
if ( cocos2d::CCNode::init((cocos2d::CCNode *)v0) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v0);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v0 + 16LL))(v0);
return nullptr;
}
return (GJFriendRequest *)v0;
}