//
// SecretLayer4::textInputClosed from 0x1003b4230 to 0x1003b4273 (67 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009296a0
//
// 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 SecretLayer4::textInputClosed(SecretLayer4 *a1, CCTextInputNode *a2)
{
double v2; // xmm0_8
const char *v3; // rsi
void *v4[2]; // [rsp+0h] [rbp-20h] BYREF
void *__p; // [rsp+10h] [rbp-10h]
CCTextInputNode::getString(v4, (__int64)a2, v2);
if ( ((__int64)v4[0] & 1) != 0 )
v3 = (const char *)__p;
else
v3 = (char *)v4 + 1;
SecretLayer4::updateSearchLabel(a1, v3);
if ( ((__int64)v4[0] & 1) != 0 )
operator delete(__p);
}