//
// GJUINode::create from 0x30ddf4 to 0x30de9e (170 bytes)
//
// 6 xrefs:
// > UILayer::init @ 0x30e068
// > UIOptionsLayer::init @ 0x4b1ec8
// > UIOptionsLayer::init @ 0x4b1f98
// > UIOptionsLayer::init @ 0x4b1fc6
// > UIOptionsLayer::init @ 0x4b2030
// > UIOptionsLayer::init @ 0x4b205e
//
// 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
//
GJUINode *GJUINode::create(UIButtonConfig *a1)
{
GJUINode *v2; // r4
GJUINode_vtbl *v3; // r3
int *v4; // r0
v2 = (GJUINode *)operator new(0x148u);
cocos2d::CCNode::CCNode(v2);
v2->__vftable = (GJUINode_vtbl *)&off_A45160;
v2->m_firstSprite = nullptr;
v2->m_secondSprite = nullptr;
cocos2d::CCRect::CCRect(&v2->m_rect);
v2->m_touchID = -1;
cocos2d::CCPoint::CCPoint(&v2->m_touchDelta);
cocos2d::CCPoint::CCPoint(&v2->m_touchPosition);
v2->m_radius = 0.0;
v2->m_deadzone = 0.0;
v2->m_drawLines = 0;
v2->m_modeB = 0;
v2->m_snap = 0;
v2->m_swiping = 0;
v2->m_moving = 0;
v2->m_player2 = 0;
v2->m_oneButton = 0;
v2->m_split = 0;
v2->m_currentButton = 0;
if ( GJUINode::init(v2, a1) )
{
cocos2d::CCObject::autorelease(v2);
}
else
{
v3 = v2->__vftable;
v4 = (int *)v2;
v2 = nullptr;
v3->~GJUINode_0((GJUINode *)v4);
}
return v2;
}