//
// SecretLayer::textInputOpened from 0x5fd19c to 0x5fd232 (150 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'SecretLayer::textInputOpened @ 0x5fd244
//
// 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:54:37 +0000
//
int __fastcall SecretLayer::textInputOpened(SecretLayer *this, CCTextInputNode *a2)
{
_BOOL4 v3; // r8
float *v4; // r7
unsigned __int8 v6[12]; // [sp+0h] [bp-28h] BYREF
int v7[3]; // [sp+Ch] [bp-1Ch] BYREF
int v8[3]; // [sp+18h] [bp-10h] BYREF
CCTextInputNode::getString((CCTextInputNode *)v6, (int)a2);
memset(v7, 0, sizeof(v7));
std::string::__init(v7, &unk_B6B226, 0);
v3 = sub_5FC8FA(v6, (unsigned __int8 *)v7);
std::string::~string((int)v7);
if ( v3 )
{
v4 = *((float **)this + 86);
memset(v8, 0, sizeof(v8));
std::string::__init(v8, " ", 1u);
CCTextInputNode::updateLabel(v4, (int)v8);
std::string::~string((int)v8);
}
return std::string::~string((int)v6);
}