//
// sub_100506CCC from 0x100506ccc to 0x100506d7c (176 bytes)
//
// 4 xrefs:
// > MemberListPopup::dMemberListPopup @ 0x100506d80
// > sub_100506D84 @ 0x100506d88
// > sub_100506D8C @ 0x100506d94
// > sub_100506DA0 @ 0x100506dac
//
// 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:06:57 +0000
//
__int64 __fastcall sub_100506CCC(_QWORD *a1)
{
_DWORD *v2; // x0
_DWORD *v3; // x0
*a1 = off_100997BE8;
a1[40] = off_1009981E8;
a1[41] = &off_100998258;
a1[42] = off_100998270;
a1[43] = off_100998290;
a1[44] = off_1009982B8;
a1[51] = off_1009982E8;
a1[54] = off_100998368;
a1[68] = off_100998388;
a1[97] = off_1009983D0;
a1[98] = off_100998450;
a1[99] = &off_1009984A8;
if ( *(_QWORD **)(GameLevelManager::sharedState() + 1264) == a1 + 97 )
*(_QWORD *)(GameLevelManager::sharedState() + 1264) = 0;
v2 = (_DWORD *)a1[100];
if ( v2 )
cocos2d::CCObject::release(v2);
v3 = (_DWORD *)a1[107];
if ( v3 )
cocos2d::CCObject::release(v3);
return sub_10051A680(a1);
}