//
// AccountLoginLayer::textInputClosed from 0x469e38 to 0x469eb8 (128 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'AccountLoginLayer::textInputClosed @ 0x469ec0
//
// 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 AccountLoginLayer::textInputClosed(AccountLoginLayer *a1, CCTextInputNode *a2)
{
int v4; // r0
int v5; // r0
AccountLoginLayer *v6; // r0
AccountError v7; // r1
_DWORD v8[3]; // [sp+0h] [bp-Ch] BYREF
v8[0] = a1;
v8[1] = a2;
CCTextInputNode::getString((CCTextInputNode *)v8, (int)a2);
v4 = a2->getTag(a2);
AccountLoginLayer::resetLabel(a1, v4);
v5 = a2->getTag(a2);
if ( v5 == 1 )
{
if ( *(_DWORD *)(v8[0] - 12) <= 2u )
{
v6 = a1;
v7 = TooShortLessThan3;
LABEL_8:
AccountLoginLayer::updateLabel(v6, v7);
}
}
else if ( v5 == 2 && *(_DWORD *)(v8[0] - 12) <= 5u )
{
v6 = a1;
v7 = TooShortLessThan6;
goto LABEL_8;
}
sub_774008(v8);
}