//
// cocos2d::CCTextFieldTTF::setSecureTextEntry from 0xda1304 to 0xda1350 (76 bytes)
//
// 2 xrefs:
// > ??> @ 0x6d540
// > ??> @ 0x1530078
//
// 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::setSecureTextEntry(__int64 *this, unsigned __int8 a2)
{
__int64 v2; // x2
__int64 v3; // x19
__int64 (__fastcall *v4)(__int64, __int64); // x20
__int64 v5; // x0
if ( *((unsigned __int8 *)this + 739) != a2 )
{
v2 = *this;
v3 = (__int64)this;
*((_BYTE *)this + 739) = a2;
v4 = *(__int64 (__fastcall **)(__int64, __int64))(v2 + 1240);
v5 = (*(__int64 (**)(void))(v2 + 1248))();
return (__int64 *)v4(v3, v5);
}
return this;
}