//
// GJEffectManager::postCollisionCheck from 0x1002e0270 to 0x1002e0337 (199 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::loadUpToPosition @ 0x10014e965
// > GJBaseGameLayer::update @ 0x1001528cf
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall GJEffectManager::postCollisionCheck(GJEffectManager *a1)
{
std::__hash_node_base, void *> *>::__next_pointer next; // r12
__int64 *p_m_unkMap288; // r14
__int64 v4; // r13
void *v5; // rdi
void *__p; // [rsp+0h] [rbp-40h] BYREF
next = a1->m_unkMap288.__table_.__p1_.__value_.__next_;
if ( next )
{
p_m_unkMap288 = (__int64 *)&a1->m_unkMap288;
do
{
if ( BYTE4(next[2].__next_) )
{
v4 = (__int64)next->__next_;
}
else
{
GJEffectManager::handleObjectCollision(
a1,
0,
(LODWORD(next[2].__next_) - 10000000) / 10000,
LODWORD(next[2].__next_) - 10000 * ((LODWORD(next[2].__next_) - 10000000) / 10000) - 10000000);
v4 = (__int64)next->__next_;
sub_100056B40((__int64)&__p, p_m_unkMap288, (__int64 *)next);
v5 = __p;
__p = nullptr;
if ( v5 )
operator delete(v5);
}
next = (std::__hash_node_base, void *> *>::__next_pointer)v4;
}
while ( v4 );
}
}