//
// SetupCollisionTriggerPopup::updateItemID2InputLabel from 0x140419ae0 to 0x140419b71 (145 bytes)
//
// 4 xrefs:
// > SetupCollisionTriggerPopup::init @ 0x140418eb6
// > SetupCollisionTriggerPopup::onTargetPP @ 0x1404195cf
// > SetupCollisionTriggerPopup::onItemID2Arrow @ 0x1404196f7
// > ??> @ 0x1406d91ac
//
// 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 SetupCollisionTriggerPopup::updateItemID2InputLabel(SetupCollisionTriggerPopup *a1)
{
int m_blockBID; // edx
cocos2d::CCString *v3; // rax
const char *CString; // rax
__int16 *v5; // rdx
size_t v6; // r8
__int128 v7; // [rsp+20h] [rbp-28h] BYREF
__int64 v8; // [rsp+30h] [rbp-18h]
__int64 v9; // [rsp+38h] [rbp-10h]
m_blockBID = a1->m_blockBID;
a1->m_disableTextDelegate = 1;
v3 = cocos2d::CCString::createWithFormat("%i", m_blockBID);
CString = cocos2d::CCString::getCString(v3);
v5 = &word_14056CA1C;
v6 = -1;
if ( !a1->m_targetPP )
v5 = (__int16 *)CString;
v8 = 0;
v9 = 0;
v7 = 0;
do
++v6;
while ( *((_BYTE *)v5 + v6) );
sub_14003A930(&v7, v5, v6);
CCTextInputNode::setString((__int64)a1->m_blockBInput, &v7);
a1->m_disableTextDelegate = 0;
}