//
// FriendPickerPopup::onToggleSelectedView from 0xc81590 to 0xc815e0 (80 bytes)
//
// 3 xrefs:
// > ??> @ 0x49780
// > FriendPickerPopup::init @ 0xc69a24
// > ??> @ 0x15416f8
//
// This function is hookable on this platform (idp: arm, 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 13:05:39 +0000
//
__int64 __fastcall FriendPickerPopup::onToggleSelectedView(FriendPickerPopup *this, cocos2d::CCObject *a2)
{
int v3; // w1
__int64 v4; // x0
int v5; // w1
__int64 v6; // x1
v3 = *((unsigned __int8 *)this + 856);
v4 = *((_QWORD *)this + 110);
v5 = v3 ^ 1;
*((_BYTE *)this + 856) = v5;
if ( v4 )
{
if ( v5 )
v6 = 255;
else
v6 = 140;
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v4 + 912LL))(v4, v6);
}
return FriendPickerPopup::buildRows(this);
}