//
// PlayLayer::dtFlushCells from 0x100960490 to 0x1009604cb (59 bytes)
//
// 4 xrefs:
// > PlayLayer::onQuit @ 0x100080495
// > PlayLayer::levelComplete @ 0x100081537
// > PlayLayer::pauseGame @ 0x10008d9bf
// > PlayLayer::onExit @ 0x10008de49
//
// 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:38:45 +0000
//
void __fastcall PlayLayer::dtFlushCells(__int64 a1)
{
__int64 v1; // rax
if ( *(_BYTE *)(a1 + 14464) == 1 )
{
v1 = *(_QWORD *)(a1 + 1936);
if ( v1 )
{
GJGameLevel::dtSetCells(v1, (__int64 *)(a1 + 14440));
*(_BYTE *)(a1 + 14464) = 0;
}
}
}