//
// ShareCommentLayer::onClosePopup from 0x10026e2f8 to 0x10026e34c (84 bytes)
//
// 2 xrefs:
// > sub_10026E34C @ 0x10026e350
// > ??> @ 0x100916770
//
// 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 11:01:45 +0000
//
__int64 __fastcall ShareCommentLayer::onClosePopup(__int64 a1, __int64 a2)
{
__int64 result; // x0
result = UploadActionPopup::closePopup(a2);
if ( *(_QWORD *)(a1 + 792) == a2 )
*(_QWORD *)(a1 + 792) = 0;
if ( *(_BYTE *)(a1 + 800) == 1 )
return sub_10026D768(a1);
return result;
}