//
// sub_100490840 from 0x100490840 to 0x1004908ad (109 bytes)
//
// 1 xrefs:
// > ??> @ 0x100942c48
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
char __fastcall sub_100490840(__int64 a1, const char *a2)
{
char result; // al
__int64 v3; // rdi
result = LevelBrowserLayer::isCorrect((LevelBrowserLayer *)(a1 - 544), a2);
if ( result )
{
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 192) + 328LL))(*(_QWORD *)(a1 + 192), 0);
result = PlatformToolbox::isNetworkAvailable();
if ( !result )
result = (*(__int64 (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 56) + 328LL))(*(_QWORD *)(a1 + 56), 1);
v3 = *(_QWORD *)(a1 + 104);
if ( v3 )
return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v3 + 328LL))(v3, 1);
}
return result;
}