//
// sub_1009419E0 from 0x1009419e0 to 0x100941a7c (156 bytes)
//
// 1 xrefs:
// > MemberListPopup::init @ 0x100941896
//
// 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 12:38:31 +0000
//
__int64 __fastcall sub_1009419E0(__int64 a1)
{
__int64 v2; // rdi
void *v3; // rax
char *v4; // rax
__int64 result; // rax
if ( !*(_BYTE *)(a1 + 864)
&& *(int *)(a1 + 868) <= 0
&& *(int *)(a1 + 872) <= 0
&& *(int *)(a1 + 876) <= 0
&& !*(_BYTE *)(a1 + 848) )
{
v2 = *(_QWORD *)(a1 + 856);
if ( !v2 )
{
v3 = sub_1007FE900();
*(_QWORD *)(a1 + 856) = v3;
cocos2d::CCObject::retain((__int64)v3);
v2 = *(_QWORD *)(a1 + 856);
}
sub_1007FF190(v2);
v4 = sub_10092B760(a1 + 784, 1u, 1u, 0, 1u);
return (*(__int64 (__fastcall **)(char *))(*(_QWORD *)v4 + 1312LL))(v4);
}
return result;
}