//
// ProfilePage::onSocialPage from 0x1405594e0 to 0x140559560 (128 bytes)
//
// 2 xrefs:
// > ProfilePage::loadPageFromUserInfo @ 0x140553f38
// > ??> @ 0x14092bfdc
//
// 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:34:12 +0000
//
// Hidden C++ exception states: #wind=1
void __fastcall ProfilePage::onSocialPage(__int64 a1, __int64 a2)
{
__int64 v2; // rbx
int v3; // eax
__int64 v4; // rcx
__int64 v5; // rax
_QWORD *v6; // rdx
_QWORD v7[4]; // [rsp+20h] [rbp-38h] BYREF
v2 = *(_QWORD *)(a1 + 728);
v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2);
sub_140550140((__int64)v7, v2, v3);
if ( v7[2] )
{
v5 = cocos2d::CCApplication::sharedApplication(v4);
v6 = v7;
if ( v7[3] > 0xFu )
v6 = (_QWORD *)v7[0];
(*(void (__fastcall **)(__int64, _QWORD *))(*(_QWORD *)v5 + 96LL))(v5, v6);
}
sub_14003D310((__int64)v7);
}