//
// GJUINode::create from 0x140673b50 to 0x140673c2d (221 bytes)
//
// 3 xrefs:
// > TouchControlEditLayer::buildNodes @ 0x14045292d
// > UILayer::init @ 0x140670110
// > ??> @ 0x1409323b4
//
// 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 11:35:55 +0000
//
// Hidden C++ exception states: #wind=2
char *__fastcall GJUINode::create(__int64 a1)
{
char *v2; // rdi
v2 = (char *)operator new(0x188u);
cocos2d::CCNode::CCNode((cocos2d::CCNode *)v2);
*(_QWORD *)v2 = &GJUINode::`vftable';
*((_QWORD *)v2 + 40) = 0;
*((_QWORD *)v2 + 41) = 0;
cocos2d::CCRect::CCRect((cocos2d::CCRect *)(v2 + 336));
*((_DWORD *)v2 + 88) = -1;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v2 + 356));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v2 + 364));
*(_QWORD *)(v2 + 372) = 0;
*((_DWORD *)v2 + 95) = 0;
*((_QWORD *)v2 + 48) = 0;
if ( (unsigned __int8)GJUINode::init(v2, a1) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2);
return v2;
}
else
{
(*(void (__fastcall **)(char *, __int64))(*(_QWORD *)v2 + 8LL))(v2, 1);
return nullptr;
}
}