//
// GJUINode::create from 0x3fd550 to 0x3fd5fa (170 bytes)
//
// 7 xrefs:
// > UILayer::init @ 0x3fd928
// > UIOptionsLayer::init @ 0x5dc792
// > UIOptionsLayer::init @ 0x5dc862
// > UIOptionsLayer::init @ 0x5dc894
// > UIOptionsLayer::init @ 0x5dc902
// > UIOptionsLayer::init @ 0x5dc934
// > TouchControlEditLayer::buildNodes @ 0x7a40dc
//
// 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:47:22 +0000
//
int *__fastcall GJUINode::create(GJUINode *this, UIButtonConfig *a2)
{
int *v3; // r4
int v4; // r3
int *v5; // r0
v3 = (int *)operator new(0x148u);
cocos2d::CCNode::CCNode((cocos2d::CCNode *)v3);
*v3 = (int)&off_C8D9E8;
v3[66] = 0;
v3[67] = 0;
cocos2d::CCRect::CCRect((cocos2d::CCRect *)(v3 + 68));
v3[72] = -1;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v3 + 73));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v3 + 75));
v3[77] = 0;
v3[78] = 0;
*((_BYTE *)v3 + 316) = 0;
*((_BYTE *)v3 + 317) = 0;
*((_BYTE *)v3 + 318) = 0;
*((_BYTE *)v3 + 319) = 0;
*((_BYTE *)v3 + 320) = 0;
*((_BYTE *)v3 + 321) = 0;
*((_BYTE *)v3 + 322) = 0;
*((_BYTE *)v3 + 323) = 0;
v3[81] = 0;
if ( GJUINode::init((GJUINode *)v3, this) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v3);
}
else
{
v4 = *v3;
v5 = v3;
v3 = nullptr;
(*(void (__fastcall **)(int *))(v4 + 8))(v5);
}
return v3;
}