//
// CCTextInputNode::create from 0x5a29a4 to 0x5a2b48 (420 bytes)
//
// 76 xrefs:
// > CreateGuidelinesLayer::init @ 0x5c10c8
// > LoadingLayer::loadAssets @ 0x5c4c14
// > LevelSearchLayer::init @ 0x6d1aa0
// > MoreSearchLayer::init @ 0x6d4974
// > EditLevelLayer::init @ 0x6e08fc
// > EditLevelLayer::init @ 0x6e1568
// > ColorSelectPopup::init @ 0x73d5f0
// > ColorSelectPopup::init @ 0x73dedc
// > ColorSelectPopup::init @ 0x73e3b4
// > ColorSelectPopup::init @ 0x73e85c
// > GJGarageLayer::init @ 0x79920c
// > MoreOptionsLayer::init @ 0x7cbb58
// > ShareCommentLayer::init @ 0x7e6f30
// > CustomSongLayer::init @ 0x83ca04
// > SongOptionsLayer::init @ 0x83d8ac
// > CustomizeObjectLayer::init @ 0x842bc0
// > CustomizeObjectLayer::init @ 0x8437b0
// > AccountRegisterLayer::createTextInput @ 0x84e220
// > AccountLoginLayer::createTextInput @ 0x850c54
// > GJWriteMessagePopup::init @ 0x8d0164
// > GJWriteMessagePopup::init @ 0x8d0470
// > SetIDPopup::init @ 0x8d1df0
// > SetTextPopup::init @ 0x8d38f8
// > GJAccountSettingsLayer::init @ 0x8df4ac
// > ConfigureHSVWidget::createTextInputNode @ 0x8e0958
// > SetupOpacityPopup::init @ 0x8e8134
// > SetupOpacityPopup::init @ 0x8e8580
// > SetupPulsePopup::init @ 0x8eed58
// > SetupPulsePopup::init @ 0x8ef104
// > SetupPulsePopup::init @ 0x8ef488
// > SetupPulsePopup::init @ 0x8efa50
// > SetupPulsePopup::init @ 0x8f0c64
// > SetupPulsePopup::init @ 0x8f0ffc
// > SecretLayer::init @ 0x906234
// > CollisionBlockPopup::init @ 0x909c3c
// > ConfigureValuePopup::init @ 0x90cedc
// > GJFollowCommandLayer::init @ 0x920c70
// > GJFollowCommandLayer::init @ 0x92101c
// > GJFollowCommandLayer::init @ 0x9213bc
// > GJPFollowCommandLayer::init @ 0x92345c
// > GJPFollowCommandLayer::init @ 0x9237f8
// > GJPFollowCommandLayer::init @ 0x923b68
// > GJPFollowCommandLayer::init @ 0x923f74
// > GJPFollowCommandLayer::init @ 0x9241f8
// > GJRotateCommandLayer::init @ 0x926a3c
// > GJRotateCommandLayer::init @ 0x927278
// > GJRotateCommandLayer::init @ 0x9277e8
// > SecretLayer2::init @ 0x9426fc
// > SecretLayer4::init @ 0x94ac7c
// > SetupAnimationPopup::init @ 0x94da04
// > SetupCollisionTriggerPopup::init @ 0x9503c8
// > SetupCountTriggerPopup::init @ 0x9536d4
// > SetupInstantCountPopup::init @ 0x9564d4
// > SetupShakePopup::init @ 0x959c48
// > SetupTouchTogglePopup::init @ 0x95b1c4
// > SetupCameraOffsetTrigger::init @ 0x96811c
// > SetupCameraOffsetTrigger::init @ 0x968974
// > SetupRandTriggerPopup::init @ 0x96d00c
// > SetupRandTriggerPopup::init @ 0x96d434
// > SetupEndPopup::init @ 0x96e80c
// > SetGroupIDLayer::createTextInput @ 0x975c20
// > SetupCameraRotatePopup::init @ 0x9ac80c
// > SetupCameraRotatePopup::init @ 0x9ad08c
// > SetupRandAdvTriggerPopup::init @ 0x9afe88
// > SetupGravityModPopup::init @ 0x9bf9c0
// > CreateParticlePopup::createParticleSlider @ 0x9c3988
// > SetupSmartTemplateLayer::init @ 0x9de0e8
// > SetupTriggerPopup::createValueControlAdvanced @ 0x9e8e60
// > SetupCameraEdgePopup::init @ 0x9ee448
// > SetupMGTrigger::init @ 0xa200cc
// > SetupMGTrigger::init @ 0xa20954
// > LevelSettingsLayer::init @ 0xa37214
// > LevelSettingsLayer::init @ 0xa374a0
// > LevelListLayer::init @ 0xa77340
// > SecretLayer5::init @ 0xa95f48
// > ??> @ 0x3a530
//
// 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
//
CCTextInputNode *CCTextInputNode::create(float a1, float a2, const char *a3, const char *a4)
{
int v4; // w2
const char *v5; // x3
const char *v9; // x20
int v11; // w21
__int64 v12; // x19
v9 = v5;
v11 = v4;
v12 = operator new(0x238u);
cocos2d::CCLayer::CCLayer((cocos2d::CCLayer *)v12);
cocos2d::CCIMEDelegate::CCIMEDelegate((cocos2d::CCIMEDelegate *)(v12 + 408));
*(_BYTE *)(v12 + 424) = 0;
*(_QWORD *)(v12 + 320) = off_1141368;
*(_QWORD *)(v12 + 336) = off_11413F0;
*(_QWORD *)v12 = &off_1140EB0;
*(_QWORD *)(v12 + 352) = off_1141430;
*(_QWORD *)(v12 + 328) = &off_11413D8;
*(_QWORD *)(v12 + 416) = off_11414E8;
*(_QWORD *)(v12 + 344) = &off_1141410;
*(_QWORD *)(v12 + 408) = off_1141458;
*(_BYTE *)(v12 + 444) = 0;
*(_BYTE *)(v12 + 445) = 0;
*(float *)(v12 + 448) = -0.5;
*(_QWORD *)(v12 + 432) = &byte_124B6C8;
*(_BYTE *)(v12 + 456) = 0;
*(_QWORD *)(v12 + 464) = &byte_124B6C8;
*(_QWORD *)(v12 + 496) = 0;
*(_QWORD *)(v12 + 504) = 0;
*(_QWORD *)(v12 + 512) = 0;
*(_DWORD *)(v12 + 520) = 0;
*(_QWORD *)(v12 + 528) = 0;
*(_BYTE *)(v12 + 536) = 0;
*(_BYTE *)(v12 + 537) = 0;
*(_BYTE *)(v12 + 538) = 0;
*(_QWORD *)(v12 + 544) = 0;
*(_DWORD *)(v12 + 552) = 0;
*(_DWORD *)(v12 + 560) = 0;
*(_DWORD *)(v12 + 440) = 0;
*(float *)(v12 + 452) = 8.0;
*(_DWORD *)(v12 + 472) = 0;
*(_DWORD *)(v12 + 476) = 0;
*(_DWORD *)(v12 + 480) = 0;
if ( CCTextInputNode::init((CCTextInputNode *)v12, a1, a2, a3, a4, v11, v9) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v12);
return (CCTextInputNode *)v12;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v12 + 16LL))(v12);
return nullptr;
}
}