//
// SetupSmartTemplateLayer::textInputClosed from 0x674b38 to 0x674bc8 (144 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'SetupSmartTemplateLayer::textInputClosed @ 0x674bd0
//
// 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:55 +0000
//
int __fastcall SetupSmartTemplateLayer::textInputClosed(SetupSmartTemplateLayer *this, CCTextInputNode *a2)
{
int v4; // r4
int v5; // r8
_BYTE v7[12]; // [sp+0h] [bp+0h] BYREF
_BYTE v8[12]; // [sp+Ch] [bp+Ch] BYREF
int v9[3]; // [sp+18h] [bp+18h] BYREF
v4 = (*(int (__fastcall **)(CCTextInputNode *))(*(_DWORD *)a2 + 32))(a2);
CCTextInputNode::getString((CCTextInputNode *)v7, (int)a2);
if ( !v4 )
{
CCTextInputNode::getString((CCTextInputNode *)v8, (int)a2);
v5 = *((_DWORD *)this + 131);
if ( v5 )
{
std::string::basic_string(v9, (int)v8);
std::string::operator=((unsigned __int8 *)(v5 + 96), (unsigned __int8 *)v9);
std::string::~string((int)v9);
}
std::string::~string((int)v8);
}
return std::string::~string((int)v7);
}