//
// SetupSmartTemplateLayer::textInputOpened from 0x53d6d0 to 0x53d764 (148 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'SetupSmartTemplateLayer::textInputOpened @ 0x53d774
//
// 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
//
void SetupSmartTemplateLayer::textInputOpened(SetupSmartTemplateLayer *a1, CCTextInputNode *a2)
{
int v3; // r5
int v4; // r9
int v5; // [sp+0h] [bp-14h] BYREF
_BYTE v6[4]; // [sp+4h] [bp-10h] BYREF
char *v7; // [sp+8h] [bp-Ch] BYREF
v3 = a2->getTag(a2);
CCTextInputNode::getString((CCTextInputNode *)&v5, (int)a2);
if ( !v3 )
{
sub_776584((int)v6, (char *)&unk_939830);
v4 = sub_774DBC(&v5, v6);
sub_774008(v6);
if ( !v4 )
{
sub_776584((int)&v7, " ");
CCTextInputNode::updateLabel((int)a2, &v7);
sub_774008(&v7);
}
}
sub_774008(&v5);
}