//
// SetupCollisionTriggerPopup::updateItemIDInputLabel from 0x1002301c0 to 0x10023026c (172 bytes)
//
// 5 xrefs:
// > SetupCollisionTriggerPopup::init @ 0x10022fd20
// > SetupCollisionTriggerPopup::onItemIDArrow @ 0x10023011c
// > SetupCollisionTriggerPopup::onTargetP1 @ 0x1002304d8
// > SetupCollisionTriggerPopup::onTargetP2 @ 0x100230580
// > SetupCollisionTriggerPopup::onTargetPP @ 0x100230628
//
// 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 SetupCollisionTriggerPopup::updateItemIDInputLabel(SetupCollisionTriggerPopup *a1)
{
cocos2d::CCString *v2; // x0
const char *CString; // x0
char *v4; // x1
const char *v5; // x9
const char *v6; // x10
CCTextInputNode *m_blockAInput; // x20
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v9; // [xsp+1Fh] [xbp-11h]
a1->m_disableTextDelegate = 1;
v2 = (cocos2d::CCString *)sub_100268F4C("%i", a1->m_blockAID);
CString = cocos2d::CCString::getCString(v2);
v4 = "P1";
if ( !a1->m_targetPP )
{
if ( a1->m_targetP2 )
v5 = "P2";
else
v5 = CString;
v6 = "P";
if ( !a1->m_targetP2 )
v6 = "P1";
if ( a1->m_targetP1 )
v4 = (char *)v6;
else
v4 = (char *)v5;
}
m_blockAInput = a1->m_blockAInput;
sub_100009900(__p, v4);
CCTextInputNode::setString(m_blockAInput, (__int64 **)__p);
if ( v9 < 0 )
operator delete(__p[0]);
a1->m_disableTextDelegate = 0;
}