//
// GJFriendRequest::create from 0x4abf74 to 0x4abfe6 (114 bytes)
//
// 1 xrefs:
// > GJFriendRequest::create @ 0x4b4818
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:49:59 +0000
//
cocos2d::CCNode *__fastcall GJFriendRequest::create(GJFriendRequest *this)
{
cocos2d::CCNode *v1; // r4
int v2; // r3
int *v3; // r0
v1 = (cocos2d::CCNode *)operator new(0x130u);
cocos2d::CCNode::CCNode(v1);
*(_DWORD *)v1 = &off_C99F20;
*((_DWORD *)v1 + 66) = 0;
*((_DWORD *)v1 + 67) = 0;
*((_DWORD *)v1 + 68) = 0;
*((_DWORD *)v1 + 69) = 0;
*((_DWORD *)v1 + 70) = 0;
*((_DWORD *)v1 + 71) = 0;
*((_DWORD *)v1 + 72) = 0;
*((_DWORD *)v1 + 73) = 0;
*((_DWORD *)v1 + 74) = 0;
*((_BYTE *)v1 + 300) = 0;
*((_BYTE *)v1 + 301) = 0;
if ( GJFriendRequest::init(v1) )
{
cocos2d::CCObject::autorelease(v1);
}
else
{
v2 = *(_DWORD *)v1;
v3 = (int *)v1;
v1 = nullptr;
(*(void (__fastcall **)(int *))(v2 + 8))(v3);
}
return v1;
}