//
// ProfilePage::commentUploadFailed from 0x10019cb78 to 0x10019cc08 (144 bytes)
//
// 2 xrefs:
// > j_ProfilePage::commentUploadFailed @ 0x10019cc24
// > ??> @ 0x1007a8ee0
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall ProfilePage::commentUploadFailed(ProfilePage *a1, int a2, CommentError a3)
{
GJAccountManager *v4; // x0
__int64 v5; // x19
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v7; // [xsp+1Fh] [xbp-11h]
v4 = GJAccountManager::sharedState();
if ( v4->m_accountID - v4->m_unkInt1 == a2 )
{
sub_100009900(__p, "Comment upload failed. Please try again later.");
v5 = sub_1002ABCCC(0, "Failed", __p, "OK", 0);
if ( v7 < 0 )
operator delete(__p[0]);
(*(void (__fastcall **)(__int64))(*(_QWORD *)v5 + 1288LL))(v5);
}
}