//
// sub_100272FF8 from 0x100272ff8 to 0x100273160 (360 bytes)
//
// 1 xrefs:
// > FriendsProfilePage::mountVirtualRow @ 0x100272ae4
//
// 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
//
void __fastcall sub_100272FF8(__int64 a1, __int64 a2)
{
__int64 v3; // x0
__int64 v4; // x20
_DWORD *v5; // x0
void **v6; // x8
__int64 v7; // x0
char *CString; // x0
char *v9; // x1
__int64 *v10; // x19
void *v11[2]; // [xsp+8h] [xbp-58h] BYREF
char v12; // [xsp+1Fh] [xbp-41h]
void *__p[2]; // [xsp+20h] [xbp-40h] BYREF
__int64 v14; // [xsp+30h] [xbp-30h]
void *v15[2]; // [xsp+38h] [xbp-28h] BYREF
char v16; // [xsp+4Fh] [xbp-11h]
v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 640LL))(a2);
if ( v3 )
{
v4 = v3;
if ( *(int *)(v3 + 376) >= 1 )
{
v5 = *(_DWORD **)(a1 + 840);
if ( v5 )
cocos2d::CCObject::release(v5);
*(_QWORD *)(a1 + 840) = v4;
cocos2d::CCObject::retain(v4);
if ( *(char *)(v4 + 343) < 0 )
{
sub_1000097D0(__p, *(void **)(v4 + 320), *(_QWORD *)(v4 + 328));
}
else
{
*(_OWORD *)__p = *(_OWORD *)(v4 + 320);
v14 = *(_QWORD *)(v4 + 336);
}
v6 = __p;
if ( v14 < 0 )
v6 = (void **)__p[0];
v7 = sub_1003065B0("Are you sure you want to unfollow %s?", (const char *)v6);
CString = (char *)cocos2d::CCString::getCString(v7);
sub_100009900(v15, CString);
if ( SHIBYTE(v14) < 0 )
operator delete(__p[0]);
if ( v16 >= 0 )
v9 = (char *)v15;
else
v9 = (char *)v15[0];
sub_100009900(v11, v9);
v10 = (__int64 *)FLAlertLayer::create_1(a1 + 784, "Unfollow", v11, "Back", "Unfollow", 300.0);
if ( v12 < 0 )
operator delete(v11[0]);
(*(void (__fastcall **)(__int64 *, __int64))(*v10 + 72))(v10, 1);
ButtonSprite::updateBGImage(v10[77], (__int64)"GJ_button_06.png");
(*(void (__fastcall **)(__int64 *))(*v10 + 1312))(v10);
if ( v16 < 0 )
operator delete(v15[0]);
}
}
}