//
// ShareCommentLayer::onClear from 0x542248 to 0x5422b8 (112 bytes)
//
// 0 xrefs:
//
// 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::onClear(ShareCommentLayer *this, cocos2d::CCObject *a2, int a3, int a4)
{
int v5; // r6
int v7; // [sp+0h] [bp-10h] BYREF
int v8; // [sp+4h] [bp-Ch]
int v9; // [sp+8h] [bp-8h]
int v10; // [sp+Ch] [bp-4h]
v10 = a4;
v7 = 0;
v8 = 0;
v9 = 0;
std::string::__init(&v7, &unk_B6B226, 0);
ShareCommentLayer::updateDescText((unsigned __int8 *)this, (unsigned __int8 *)&v7);
std::string::~string((int)&v7);
v5 = *((_DWORD *)this + 137);
v7 = 0;
v8 = 0;
v9 = 0;
std::string::__init(&v7, &unk_B6B226, 0);
CCTextInputNode::setString(v5, (int)&v7);
return std::string::~string((int)&v7);
}