//
// cocos2d::CCTextFieldTTF::setSecureTextEntry from 0x7fe766 to 0x7fe790 (42 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:01:18 +0000
//
int __fastcall cocos2d::CCTextFieldTTF::setSecureTextEntry(int this, int a2)
{
int v2; // r4
int v3; // r3
int (__fastcall *v4)(int, int); // r5
int v5; // r0
v2 = this;
if ( *(unsigned __int8 *)(this + 603) != a2 )
{
v3 = *(_DWORD *)this;
*(_BYTE *)(this + 603) = a2;
v4 = *(int (__fastcall **)(int, int))(v3 + 620);
v5 = (*(int (**)(void))(v3 + 624))();
return v4(v2, v5);
}
return this;
}