//
// sub_100544EF0 from 0x100544ef0 to 0x100545038 (328 bytes)
//
// 7 xrefs:
// > sub_100542810 @ 0x1005428b0
// > sub_10054406C @ 0x10054413c
// > AccountReviewPopup::clearPageContent @ 0x10054511c
// > sub_100549588 @ 0x100549690
// > AccountReviewPopup::FLAlert_Clicked @ 0x10054ab30
// > AccountReviewPopup::FLAlert_Clicked @ 0x10054abf4
// > AccountReviewPopup::FLAlert_Clicked @ 0x10054ad50
//
// 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:45 +0000
//
__int64 __fastcall sub_100544EF0(__int64 result)
{
__int64 v1; // x20
_QWORD **v2; // x19
void *v3; // x0
__int64 CString; // x1
int v5; // w20
_QWORD *v6; // x20
float v7; // s8
float v8; // s8
float v9; // s8
float v10; // s0
__int64 v11; // [xsp+10h] [xbp-30h] BYREF
float v12; // [xsp+18h] [xbp-28h] BYREF
v1 = *(_QWORD *)(result + 1456);
if ( v1 )
{
v2 = (_QWORD **)result;
if ( *(_QWORD *)(result + 1360) && *(_DWORD *)(result + 1236) != 2 )
{
v3 = sub_1003065B0("(%i)", *(_QWORD *)(result + 1360));
CString = cocos2d::CCString::getCString((__int64)v3);
result = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v1 + 928LL))(v1, CString);
}
else
{
result = (*(__int64 (__fastcall **)(__int64, const char *))(*(_QWORD *)v1 + 928LL))(v1, "");
}
if ( v2[180] )
{
v5 = sub_100549F98(v2);
result = (*(__int64 (__fastcall **)(_QWORD *, bool))(*v2[180] + 344LL))(v2[180], v5 > 0);
if ( v5 >= 1 )
{
v6 = v2[180];
v7 = (*(float (__fastcall **)(_QWORD *))(*v2[182] + 224LL))(v2[182]);
(*(void (__fastcall **)(__int64 *__return_ptr))(*v2[182] + 336LL))(&v11);
v8 = (float)(v7 + *(float *)&v11) + 8.0;
v9 = v8 + (float)(*(float *)(*(__int64 (__fastcall **)(_QWORD *))(*v2[180] + 328LL))(v2[180]) * 0.5);
v10 = (*(float (__fastcall **)(_QWORD *))(*v2[179] + 240LL))(v2[179]);
sub_1000262BC(&v12, v9, v10);
return (*(__int64 (__fastcall **)(_QWORD *, float *))(*v6 + 184LL))(v6, &v12);
}
}
}
return result;
}