//
// SetTextPopup::updateTextInputLabel from 0x1002dff68 to 0x1002dffe8 (128 bytes)
//
// 2 xrefs:
// > SetTextPopup::init @ 0x1002dfdf4
// > SetTextPopup::onResetValue @ 0x1002dff58
//
// 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 SetTextPopup::updateTextInputLabel(SetTextPopup *a1)
{
CCTextInputNode *m_input; // x20
std::string __p; // [xsp+0h] [xbp-30h] BYREF
a1->m_disableDelegate = 1;
m_input = a1->m_input;
if ( a1->m_value.m_data.m_short.shortStorage.__elems_[22] < 0 )
sub_1000097D0(&__p, (void *)a1->m_value.m_data.m_long.capacitym1, a1->m_value.m_data.m_long.size);
else
__p = a1->m_value;
CCTextInputNode::setString(m_input, (__int64 **)&__p);
if ( __p.m_data.m_short.shortStorage.__elems_[22] < 0 )
operator delete((void *)__p.m_data.m_long.capacitym1);
a1->m_disableDelegate = 0;
}