//
// AccountReviewPopup::onHistoryJump from 0x1009a1ff0 to 0x1009a2120 (304 bytes)
//
// 1 xrefs:
// > sub_10099F240 @ 0x1009a00f8
//
// 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:17 +0000
//
__int64 __fastcall AccountReviewPopup::onHistoryJump(__int64 a1, __int64 a2)
{
__int64 result; // rax
int v3; // r14d
char *v4; // rbx
_BYTE *ModView; // rax
result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);
if ( (int)result > 0 )
{
v3 = result;
v4 = (char *)operator new(0x150u);
cocos2d::CCObject::CCObject((__int64)v4);
*(_QWORD *)v4 = off_100B6FDC8;
*(_OWORD *)(v4 + 56) = 0;
*(_OWORD *)(v4 + 72) = 0;
*(_OWORD *)(v4 + 88) = 0;
*(_OWORD *)(v4 + 104) = 0;
*(_OWORD *)(v4 + 120) = 0;
*(_OWORD *)(v4 + 136) = 0;
*(_OWORD *)(v4 + 152) = 0;
*((_DWORD *)v4 + 42) = 2;
*((_DWORD *)v4 + 52) = 0;
*((_QWORD *)v4 + 35) = 0;
*((_DWORD *)v4 + 72) = 0;
*((_QWORD *)v4 + 37) = 0;
*((_WORD *)v4 + 152) = 0;
*((_OWORD *)v4 + 11) = 0;
*(_OWORD *)(v4 + 189) = 0;
*(_OWORD *)(v4 + 216) = 0;
*(_OWORD *)(v4 + 232) = 0;
*(_OWORD *)(v4 + 248) = 0;
*((_WORD *)v4 + 132) = 0;
*(_DWORD *)(v4 + 271) = 0;
*((_DWORD *)v4 + 67) = 0;
*(_OWORD *)(v4 + 308) = 0;
*(_QWORD *)(v4 + 324) = 0;
cocos2d::CCObject::autorelease((__int64)v4);
*((_DWORD *)v4 + 14) = v3;
std::string::assign((std::string *)(v4 + 88), "Conversation");
ModView = ThreadViewPopup::createModView((__int64)v4, 0);
return (*(__int64 (__fastcall **)(_BYTE *))(*(_QWORD *)ModView + 1312LL))(ModView);
}
return result;
}