//
// SecretGame01Layer::resetGameTimer from 0xbc4b8c to 0xbc4bf8 (108 bytes)
//
// 2 xrefs:
// > SecretGame01Layer::gameStep02 @ 0xbc4cf8
// > ??> @ 0xf68e0
//
// This function is hookable on this platform (idp: arm, 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 13:03:31 +0000
//
__int64 __fastcall SecretGame01Layer::resetGameTimer(SecretGame01Layer *this, long double a2)
{
int TimeForDifficulty; // w0
__int64 v4; // x1
long double v6; // [xsp+20h] [xbp+20h]
LODWORD(a2) = 0;
*((_BYTE *)this + 440) = 1;
v6 = a2;
*((_DWORD *)this + 111) = 0;
TimeForDifficulty = SecretGame01Layer::getTimeForDifficulty(this);
v4 = *(_QWORD *)this;
*((float *)this + 112) = (float)TimeForDifficulty;
(*(void (__fastcall **)(SecretGame01Layer *, long double))(v4 + 40))(this, v6);
return (*(__int64 (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 57) + 344LL))(*((_QWORD *)this + 57), 1);
}