//
// sub_10049B2C0 from 0x10049b2c0 to 0x10049b30a (74 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b50930
//
// 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:30:50 +0000
//
void __fastcall sub_10049B2C0(__int64 a1, __int64 a2)
{
const char *v2; // rsi
void *v3[2]; // [rsp+0h] [rbp-20h] BYREF
void *__p; // [rsp+10h] [rbp-10h]
CCTextInputNode::getString(v3, a2);
if ( ((__int64)v3[0] & 1) != 0 )
v2 = (const char *)__p;
else
v2 = (char *)v3 + 1;
SecretLayer2::updateSearchLabel(a1 - 408, v2);
if ( ((__int64)v3[0] & 1) != 0 )
operator delete(__p);
}