//
// sub_10093F1B0 from 0x10093f1b0 to 0x10093f37c (460 bytes)
//
// 1 xrefs:
// > sub_10093E4A0 @ 0x10093ec61
//
// 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_10093F1B0(__int64 a1)
{
unsigned __int8 v2; // al
__int64 v3; // rdi
__int64 v4; // r14
__int64 v5; // rax
const char *v6; // rsi
__int64 v7; // rax
__int64 v8; // rdi
const char *v9; // rsi
__int64 v10; // rdi
const char *v11; // rsi
__int64 v12; // rsi
void *v13; // r14
_QWORD *v14; // rdi
__int64 v15; // rdi
__int64 v16; // rdi
__int64 v17; // rdi
void *v19[3]; // [rsp+0h] [rbp-40h] BYREF
_WORD v20[8]; // [rsp+18h] [rbp-28h] BYREF
void *v21; // [rsp+28h] [rbp-18h]
v2 = *(_BYTE *)(a1 + 809);
*(_BYTE *)(a1 + 809) = v2 ^ 1;
*(_BYTE *)(a1 + 1056) = 0;
v3 = *(_QWORD *)(a1 + 816);
if ( v3 )
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v3 + 344LL))(v3, v2);
v4 = *(_QWORD *)(a1 + 824);
if ( v4 )
{
v5 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache();
v6 = "GJ_viewListsBtn_001.png";
if ( *(_BYTE *)(a1 + 809) )
v6 = "GJ_viewLevelsBtn_001.png";
v7 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v5, v6);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v4 + 1160LL))(v4, v7);
}
v8 = *(_QWORD *)(a1 + 744);
if ( v8 )
{
v9 = "Share Level";
if ( *(_BYTE *)(a1 + 809) )
v9 = "Share List";
(*(void (__fastcall **)(__int64, const char *))(*(_QWORD *)v8 + 928LL))(v8, v9);
}
v10 = *(_QWORD *)(a1 + 904);
if ( v10 )
{
v11 = "Showing your online levels";
if ( *(_BYTE *)(a1 + 809) )
v11 = "Showing your online lists";
(*(void (__fastcall **)(__int64, const char *))(*(_QWORD *)v10 + 928LL))(v10, v11);
}
v12 = *(_QWORD *)(a1 + 896);
if ( v12 )
{
CCTextInputNode::getString(v19, v12);
if ( ((__int64)v19[0] & 1) != 0 )
{
v13 = v19[1];
operator delete(v19[2]);
if ( !v13 )
goto LABEL_22;
}
else if ( !(LOBYTE(v19[0]) >> 1) )
{
goto LABEL_22;
}
v14 = *(_QWORD **)(a1 + 896);
v20[0] = 0;
CCTextInputNode::setString(v14, (__int64)v20);
if ( (v20[0] & 1) != 0 )
operator delete(v21);
}
LABEL_22:
std::string::assign((std::string *)(a1 + 872), "");
*(_BYTE *)(a1 + 808) = 0;
*(_DWORD *)(a1 + 676) = 0;
v15 = *(_QWORD *)(a1 + 920);
if ( v15 )
ButtonSprite::setString(v15, "Online");
v16 = *(_QWORD *)(a1 + 904);
if ( v16 )
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v16 + 344LL))(v16, 0);
v17 = *(_QWORD *)(a1 + 912);
if ( v17 )
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v17 + 344LL))(v17, 0);
sub_10093F530(a1);
sub_10095D090(a1);
return sub_10093F770(a1);
}