//
// ProfilePage::onSocialPage from 0x5fb96c to 0x5fb9da (110 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:54:36 +0000
//
int __fastcall ProfilePage::onSocialPage(ProfilePage *this, cocos2d::CCObject *a2, char *a3, int a4)
{
int v4; // r6
int v5; // r0
int *v6; // r0
int v7; // r3
int v9; // r0
char *v10; // r1
ProfilePage *v11; // [sp+0h] [bp-10h] BYREF
cocos2d::CCObject *v12; // [sp+4h] [bp-Ch]
char *v13; // [sp+8h] [bp-8h]
int v14; // [sp+Ch] [bp-4h]
v11 = this;
v12 = a2;
v13 = a3;
v14 = a4;
v4 = *((_DWORD *)this + 138);
v5 = (*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)a2 + 32))(a2);
v6 = sub_5FB73C((int *)&v11, v4, v5);
if ( ((unsigned __int8)v11 & 1) != 0 )
v7 = (int)v12;
else
v7 = (int)(unsigned __int8)v11 >> 1;
if ( v7 )
{
v9 = cocos2d::CCApplication::sharedApplication((cocos2d::CCApplication *)v6);
if ( ((unsigned __int8)v11 & 1) != 0 )
v10 = v13;
else
v10 = (char *)&v11 + 1;
(*(void (__fastcall **)(int, char *, int))(*(_DWORD *)v9 + 52))(v9, v10, (unsigned __int8)v11 << 31);
}
return std::string::~string((int)&v11);
}