//
// RewardUnlockLayer::connectionTimeout from 0x1405644d0 to 0x140564524 (84 bytes)
//
// 2 xrefs:
// > RewardUnlockLayer::init @ 0x140564355
// > ??> @ 0x14092c51c
//
// 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 11:34:16 +0000
//
__int64 __fastcall RewardUnlockLayer::connectionTimeout(__int64 a1, __int64 a2)
{
__int64 v3; // rdx
__int64 v4; // rdx
__int64 result; // rax
if ( !*(_BYTE *)(a1 + 700) )
{
LOBYTE(a2) = 1;
(*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 720) + 336LL))(*(_QWORD *)(a1 + 720), a2);
LOBYTE(v3) = 1;
(*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 720) + 936LL))(*(_QWORD *)(a1 + 720), v3);
LOBYTE(v4) = 1;
return (*(__int64 (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 712) + 336LL))(*(_QWORD *)(a1 + 712), v4);
}
return result;
}