//
// InfoLayer::onRefreshComments from 0x100895480 to 0x100895571 (241 bytes)
//
// 3 xrefs:
// > InfoLayer::bulkCommentDeleteFinished @ 0x10089809f
// > InfoLayer::keyDown @ 0x100898504
// > InfoLayer::init @ 0x10089322c
//
// 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 12:37:06 +0000
//
void __fastcall InfoLayer::onRefreshComments(_DWORD *a1, double a2, __m128d a3)
{
__int64 v3; // rax
__int64 v4; // rax
__int64 v5; // rax
v3 = GameLevelManager::sharedState();
if ( (unsigned int)GameLevelManager::getTimeLeft(v3, "upd_comments", COERCE_DOUBLE(1084227584), a3) - 1 >= 5 )
{
v4 = GameLevelManager::sharedState();
GameLevelManager::makeTimeStamp(v4, "upd_comments");
v5 = GameLevelManager::sharedState();
GameLevelManager::resetCommentTimersForLevelID(v5);
InfoLayer::loadPage(a1, 0, 1);
}
}