//
// AccountReviewPopup::adminAccountReviewFinished from 0x1009980e0 to 0x10099830d (557 bytes)
//
// 2 xrefs:
// > sub_10099AB10 @ 0x10099ab1c
// > ??> @ 0x100bd6c58
//
// This function is hookable on this platform (idp: pc, 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 12:39:12 +0000
//
__int64 __fastcall AccountReviewPopup::adminAccountReviewFinished(
__int64 a1,
int a2,
__int64 a3,
double a4,
double a5,
double a6,
double a7)
{
__int64 result; // rax
__int128 v9; // xmm1
__int128 v10; // xmm2
__int64 v11; // rax
unsigned int v12; // eax
__int64 v13; // rax
bool v14; // r14
unsigned __int8 v15; // r14
double v16; // xmm0_8
if ( *(_DWORD *)(a1 + 840) == a2 )
{
std::string::operator=((std::string *)(a1 + 888), (const std::string *)a3);
*(_OWORD *)(a1 + 912) = *(_OWORD *)(a3 + 24);
std::string::operator=((std::string *)(a1 + 928), (const std::string *)(a3 + 40));
std::string::operator=((std::string *)(a1 + 952), (const std::string *)(a3 + 64));
std::string::operator=((std::string *)(a1 + 976), (const std::string *)(a3 + 88));
v9 = *(_OWORD *)(a3 + 128);
v10 = *(_OWORD *)(a3 + 144);
*(_OWORD *)(a1 + 1000) = *(_OWORD *)(a3 + 112);
*(_OWORD *)(a1 + 1016) = v9;
*(_OWORD *)(a1 + 1032) = v10;
*(_QWORD *)(a1 + 1048) = *(_QWORD *)(a3 + 160);
std::string::operator=((std::string *)(a1 + 1056), (const std::string *)(a3 + 168));
std::string::operator=((std::string *)(a1 + 1080), (const std::string *)(a3 + 192));
*(_DWORD *)(a1 + 1104) = *(_DWORD *)(a3 + 216);
std::string::operator=((std::string *)(a1 + 1112), (const std::string *)(a3 + 224));
std::string::operator=((std::string *)(a1 + 1136), (const std::string *)(a3 + 248));
*(_DWORD *)(a1 + 1160) = *(_DWORD *)(a3 + 272);
std::string::operator=((std::string *)(a1 + 1168), (const std::string *)(a3 + 280));
std::string::operator=((std::string *)(a1 + 1192), (const std::string *)(a3 + 304));
*(_OWORD *)(a1 + 1216) = *(_OWORD *)(a3 + 328);
*(_BYTE *)(a1 + 1232) = 1;
v11 = *(_QWORD *)(a1 + 872);
if ( *(int *)(v11 + 372) <= 0 )
*(_DWORD *)(v11 + 372) = *(_DWORD *)(a3 + 24);
sub_100998310(a1, a3);
(*(void (__fastcall **)(_QWORD, bool))(**(_QWORD **)(a1 + 1448) + 344LL))(
*(_QWORD *)(a1 + 1448),
*(_DWORD *)(a1 + 1236) == 0);
if ( *(_BYTE *)(a1 + 1232) == 1 )
{
v12 = *(unsigned __int8 *)(a1 + 976);
if ( (v12 & 1) != 0 )
v13 = *(_QWORD *)(a1 + 984);
else
v13 = v12 >> 1;
v14 = v13 != 0;
}
else
{
v14 = 0;
}
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 1424) + 344LL))(
*(_QWORD *)(a1 + 1424),
v14 & (unsigned __int8)(*(_DWORD *)(a1 + 1236) == 1));
if ( *(_DWORD *)(a1 + 1236) == 1 )
v15 = *(_BYTE *)(a1 + 1232) & !v14;
else
v15 = 0;
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 1464) + 344LL))(*(_QWORD *)(a1 + 1464), v15);
v16 = (*(double (__fastcall **)(_QWORD, bool))(**(_QWORD **)(a1 + 1432) + 344LL))(
*(_QWORD *)(a1 + 1432),
*(_DWORD *)(a1 + 1236) != 2);
return sub_10099B9A0(a1, v16, *(double *)&v9, *(double *)&v10, a7);
}
return result;
}