//
// EditLevelLayer::closeTextInputs from 0x7ede38 to 0x7ede8c (84 bytes)
//
// 7 xrefs:
// > EditLevelLayer::onTest @ 0x7ee064
// > EditLevelLayer::onShare @ 0x7ee830
// > EditLevelLayer::onPlay @ 0x7eee8c
// > EditLevelLayer::onEdit @ 0x7ef000
// > EditLevelLayer::onBack @ 0x7ef12c
// > EditLevelLayer::FLAlert_Clicked @ 0x7f1bf8
// > ??> @ 0xda7a0
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 12:54:33 +0000
//
__int64 __fastcall EditLevelLayer::closeTextInputs(cocos2d::CCArray **this)
{
unsigned int v2; // w19
__int64 v3; // x0
__int64 result; // x0
bool v5; // cf
unsigned int v6; // w1
v2 = 0;
while ( 1 )
{
result = cocos2d::CCArray::count(*(this + 60));
v5 = v2 >= (unsigned int)result;
v6 = v2++;
if ( v5 )
break;
v3 = cocos2d::CCArray::objectAtIndex(*(this + 60), v6);
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v3 + 1160LL))(v3, 0);
}
return result;
}