//
// AccountReviewPopup::adminAccountReviewFinished from 0x100542974 to 0x100542a8c (280 bytes)
//
// 2 xrefs:
// > sub_100544140 @ 0x100544144
// > ??> @ 0x1009a8c28
//
// 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 11:07:43 +0000
//
__int64 __fastcall AccountReviewPopup::adminAccountReviewFinished(__int64 result, int a2, std::string *__str)
{
__int64 v4; // x19
__int128 v5; // q0
__int128 v6; // q1
__int128 v7; // q2
__int64 v8; // x8
if ( *(_DWORD *)(result + 840) == a2 )
{
v4 = result;
std::string::operator=((std::string *)(result + 888), __str);
*(_OWORD *)(v4 + 912) = *(_OWORD *)&__str[1].__r_.__value_.__l.__data_;
std::string::operator=((std::string *)(v4 + 928), (std::string *)((char *)__str + 40));
std::string::operator=((std::string *)(v4 + 952), (std::string *)((char *)__str + 64));
std::string::operator=((std::string *)(v4 + 976), (std::string *)((char *)__str + 88));
v6 = *(_OWORD *)&__str[5].__r_.__value_.__r.__words[1];
v5 = *(_OWORD *)&__str[6].__r_.__value_.__l.__data_;
v7 = *(_OWORD *)&__str[4].__r_.__value_.__r.__words[2];
*(_QWORD *)(v4 + 1048) = *((_QWORD *)&__str[6].__r_.__value_.__l + 2);
*(_OWORD *)(v4 + 1016) = v6;
*(_OWORD *)(v4 + 1032) = v5;
*(_OWORD *)(v4 + 1000) = v7;
std::string::operator=((std::string *)(v4 + 1056), __str + 7);
std::string::operator=((std::string *)(v4 + 1080), __str + 8);
*(_DWORD *)(v4 + 1104) = __str[9].__r_.__value_.__l.__data_;
std::string::operator=((std::string *)(v4 + 1112), (std::string *)((char *)__str + 224));
std::string::operator=((std::string *)(v4 + 1136), (std::string *)((char *)__str + 248));
*(_DWORD *)(v4 + 1160) = __str[11].__r_.__value_.__r.__words[1];
std::string::operator=((std::string *)(v4 + 1168), (std::string *)((char *)__str + 280));
std::string::operator=((std::string *)(v4 + 1192), (std::string *)((char *)__str + 304));
*(_OWORD *)(v4 + 1216) = *(_OWORD *)&__str[13].__r_.__value_.__r.__words[2];
*(_BYTE *)(v4 + 1232) = 1;
v8 = *(_QWORD *)(v4 + 872);
if ( *(int *)(v8 + 372) <= 0 )
*(_DWORD *)(v8 + 372) = __str[1].__r_.__value_.__l.__data_;
sub_100542A8C(v4, __str);
return sub_10054406C(v4);
}
return result;
}