//
// SecretLayer4::textInputOpened from 0xa95228 to 0xa95330 (264 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'SecretLayer4::textInputOpened @ 0xa95334
// > ??> @ 0xd9fc0
// > ??> @ 0x149b210
//
// 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 13:00:42 +0000
//
__int64 __fastcall SecretLayer4::textInputOpened(SecretLayer4 *this, CCTextInputNode *a2)
{
__int64 v4; // x20
__int64 v5[3]; // [xsp+38h] [xbp+38h] BYREF
__int64 v6; // [xsp+50h] [xbp+50h] BYREF
__int64 v7; // [xsp+58h] [xbp+58h]
void *v8; // [xsp+60h] [xbp+60h]
CCTextInputNode::getString(a2, v5);
v6 = 0;
v7 = 0;
v8 = nullptr;
if ( sub_A93CB8((__int64)v5, (__int64)&v6) )
{
v4 = *((_QWORD *)this + 57);
v6 = 0;
v7 = 0;
v8 = nullptr;
std::string::__init(&v6, &byte_11E1A70, 1u);
CCTextInputNode::updateLabel(v4, (__int64)&v6);
if ( (v6 & 1) != 0 )
operator delete(v8);
}
if ( (v5[0] & 1) != 0 )
operator delete((void *)v5[2]);
return _stack_chk_guard;
}