//
// sub_100271428 from 0x100271428 to 0x100271544 (284 bytes)
//
// 4 xrefs:
// > FriendsProfilePage::dFriendsProfilePage @ 0x100271548
// > sub_10027154C @ 0x100271550
// > sub_100271554 @ 0x10027155c
// > sub_100271568 @ 0x100271574
//
// 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:46 +0000
//
__int64 __fastcall sub_100271428(__int64 a1)
{
__int64 v2; // x8
__int64 v3; // x8
_DWORD *v4; // x0
_DWORD *v5; // x0
_DWORD *v6; // x0
_DWORD *v7; // x0
*(_QWORD *)a1 = off_100917DA8;
*(_QWORD *)(a1 + 320) = off_100918370;
*(_QWORD *)(a1 + 328) = &off_1009183E0;
*(_QWORD *)(a1 + 336) = off_1009183F8;
*(_QWORD *)(a1 + 344) = off_100918418;
*(_QWORD *)(a1 + 352) = off_100918440;
*(_QWORD *)(a1 + 408) = off_100918470;
*(_QWORD *)(a1 + 432) = off_1009184F0;
*(_QWORD *)(a1 + 544) = off_100918510;
*(_QWORD *)(a1 + 776) = off_100918558;
*(_QWORD *)(a1 + 784) = &off_100918588;
*(_QWORD *)(a1 + 792) = off_1009185A0;
*(_QWORD *)(a1 + 800) = &off_1009185C0;
*(_QWORD *)(a1 + 808) = off_1009185D8;
if ( *(_QWORD *)(GameLevelManager::sharedState() + 1368) == a1 + 808 )
*(_QWORD *)(GameLevelManager::sharedState() + 1368) = 0;
if ( *(_QWORD *)(GameLevelManager::sharedState() + 1360) == a1 + 792 )
*(_QWORD *)(GameLevelManager::sharedState() + 1360) = 0;
v2 = *(_QWORD *)(a1 + 912);
if ( v2 )
*(_QWORD *)(v2 + 584) = 0;
v3 = *(_QWORD *)(a1 + 848);
if ( v3 )
*(_QWORD *)(v3 + 664) = 0;
v4 = *(_DWORD **)(a1 + 840);
if ( v4 )
cocos2d::CCObject::release(v4);
v5 = *(_DWORD **)(a1 + 856);
if ( v5 )
cocos2d::CCObject::release(v5);
v6 = *(_DWORD **)(a1 + 864);
if ( v6 )
cocos2d::CCObject::release(v6);
v7 = *(_DWORD **)(a1 + 872);
if ( v7 )
cocos2d::CCObject::release(v7);
if ( *(char *)(a1 + 903) < 0 )
operator delete(*(void **)(a1 + 880));
return sub_10051A680(a1);
}