//
// sub_100272564 from 0x100272564 to 0x100272654 (240 bytes)
//
// 1 xrefs:
// > FriendsProfilePage::init @ 0x100271f00
//
// 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 11:01:47 +0000
//
__int64 __fastcall sub_100272564(__int64 a1)
{
__int64 v2; // x20
__int64 v3; // x0
const char *v4; // x1
__int64 v5; // x0
__int64 v6; // x8
const char *v7; // x10
const char *v8; // x11
const char *v9; // x1
__int64 v10; // x8
*(_BYTE *)(a1 + 968) ^= 1u;
v2 = *(_QWORD *)(a1 + 960);
if ( v2 )
{
v3 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(a1);
if ( *(_BYTE *)(a1 + 968) )
v4 = "edit_upBtn_001.png";
else
v4 = "edit_downBtn_001.png";
v5 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v3, v4);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v2 + 1160LL))(v2, v5);
}
v6 = *(_QWORD *)(a1 + 936);
if ( v6 )
{
if ( *(_BYTE *)(a1 + 968) )
v7 = "Old";
else
v7 = "New";
v8 = "A-Z";
if ( *(_BYTE *)(a1 + 968) )
v8 = "Z-A";
if ( *(_BYTE *)(a1 + 944) )
v9 = v7;
else
v9 = v8;
(*(void (__fastcall **)(_QWORD, const char *))(**(_QWORD **)(v6 + 624) + 928LL))(*(_QWORD *)(v6 + 624), v9);
}
sub_1002731B0(a1);
v10 = *(char *)(a1 + 903);
if ( v10 < 0 )
v10 = *(_QWORD *)(a1 + 888);
if ( v10 )
sub_100273230(a1, a1 + 880);
sub_1002726C0(a1);
return sub_100526440(*(_QWORD *)(a1 + 688), 0.0);
}