//
// ShareCommentLayer::uploadActionFinished from 0x90e010 to 0x90e0d4 (196 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'ShareCommentLayer::uploadActionFinished @ 0x90e0d8
// > ??> @ 0x91960
// > ??> @ 0x1466dc0
//
// 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::uploadActionFinished(ShareCommentLayer *this, int a2)
{
__int64 v4; // x0
void *v5[3]; // [xsp+20h] [xbp+20h] BYREF
if ( *((_DWORD *)this + 173) == a2 )
{
v4 = *((_QWORD *)this + 99);
if ( v4 )
{
BYTE5(v5[2]) = 0;
HIWORD(v5[2]) = 0;
strcpy((char *)v5, "(Friend request sent");
UploadActionPopup::showSuccessMessage(v4, v5);
if ( ((__int64)v5[0] & 1) != 0 )
operator delete(v5[2]);
*((_BYTE *)this + 800) = 1;
}
}
return _stack_chk_guard;
}