//
// cocos2d::CCTextFieldTTF::deleteForward from 0xda1160 to 0xda1198 (56 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'cocos2d::CCTextFieldTTF::deleteForward @ 0xda119c
// > ??> @ 0xc0b08
// > ??> @ 0x15300a8
//
// 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 13:08:29 +0000
//
__int64 *__fastcall cocos2d::CCTextFieldTTF::deleteForward(__int64 *this)
{
int v1; // w2
__int64 v2; // x3
v1 = *((_DWORD *)this + 188);
if ( v1 < *((_DWORD *)this + 178) && (v1 & 0x80000000) == 0 )
{
v2 = *this;
*((_DWORD *)this + 188) = v1 + 1;
return (__int64 *)(*(__int64 (**)(void))(v2 + 1344))();
}
return this;
}