//
// GJEffectManager::postCollisionCheck from 0x1002cad10 to 0x1002cadd7 (199 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::loadUpToPosition @ 0x10012c822
// > GJBaseGameLayer::update @ 0x1001306dd
//
// 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:28:10 +0000
//
void __fastcall GJEffectManager::postCollisionCheck(__int64 a1)
{
__int64 v1; // r12
__int64 *v3; // r14
__int64 v4; // r13
void *v5; // rdi
void *__p; // [rsp+0h] [rbp-40h] BYREF
v1 = *(_QWORD *)(a1 + 616);
if ( v1 )
{
v3 = (__int64 *)(a1 + 600);
do
{
if ( *(_BYTE *)(v1 + 20) )
{
v4 = *(_QWORD *)v1;
}
else
{
GJEffectManager::handleObjectCollision(
a1,
0,
(unsigned int)((*(_DWORD *)(v1 + 16) - 10000000) / 10000),
(unsigned int)(*(_DWORD *)(v1 + 16) - 10000 * ((*(_DWORD *)(v1 + 16) - 10000000) / 10000) - 10000000));
v4 = *(_QWORD *)v1;
sub_10001AE30((__int64)&__p, v3, (__int64 *)v1);
v5 = __p;
__p = nullptr;
if ( v5 )
operator delete(v5);
}
v1 = v4;
}
while ( v4 );
}
}