//
// DailyLevelNode::showSkipButton from 0x140173890 to 0x1401738eb (91 bytes)
//
// 2 xrefs:
// > DailyLevelPage::dailyStatusFinished @ 0x140170b6c
// > ??> @ 0x1409183bc
//
// 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:27:32 +0000
//
__int64 __fastcall DailyLevelNode::showSkipButton(__int64 a1)
{
__int64 v2; // rcx
__int64 v3; // rdx
__int64 result; // rax
__int64 v5; // rdx
v2 = *(_QWORD *)(a1 + 360);
if ( v2 )
{
v3 = *(_QWORD *)(a1 + 328);
if ( !v3 || (result = (unsigned int)(*(_DWORD *)(v3 + 936) - *(_DWORD *)(v3 + 940)), (int)result < 100) )
{
LOBYTE(v3) = 1;
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v2 + 336LL))(v2, v3);
LOBYTE(v5) = 1;
return (*(__int64 (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 360) + 1040LL))(*(_QWORD *)(a1 + 360), v5);
}
}
return result;
}