//
// ShareCommentLayer::onClosePopup from 0x540c58 to 0x540c86 (46 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'ShareCommentLayer::onClosePopup @ 0x540c8a
//
// 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:19 +0000
//
int __fastcall ShareCommentLayer::onClosePopup(ShareCommentLayer *this, UploadActionPopup *a2)
{
int result; // r0
result = UploadActionPopup::closePopup(a2);
if ( a2 == *((UploadActionPopup **)this + 148) )
*((_DWORD *)this + 148) = 0;
if ( *((_BYTE *)this + 596) )
return ShareCommentLayer::onClose(this, nullptr);
return result;
}