//
// SetupRandTriggerPopup::updateTextInputLabel from 0x635d38 to 0x635de2 (170 bytes)
//
// 1 xrefs:
// > SetupRandTriggerPopup::init @ 0x636180
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:55:20 +0000
//
int __fastcall SetupRandTriggerPopup::updateTextInputLabel(SetupRandTriggerPopup *this)
{
cocos2d::CCString *v2; // r0
const char *CString; // r8
size_t v4; // r0
int v5; // r8
int v7; // [sp+4h] [bp-1Ch] BYREF
size_t v8; // [sp+8h] [bp-18h]
const void *v9; // [sp+Ch] [bp-14h]
int v10; // [sp+10h] [bp-10h] BYREF
size_t v11; // [sp+14h] [bp-Ch]
const void *v12; // [sp+18h] [bp-8h]
*((_BYTE *)this + 568) = 1;
v2 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", *((const char **)this + 183));
v7 = 0;
v8 = 0;
v9 = nullptr;
CString = (const char *)cocos2d::CCString::getCString(v2);
v4 = strlen(CString);
std::string::__init(&v7, CString, v4);
v10 = 0;
v11 = 0;
v12 = nullptr;
v5 = *((_DWORD *)this + 181);
if ( (v7 & 1) != 0 )
{
std::string::__init(&v10, v9, v8);
}
else
{
v10 = v7;
v11 = v8;
v12 = v9;
}
CCTextInputNode::setString(v5, (int)&v10);
std::string::~string((int)&v10);
*((_BYTE *)this + 568) = 0;
return std::string::~string((int)&v7);
}