//
// ShareCommentLayer::textInputClosed from 0x542350 to 0x5423d8 (136 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'ShareCommentLayer::textInputClosed @ 0x5423e0
//
// 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:52:20 +0000
//
int __fastcall ShareCommentLayer::textInputClosed(ShareCommentLayer *this, CCTextInputNode *a2)
{
char *v2; // r7
size_t v4; // r0
unsigned __int8 v6; // [sp+4h] [bp-1Ch] BYREF
char v7; // [sp+5h] [bp-1Bh] BYREF
char *v8; // [sp+Ch] [bp-14h]
int v9[3]; // [sp+10h] [bp-10h] BYREF
CCTextInputNode::getString((CCTextInputNode *)&v6, (int)a2);
std::string::operator=((unsigned __int8 *)this + 560, &v6);
if ( (v6 & 1) == 0 )
v2 = &v7;
v9[0] = 0;
if ( (v6 & 1) != 0 )
v2 = v8;
v9[1] = 0;
v9[2] = 0;
v4 = strlen(v2);
std::string::__init(v9, v2, v4);
ShareCommentLayer::updateDescText((unsigned __int8 *)this, (unsigned __int8 *)v9);
std::string::~string((int)v9);
return std::string::~string((int)&v6);
}