//
// cocos2d::CCTextFieldTTF::setSecureTextEntry from 0x1800b5ef0 to 0x1800b5f33 (67 bytes)
//
// 5 xrefs:
// > ??> @ 0x180106bd8
// > ??> @ 0x180141460
// > ??> @ 0x180141470
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b8ad8
//
// 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 cocos2d::CCTextFieldTTF::setSecureTextEntry(cocos2d::CCTextFieldTTF *this, bool a2)
{
cocos2d::CCLabelProtocol *v2; // rbx
cocos2d::CCLabelProtocol_vtbl *v3; // rdi
__int64 v4; // rax
if ( this->m_bSecureTextEntry != a2 )
{
v2 = &this->cocos2d::CCLabelProtocol;
this->m_bSecureTextEntry = a2;
v3 = this->cocos2d::CCLabelTTF::cocos2d::CCLabelProtocol::__vftable;
v4 = ((__int64 (__fastcall *)(cocos2d::CCLabelProtocol *))v2->getString)(v2);
((void (__fastcall *)(cocos2d::CCLabelProtocol *, __int64))v3->setString)(v2, v4);
}
}