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