//
// EditLevelLayer::textChanged from 0x3b7b58 to 0x3b7be4 (140 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'EditLevelLayer::textChanged @ 0x3b7bec
//
// 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 EditLevelLayer::textChanged(EditLevelLayer *a1, CCTextInputNode *a2)
{
int v4; // r0
char **v5; // r6
GJGameLevel *m_level; // r7
char *v7; // [sp+4h] [bp-10h] BYREF
char *v8; // [sp+8h] [bp-Ch] BYREF
v4 = a2->getTag(a2);
if ( v4 == 1 )
{
v5 = &v7;
m_level = a1->m_level;
CCTextInputNode::getString((CCTextInputNode *)&v7, (int)a2);
sub_776584((int)&v8, v7);
sub_775D40(&m_level->m_levelName, &v8);
sub_774008(&v8);
}
else
{
if ( v4 != 2 )
return;
v5 = &v8;
CCTextInputNode::getString((CCTextInputNode *)&v8, (int)a2);
EditLevelLayer::updateDescText(a1, v8);
}
sub_774008(v5);
}