//
// ProfilePage::commentUploadFinished from 0xa5d0d0 to 0xa5d124 (84 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'ProfilePage::commentUploadFinished @ 0xa5d128
// > ??> @ 0xb2ff0
// > ??> @ 0x148d018
//
// 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:12 +0000
//
__int64 __fastcall ProfilePage::commentUploadFinished(ProfilePage *this, int a2)
{
__int64 v3; // x0
__int64 result; // x0
v3 = GJAccountManager::sharedState(this);
result = (unsigned int)(*(_DWORD *)(v3 + 352) - *(_DWORD *)(v3 + 356));
if ( a2 == (_DWORD)result )
{
*((_DWORD *)this + 212) = 0;
return ProfilePage::loadPage(this, 0);
}
return result;
}