//
// FriendsProfilePage::onSendMessage from 0x5f4a0c to 0x5f4a64 (88 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:30 +0000
//
int __fastcall FriendsProfilePage::onSendMessage(FriendsProfilePage *this, cocos2d::CCObject *a2, int a3, int a4)
{
int result; // r0
int v5; // r6
int v6[4]; // [sp+0h] [bp-10h] BYREF
v6[0] = (int)this;
v6[1] = (int)a2;
v6[2] = a3;
v6[3] = a4;
result = (*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)a2 + 320))(a2);
if ( result )
{
v5 = *(_DWORD *)(result + 296);
if ( v5 > 0 )
{
std::string::basic_string(v6, result + 264);
ThreadOpenHelper::check(v5, v6);
return std::string::~string((int)v6);
}
}
return result;
}