//
// sub_1002C3DA0 from 0x1002c3da0 to 0x1002c3e11 (113 bytes)
//
// 1 xrefs:
// > ??> @ 0x100906e18
//
// 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
//
__int64 __fastcall sub_1002C3DA0(__int64 a1, __int64 a2, UpdateResponse a3)
{
__int64 v3; // rax
int v4; // ecx
__int64 result; // rax
v3 = *(_QWORD *)(a1 + 80);
if ( !v3
|| (v4 = *(_DWORD *)(v3 + 328) - *(_DWORD *)(v3 + 332),
result = (unsigned int)(*(_DWORD *)(a2 + 328) - *(_DWORD *)(a2 + 332)),
v4 == (_DWORD)result) )
{
if ( !*(_BYTE *)(a1 + 212) )
LevelInfoLayer::showUpdateAlert((LevelInfoLayer *)a1, a3);
result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)(a1 - 416) + 1152LL))(a1 - 416);
*(_BYTE *)(a1 + 212) = 0;
}
return result;
}