//
// sub_10029BA20 from 0x10029ba20 to 0x10029ba73 (83 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b03b80
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// 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 12:27:53 +0000
//
void __fastcall sub_10029BA20(__int64 a1, __int64 a2)
{
const std::string::value_type *v2; // rsi
void *v3[2]; // [rsp+0h] [rbp-20h] BYREF
void *__p; // [rsp+10h] [rbp-10h]
if ( !*(_BYTE *)(a1 + 136) )
{
CCTextInputNode::getString(v3, a2);
if ( ((__int64)v3[0] & 1) != 0 )
v2 = (const std::string::value_type *)__p;
else
v2 = (char *)v3 + 1;
std::string::assign((std::string *)(a1 + 152), v2);
if ( ((__int64)v3[0] & 1) != 0 )
operator delete(__p);
}
}