//
// GJAccountSettingsLayer::closeAccInputNodes from 0x4b5394 to 0x4b542c (152 bytes)
//
// 2 xrefs:
// > GJAccountSettingsLayer::onClose @ 0x4b5438
// > GJAccountSettingsLayer::onUpdate @ 0x4b5484
//
// 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 GJAccountSettingsLayer::closeAccInputNodes(GJAccountSettingsLayer *a1, cocos2d::CCArray *a2)
{
cocos2d::ccArray *data; // r7
cocos2d::CCObject **arr; // r5
std::map *p_m_links; // r9
cocos2d::CCObject **v5; // r6
_DWORD *v6; // r4
_DWORD *v7; // t1
int v8; // r2
int v9; // r10
int v10; // [sp+4h] [bp-10h] BYREF
char v11; // [sp+8h] [bp-Ch] BYREF
if ( a2 )
{
data = a2->data;
if ( data->num )
{
arr = data->arr;
p_m_links = &a1->m_links;
v5 = &arr[data->num] + 0x3FFFFFFF;
while ( arr <= v5 )
{
v7 = *arr++;
v6 = v7;
if ( !v7 )
break;
v6[96] = 0;
(*(void (__fastcall **)(_DWORD *, _DWORD))(*v6 + 572))(v6, 0);
v10 = (*(int (__fastcall **)(_DWORD *))(*v6 + 32))(v6);
v9 = std::map::operator[](p_m_links, &v10, v8);
CCTextInputNode::getString((CCTextInputNode *)&v11, (int)v6);
sub_774794(v9, &v11);
sub_774008(&v11);
}
}
}
}