//
// sub_10093DFF0 from 0x10093dff0 to 0x10093e12e (318 bytes)
//
// 1 xrefs:
// > FriendPickerPopup::mountVirtualRow @ 0x10093df15
//
// 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:30 +0000
//
__int64 __fastcall sub_10093DFF0(__int64 a1, __int64 a2)
{
__int64 v3; // rax
void (__fastcall ***v4)(_QWORD, __int64); // rdi
__int64 result; // rax
_QWORD *v6; // rdi
unsigned int v7; // eax
_WORD v8[8]; // [rsp+8h] [rbp-28h] BYREF
void *__p; // [rsp+18h] [rbp-18h]
cocos2d::CCObject::retain(a2);
cocos2d::CCObject::autorelease(a2);
v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 640LL))(a2);
if ( v3 )
{
v4 = *(void (__fastcall ****)(_QWORD, __int64))(a1 + 792);
if ( v4 )
(**v4)(v4, v3);
}
result = *(unsigned __int8 *)(a1 + 826);
if ( !*(_BYTE *)(a1 + 825) && (result & 1) == 0 )
return (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 1360LL))(a1, 0);
if ( (result & 1) != 0 )
return cocos2d::CCNode::scheduleOnce(a1, (__int64)sub_10093E170, 0, 0.0);
v6 = *(_QWORD **)(a1 + 864);
if ( v6 )
{
v7 = *(unsigned __int8 *)(a1 + 832);
if ( (v7 & 1) != 0 )
{
result = *(_QWORD *)(a1 + 840);
if ( !result )
return result;
}
else
{
result = v7 >> 1;
if ( !result )
return result;
}
v6[73] = 0;
v8[0] = 0;
CCTextInputNode::setString(v6, (__int64)v8);
if ( (v8[0] & 1) != 0 )
operator delete(__p);
*(_QWORD *)(*(_QWORD *)(a1 + 864) + 584LL) = a1 + 544;
*(_BYTE *)(a1 + 824) = 0;
std::string::assign((std::string *)(a1 + 832), "");
return cocos2d::CCNode::scheduleOnce(a1, (__int64)sub_10093E170, 0, 0.0);
}
return result;
}