//
// EditLevelLayer::closeTextInputs from 0x49f53e to 0x49f56a (44 bytes)
//
// 6 xrefs:
// > EditLevelLayer::onTest @ 0x49f82e
// > EditLevelLayer::onShare @ 0x49ffaa
// > EditLevelLayer::onPlay @ 0x4a032e
// > EditLevelLayer::onEdit @ 0x4a0478
// > EditLevelLayer::onBack @ 0x4a0530
// > EditLevelLayer::FLAlert_Clicked @ 0x4a223a
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:49:48 +0000
//
unsigned int __fastcall EditLevelLayer::closeTextInputs(cocos2d::CCArray **this)
{
unsigned int i; // r4
unsigned int result; // r0
int v4; // r0
for ( i = 0; ; ++i )
{
result = cocos2d::CCArray::count(*(this + 88));
if ( i >= result )
break;
v4 = cocos2d::CCArray::objectAtIndex(*(this + 88), i);
(*(void (__fastcall **)(int, _DWORD))(*(_DWORD *)v4 + 580))(v4, 0);
}
return result;
}