//
// SecretLayer2::textInputClosed from 0x61dd28 to 0x61dd72 (74 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'SecretLayer2::textInputClosed @ 0x61dd7c
//
// 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:01 +0000
//
int __fastcall SecretLayer2::textInputClosed(SecretLayer2 *this, CCTextInputNode *a2, char *a3, int a4)
{
char *v5; // r1
_DWORD v7[2]; // [sp+0h] [bp-10h] BYREF
char *v8; // [sp+8h] [bp-8h]
int v9; // [sp+Ch] [bp-4h]
v7[0] = this;
v7[1] = a2;
v8 = a3;
v9 = a4;
CCTextInputNode::getString((CCTextInputNode *)v7, (int)a2);
if ( (v7[0] & 1) != 0 )
v5 = v8;
else
v5 = (char *)v7 + 1;
SecretLayer2::updateSearchLabel(this, v5);
return std::string::~string((int)v7);
}