//
// ProfilePage::commentUploadFailed from 0xa55908 to 0xa55a04 (252 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'ProfilePage::commentUploadFailed @ 0xa55a08
// > ??> @ 0x9fa78
// > ??> @ 0x148d020
//
// 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 13:00:07 +0000
//
__int64 __fastcall ProfilePage::commentUploadFailed(__int64 a1, int a2, int a3)
{
__int64 v3; // x0
__int64 v5; // x20
__int64 v8[2]; // [xsp+30h] [xbp+30h] BYREF
void *v9; // [xsp+40h] [xbp+40h]
v3 = GJAccountManager::sharedState(_stack_chk_guard);
if ( a2 == *(_DWORD *)(v3 + 352) - *(_DWORD *)(v3 + 356) && a3 == -1 )
{
v8[0] = 0;
v8[1] = 0;
v9 = nullptr;
std::string::__init(v8, "Comment upload failed. Please try again later.", 0x2Eu);
v5 = FLAlertLayer::create(0, (cocos2d::CCLabelBMFont *)"Failed", (char *)v8, (ButtonSprite *)"OK", nullptr);
if ( (v8[0] & 1) != 0 )
operator delete(v9);
(*(void (__fastcall **)(__int64))(*(_QWORD *)v5 + 1312LL))(v5);
}
return _stack_chk_guard;
}