//
// ProfilePage::commentUploadFailed from 0x5f7204 to 0x5f7282 (126 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'ProfilePage::commentUploadFailed @ 0x5f7298
//
// 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:54:32 +0000
//
int __fastcall ProfilePage::commentUploadFailed(GJAccountManager *a1, int a2, int a3)
{
int result; // r0
int *v6; // r5
int v7[3]; // [sp+8h] [bp-10h] BYREF
result = GJAccountManager::sharedState(a1);
if ( a2 == *(_DWORD *)(result + 280) - *(_DWORD *)(result + 284) && a3 == -1 )
{
memset(v7, 0, sizeof(v7));
std::string::__init(v7, "Comment upload failed. Please try again later.", 0x2Eu);
v6 = FLAlertLayer::create(0, (cocos2d::CCLabelBMFont *)"Failed", (int)v7, (ButtonSprite *)"OK", nullptr);
std::string::~string((int)v7);
return (*(int (__fastcall **)(int *))(*v6 + 656))(v6);
}
return result;
}