//
// sub_1008A6D50 from 0x1008a6d50 to 0x1008a6dc4 (116 bytes)
//
// 1 xrefs:
// > ??> @ 0x100ba9ea8
//
// 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:37:16 +0000
//
char __fastcall sub_1008A6D50(__int64 a1, __int64 a2)
{
int v2; // eax
v2 = *(_DWORD *)(a2 + 376);
if ( v2 == *(_DWORD *)(a1 + 48) )
{
LOBYTE(v2) = ProfilePage::loadPageFromUserInfo(a1 - 688, a2);
if ( *(_DWORD *)(a2 + 688) == 2 )
{
ProfilePage::setupCommentsBrowser(a1 - 688, 0);
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 104) + 344LL))(*(_QWORD *)(a1 + 104), 0);
LOBYTE(v2) = (*(__int64 (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 112) + 344LL))(
*(_QWORD *)(a1 + 112),
0);
}
}
return v2;
}