//
// InfoLayer::commentUploadFailed from 0x53d72c to 0x53d7ae (130 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'InfoLayer::commentUploadFailed @ 0x53d7c4
//
// 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:52:16 +0000
//
int __fastcall InfoLayer::commentUploadFailed(int result, int a2, int a3)
{
int *v5; // r4
int v6[3]; // [sp+8h] [bp-10h] BYREF
if ( !*(_DWORD *)(result + 540) || *(_BYTE *)(result + 640) )
{
result = InfoLayer::activeCommentID((InfoLayer *)result);
if ( a2 == result && a3 == -1 )
{
memset(v6, 0, sizeof(v6));
std::string::__init(v6, "Comment upload failed. Please try again later.", 0x2Eu);
v5 = FLAlertLayer::create(0, (cocos2d::CCLabelBMFont *)"Failed", (int)v6, (ButtonSprite *)"OK", nullptr);
std::string::~string((int)v6);
return (*(int (__fastcall **)(int *))(*v5 + 656))(v5);
}
}
return result;
}