//
// GJUINode::create from 0x6eff18 to 0x6f0014 (252 bytes)
//
// 8 xrefs:
// > UILayer::init @ 0x6f0510
// > UIOptionsLayer::init @ 0xa2d1a8
// > UIOptionsLayer::init @ 0xa2d1f0
// > UIOptionsLayer::init @ 0xa2d290
// > UIOptionsLayer::init @ 0xa2d2d8
// > UIOptionsLayer::init @ 0xa2e1d0
// > TouchControlEditLayer::buildNodes @ 0xd06650
// > ??> @ 0xf5f20
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 12:51:47 +0000
//
__int64 __fastcall GJUINode::create(__int64 a1)
{
__int64 v2; // x19
v2 = operator new(0x188u);
cocos2d::CCNode::CCNode((cocos2d::CCNode *)v2);
*(_QWORD *)(v2 + 320) = 0;
*(_QWORD *)(v2 + 328) = 0;
*(_QWORD *)v2 = &off_1427EF0;
cocos2d::CCRect::CCRect((cocos2d::CCRect *)(v2 + 336));
*(_DWORD *)(v2 + 352) = -1;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v2 + 356));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v2 + 364));
*(_BYTE *)(v2 + 380) = 0;
*(_BYTE *)(v2 + 381) = 0;
*(_BYTE *)(v2 + 382) = 0;
*(_BYTE *)(v2 + 383) = 0;
*(_BYTE *)(v2 + 384) = 0;
*(_BYTE *)(v2 + 385) = 0;
*(_BYTE *)(v2 + 386) = 0;
*(_BYTE *)(v2 + 387) = 0;
*(_DWORD *)(v2 + 388) = 0;
*(_DWORD *)(v2 + 372) = 0;
*(_DWORD *)(v2 + 376) = 0;
if ( (unsigned __int8)GJUINode::init(v2, a1) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2);
return v2;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v2 + 16LL))(v2);
return 0;
}
}