//
// GJUINode::create from 0x1004c26d0 to 0x1004c2774 (164 bytes)
//
// 10 xrefs:
// > UIOptionsLayer::init @ 0x1002a0619
// > UIOptionsLayer::init @ 0x1002a065e
// > UIOptionsLayer::init @ 0x1002a0703
// > UIOptionsLayer::init @ 0x1002a0748
// > UIOptionsLayer::init @ 0x1002a07de
// > UILayer::init @ 0x1004c2053
// > UILayer::init @ 0x1004c2098
// > UILayer::init @ 0x1004c20e5
// > UILayer::init @ 0x1004c212a
// > TouchControlEditLayer::buildNodes @ 0x100978024
//
// This function is hookable on this platform (idp: pc, 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:31:06 +0000
//
_OWORD *__fastcall GJUINode::create(__int64 a1)
{
_OWORD *v1; // rbx
v1 = operator new(0x188u);
cocos2d::CCNode::CCNode((__int64)v1);
*(_QWORD *)v1 = off_100B5C158;
v1[20] = 0;
sub_1002787A0(v1 + 21);
*((_DWORD *)v1 + 88) = -1;
sub_1002782A0((_OWORD *)((char *)v1 + 356));
sub_1002782A0((_OWORD *)((char *)v1 + 364));
*(_OWORD *)((char *)v1 + 372) = 0;
*((_DWORD *)v1 + 97) = 0;
if ( (unsigned __int8)GJUINode::init(v1, a1) )
{
cocos2d::CCObject::autorelease((__int64)v1);
}
else
{
(*(void (__fastcall **)(_OWORD *))(*(_QWORD *)v1 + 16LL))(v1);
return nullptr;
}
return v1;
}