//
// EditLevelLayer::closeTextInputs from 0x14017a630 to 0x14017a68f (95 bytes)
//
// 6 xrefs:
// > EditLevelLayer::onPlay @ 0x14017b2ac
// > EditLevelLayer::onEdit @ 0x14017b830
// > EditLevelLayer::onShare @ 0x14017bed6
// > EditLevelLayer::FLAlert_Clicked @ 0x14017c5b1
// > EditLevelLayer::onBack @ 0x14017ce23
// > ??> @ 0x1409186f8
//
// This function is hookable on this platform (idp: pc, 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 11:27:34 +0000
//
unsigned int __fastcall EditLevelLayer::closeTextInputs(__int64 a1)
{
unsigned int v2; // ebx
unsigned int result; // eax
struct cocos2d::CCObject *v4; // rax
v2 = 0;
result = cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 480));
if ( result )
{
do
{
v4 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 480), v2);
(*(void (__fastcall **)(struct cocos2d::CCObject *, _QWORD))(*(_QWORD *)v4 + 1032LL))(v4, 0);
++v2;
result = cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 480));
}
while ( v2 < result );
}
return result;
}