//
// cocos2d::CCTextFieldTTF::deleteForward from 0x5f2e30 to 0x5f2e50 (32 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'cocos2d::CCTextFieldTTF::deleteForward @ 0x5f2e54
//
// 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 cocos2d::CCTextFieldTTF::deleteForward(cocos2d::CCTextFieldTTF *a1)
{
int m_uCursorPos; // r3
m_uCursorPos = a1->m_uCursorPos;
if ( m_uCursorPos < a1->m_nCharCount && m_uCursorPos >= 0 )
{
a1->m_uCursorPos = m_uCursorPos + 1;
((void (__fastcall *)(cocos2d::CCTextFieldTTF *))a1->insertText)(a1);
}
}