//
// EditLevelLayer::onTest from 0x1001fe040 to 0x1001fe0d7 (151 bytes)
//
// 0 xrefs:
//
// 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 __fastcall EditLevelLayer::onTest(EditLevelLayer *a1, cocos2d::CCObject *a2)
{
unsigned int v2; // r14d
__int64 v3; // rax
cocos2d::CCDirector *v4; // r14
cocos2d::CCScene *v5; // rax
cocos2d::CCTransitionFade *v6; // rax
if ( (unsigned int)sub_100720070(a1->m_textInputs) )
{
v2 = 0;
do
{
v3 = sub_1007200C0(a1->m_textInputs, v2);
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v3 + 1144LL))(v3, 0);
++v2;
}
while ( v2 < (unsigned int)sub_100720070(a1->m_textInputs) );
}
GameManager::sharedState()->m_sceneEnum = 3;
v4 = cocos2d::CCDirector::sharedDirector();
v5 = PlayLayer::scene(a1->m_level, 0, 0);
v6 = cocos2d::CCTransitionFade::create_1(0.5, v5);
cocos2d::CCDirector::replaceScene(v4, v6);
}