//
// ShareCommentLayer::onClear from 0x9101b4 to 0x910274 (192 bytes)
//
// 3 xrefs:
// > ??> @ 0xf0a90
// > ShareCommentLayer::init @ 0x90f91c
// > ??> @ 0x1547448
//
// 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 12:57:16 +0000
//
__int64 __fastcall ShareCommentLayer::onClear(ShareCommentLayer *this, cocos2d::CCObject *a2)
{
_QWORD *v3; // x0
__int64 v5; // [xsp+30h] [xbp+30h] BYREF
__int64 v6; // [xsp+38h] [xbp+38h]
void *v7; // [xsp+40h] [xbp+40h]
v5 = 0;
v6 = 0;
v7 = nullptr;
ShareCommentLayer::updateDescText(this, &v5);
if ( (v5 & 1) != 0 )
operator delete(v7);
v3 = *((_QWORD **)this + 88);
v5 = 0;
v6 = 0;
v7 = nullptr;
CCTextInputNode::setString(v3, (char *)&v5);
if ( (v5 & 1) != 0 )
operator delete(v7);
return _stack_chk_guard;
}