//
// GJEffectManager::postCollisionCheck from 0x100010684 to 0x10001071c (152 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::loadUpToPosition @ 0x100298edc
// > GJBaseGameLayer::update @ 0x10029af50
//
// This function is hookable on this platform (idp: arm, 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 10:57:16 +0000
//
__int64 __fastcall GJEffectManager::postCollisionCheck(__int64 result)
{
__int64 v1; // x20
__int64 v2; // x19
v1 = *(_QWORD *)(result + 616);
if ( v1 )
{
v2 = result;
do
{
while ( (*(_BYTE *)(v1 + 20) & 1) != 0 )
{
v1 = *(_QWORD *)v1;
if ( !v1 )
return result;
}
sub_10001071C(
v2,
0,
(unsigned int)((*(_DWORD *)(v1 + 16) - 10000000) / 10000),
(unsigned int)((*(_DWORD *)(v1 + 16) - 10000000) % 10000));
result = sub_100019534(v2 + 600, v1);
v1 = result;
}
while ( result );
}
return result;
}