//
// SecretLayer::textInputOpened from 0x4c9480 to 0x4c9508 (136 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'SecretLayer::textInputOpened @ 0x4c9518
//
// 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 SecretLayer::textInputOpened(SecretLayer *a1, CCTextInputNode *a2)
{
_BOOL4 v3; // r9
CCTextInputNode *m_searchInput; // 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_4C93EE((int)&v5, (int)&v6);
sub_774008(&v6);
if ( v3 )
{
m_searchInput = a1->m_searchInput;
sub_776584((int)&v7, " ");
CCTextInputNode::updateLabel((int)m_searchInput, &v7);
sub_774008(&v7);
}
sub_774008(&v5);
}