//
// GJBaseGameLayer::playerWasTouchingObject from 0x100107f80 to 0x100107fc9 (73 bytes)
//
// 0 xrefs:
//
// 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:21:32 +0000
//
char __fastcall GJBaseGameLayer::playerWasTouchingObject(__int64 a1, __int64 a2, __int64 a3)
{
__int64 *v3; // rax
int v4; // ecx
int v5; // edx
int v6; // esi
int v7; // esi
v3 = *(__int64 **)(a1 + 1176);
if ( v3 )
{
v4 = *(_DWORD *)(a3 + 916);
v5 = *(_DWORD *)(a2 + 916);
while ( 1 )
{
v6 = *((_DWORD *)v3 + 7);
if ( v4 >= v6 )
{
if ( v4 <= v6 )
{
v7 = *((_DWORD *)v3 + 8);
if ( v5 < v7 )
goto LABEL_4;
if ( v5 <= v7 )
return 1;
}
++v3;
}
LABEL_4:
v3 = (__int64 *)*v3;
if ( !v3 )
return 0;
}
}
return 0;
}