//
// AccountReviewPopup::onHistoryJump from 0x1400bbce0 to 0x1400bbd3f (95 bytes)
//
// 4 xrefs:
// > AccountReviewPopup::buildHistoryRows @ 0x1400b7939
// > ??> @ 0x14088fa20
// > ??> @ 0x14088fa30
// > ??> @ 0x140913850
//
// 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:17 +0000
//
__int64 __fastcall AccountReviewPopup::onHistoryJump(__int64 a1, __int64 a2)
{
__int64 result; // rax
int v3; // edi
char *v4; // rbx
__int64 ModView; // rax
result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2);
v3 = result;
if ( (int)result > 0 )
{
v4 = GJMessageThread::create();
*((_DWORD *)v4 + 14) = v3;
sub_1400405A0((void **)v4 + 12, "Conversation", 0xCu);
ModView = ThreadViewPopup::createModView(v4, 0);
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)ModView + 1064LL))(ModView);
}
return result;
}