//
// AccountBanPopup::banLanded from 0x763d70 to 0x763ddc (108 bytes)
//
// 14 xrefs:
// > AccountBanPopup::adminCommentBanFinished @ 0x763e10
// > AccountBanPopup::adminCommentUnbanFinished @ 0x763e70
// > AccountBanPopup::adminUploadBanFinished @ 0x763ed4
// > AccountBanPopup::adminUploadUnbanFinished @ 0x763f34
// > AccountBanPopup::adminMessageBanFinished @ 0x763f98
// > AccountBanPopup::adminMessageUnbanFinished @ 0x763ff8
// > AccountBanPopup::adminFreezeFinished @ 0x764064
// > AccountBanPopup::adminUnfreezeFinished @ 0x7640cc
// > AccountBanPopup::adminTrendingBanFinished @ 0x76412e
// > AccountBanPopup::adminTrendingUnbanFinished @ 0x764192
// > AccountBanPopup::adminNameLockFinished @ 0x7641f6
// > AccountBanPopup::adminNameUnlockFinished @ 0x764258
// > AccountBanPopup::adminQueueMuteFinished @ 0x7642be
// > AccountBanPopup::adminQueueUnmuteFinished @ 0x764320
//
// 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:59:06 +0000
//
int __fastcall AccountBanPopup::banLanded(AccountBanPopup *a1, unsigned __int8 *a2)
{
int result; // r0
int v5; // r7
int v6; // r3
int v7; // r1
int v8; // r2
int v9; // [sp+0h] [bp-14h] BYREF
int v10; // [sp+4h] [bp-10h]
int v11; // [sp+8h] [bp-Ch]
result = AccountBanPopup::refreshBanRows(a1);
v5 = *((_DWORD *)a1 + 218);
if ( v5 )
{
v9 = 0;
v10 = 0;
v11 = 0;
v6 = *a2;
if ( (v6 & 1) != 0 )
{
std::string::__init(&v9, *((const void **)a2 + 2), *((_DWORD *)a2 + 1));
}
else
{
v7 = *((_DWORD *)a2 + 1);
v8 = *((_DWORD *)a2 + 2);
v9 = *(_DWORD *)a2;
v10 = v7;
v11 = v8;
}
UploadActionPopup::showSuccessMessage(v5, (const char *)&v9, v8, v6);
return std::string::~string((int)&v9);
}
return result;
}