//
// SetupCollisionTriggerPopup::updateTargetIDInputLabel from 0x140419b80 to 0x140419bfb (123 bytes)
//
// 6 xrefs:
// > SetupCollisionTriggerPopup::init @ 0x140418ebe
// > SetupCollisionTriggerPopup::onTargetIDArrow @ 0x140419772
// > SetupCountTriggerPopup::init @ 0x14041bb77
// > SetupCountTriggerPopup::onTargetCountArrow @ 0x14041c287
// > SetupInstantCountPopup::init @ 0x140422fa0
// > ??> @ 0x1406d91b8
//
// 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
//
// Merged with: SetupCollisionTriggerPopup::updateTargetIDInputLabel, SetupCountTriggerPopup::updateCountTextInputLabel, SetupInstantCountPopup::updateCountTextInputLabel
void __fastcall SetupCollisionTriggerPopup::updateTargetIDInputLabel(__int64 a1)
{
int v1; // edx
cocos2d::CCString *v3; // rax
const char *CString; // rax
size_t v5; // r8
__int128 v6; // [rsp+20h] [rbp-28h] BYREF
__int64 v7; // [rsp+30h] [rbp-18h]
__int64 v8; // [rsp+38h] [rbp-10h]
v1 = *(_DWORD *)(a1 + 968);
*(_BYTE *)(a1 + 716) = 1;
v3 = cocos2d::CCString::createWithFormat("%i", v1);
CString = cocos2d::CCString::getCString(v3);
v6 = 0;
v7 = 0;
v5 = -1;
v8 = 0;
do
++v5;
while ( CString[v5] );
sub_14003A930(&v6, CString, v5);
CCTextInputNode::setString(*(_QWORD *)(a1 + 952), &v6);
*(_BYTE *)(a1 + 716) = 0;
}