//
// SecretLayer5::textInputOpened from 0x59c4ec to 0x59c574 (136 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'SecretLayer5::textInputOpened @ 0x59c584
//
// 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 SecretLayer5::textInputOpened(SecretLayer5 *a1, CCTextInputNode *a2)
{
int v3; // r9
CCTextInputNode *m_textInput; // r8
int v5; // [sp+0h] [bp-4h] BYREF
int v6; // [sp+4h] [bp+0h] BYREF
char *v7; // [sp+8h] [bp+4h] BYREF
CCTextInputNode::getString((CCTextInputNode *)&v5, (int)a2);
sub_776584((int)&v6, (char *)&unk_939830);
v3 = sub_774DBC(&v5, &v6);
sub_774008(&v6);
if ( !v3 )
{
m_textInput = a1->m_textInput;
sub_776584((int)&v7, " ");
CCTextInputNode::updateLabel((int)m_textInput, &v7);
sub_774008(&v7);
}
sub_774008(&v5);
}