//
// ShareCommentLayer::onClose from 0x90dce4 to 0x90dd58 (116 bytes)
//
// 6 xrefs:
// > ShareCommentLayer::keyBackClicked @ 0x90dd5c
// > ShareCommentLayer::onClosePopup @ 0x90dffc
// > ShareCommentLayer::onShare @ 0x90e4c0
// > ??> @ 0x69268
// > ShareCommentLayer::init @ 0x90ee54
// > ??> @ 0x1542938
//
// 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:14 +0000
//
__int64 __fastcall ShareCommentLayer::onClose(ShareCommentLayer *this, cocos2d::CCObject *a2)
{
__int64 v3; // x0
v3 = *((_QWORD *)this + 90);
if ( v3 )
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v3 + 1368LL))(v3, 0);
(*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 88) + 1160LL))(*((_QWORD *)this + 88), 0);
(*(void (__fastcall **)(ShareCommentLayer *, _QWORD))(*(_QWORD *)this + 1072LL))(this, 0);
return (*(__int64 (__fastcall **)(ShareCommentLayer *, __int64))(*(_QWORD *)this + 528LL))(this, 1);
}