//
// cocos2d::CCTextFieldTTF::setSecureTextEntry from 0x5f3064 to 0x5f308e (42 bytes)
//
// 0 xrefs:
//
// 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::setSecureTextEntry(cocos2d::CCTextFieldTTF *a1, bool a2)
{
cocos2d::CCTextFieldTTF_vtbl *v3; // r3
void (__fastcall *setString)(cocos2d::CCTextFieldTTF *__hidden, const unsigned __int8 *); // r5
int v5; // r0
if ( a1->m_bSecureTextEntry != a2 )
{
v3 = a1->cocos2d::CCLabelTTF::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
a1->m_bSecureTextEntry = a2;
setString = v3->setString;
v5 = ((int (*)(void))v3->getString)();
setString(a1, (const unsigned __int8 *)v5);
}
}