//
// sub_1400EE070 from 0x1400ee070 to 0x1400ee162 (242 bytes)
//
// 5 xrefs:
// > MemberListPopup::applyAddOutcome @ 0x1400ee331
// > MemberListPopup::applyAddOutcome @ 0x1400ee4a0
// > MemberListPopup::applyAddOutcome @ 0x1400ee60f
// > ??> @ 0x140915020
// > ??> @ 0x14091502c
//
// This function is hookable on this platform (idp: pc, 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:26:35 +0000
//
// Hidden C++ exception states: #wind=2
_QWORD *__fastcall sub_1400EE070(_QWORD *Src, cocos2d::CCArray *a2)
{
int v4; // ebp
signed int i; // ebx
signed int v6; // eax
struct cocos2d::CCObject *v7; // rax
void **v8; // rdx
void *v10[4]; // [rsp+30h] [rbp-48h] BYREF
*(_OWORD *)Src = 0;
Src[2] = 0;
Src[3] = 15;
*(_BYTE *)Src = 0;
v4 = 1;
for ( i = 0; ; ++i )
{
v6 = a2 ? cocos2d::CCArray::count(a2) : 0;
if ( i >= v6 )
break;
if ( i > 0 )
sub_140044D80(Src, ", ", 2u);
v7 = cocos2d::CCArray::objectAtIndex(a2, i);
sub_14003F4F0((__int64)v10, (__int64)v7 + 320);
v4 |= 2u;
v8 = v10;
if ( v10[3] > (void *)0xF )
v8 = (void **)v10[0];
sub_140044D80(Src, v8, (size_t)v10[2]);
sub_14003D310((__int64)v10);
}
return Src;
}