//
// SecretLayer2::textInputClosed from 0x1003a9ed4 to 0x1003a9f30 (92 bytes)
//
// 2 xrefs:
// > sub_1003A9F4C @ 0x1003a9f50
// > ??> @ 0x100945dd0
//
// This function is hookable on this platform (idp: arm, 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 11:03:51 +0000
//
void __fastcall SecretLayer2::textInputClosed(__int64 a1, __int64 a2)
{
char *v3; // x1
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v5; // [xsp+1Fh] [xbp-11h]
CCTextInputNode::getString(a2, __p);
if ( v5 >= 0 )
v3 = (char *)__p;
else
v3 = (char *)__p[0];
SecretLayer2::updateSearchLabel(a1, v3);
if ( v5 < 0 )
operator delete(__p[0]);
}