//
// ReportQueuePopup::onOpenReview from 0x1400c9540 to 0x1400c95aa (106 bytes)
//
// 2 xrefs:
// > ReportQueuePopup::buildRows @ 0x1400c8695
// > ??> @ 0x140913f64
//
// 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 11:26:22 +0000
//
int __fastcall ReportQueuePopup::onOpenReview(__int64 a1, __int64 a2)
{
int result; // eax
cocos2d::CCArray *v4; // rcx
signed int v5; // ebx
struct cocos2d::CCObject *v6; // rax
_QWORD *v7; // rax
result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2);
v4 = *(cocos2d::CCArray **)(a1 + 800);
v5 = result;
if ( v4 && result >= 0 )
{
result = cocos2d::CCArray::count(v4);
if ( v5 < result )
{
v6 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 800), v5);
v7 = AccountReviewPopup::create(*((_DWORD *)v6 + 14), (__int64)v6 + 64, 0);
return (*(__int64 (__fastcall **)(_QWORD *))(*v7 + 1064LL))(v7);
}
}
return result;
}