//
// PlayLayer::postUpdate from 0x100088b50 to 0x100088c1a (202 bytes)
//
// 1 xrefs:
// > ??> @ 0x100abaf78
//
// 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:20:05 +0000
//
__int64 __fastcall PlayLayer::postUpdate(__int64 a1, __int64 a2, double a3, double a4)
{
__int64 result; // rax
unsigned int v5; // r14d
__int64 v6; // rax
if ( !*(_BYTE *)(a1 + 14408) )
{
AudioEffectsLayer::audioStep(*(_QWORD *)(a1 + 12688), *(float *)&a3);
*(_QWORD *)&a3 = LODWORD(a3);
}
(*(void (__fastcall **)(__int64))(*(_QWORD *)a1 + 1192LL))(a1);
GJBaseGameLayer::updateLevelColors(a1);
PlayLayer::updateProgressbar(a1, a3, a4);
PlayLayer::updateInfoLabel(a1);
result = PlayLayer::updateEffectPositions(a1, a2);
if ( *(_BYTE *)(a1 + 13096) == 1 )
{
if ( (unsigned int)sub_1007FEF90(*(_QWORD *)(a1 + 3984)) )
{
v5 = 0;
do
{
v6 = sub_1007FEFE0(*(_QWORD *)(a1 + 3984), v5);
a2 = 0;
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v6 + 344LL))(v6, 0);
++v5;
}
while ( v5 < (unsigned int)sub_1007FEF90(*(_QWORD *)(a1 + 3984)) );
}
return PlayLayer::onQuit(a1, a2);
}
return result;
}