//
// GJBaseGameLayer::canTouchObject from 0x99f030 to 0x99f068 (56 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::collisionCheckObjects @ 0x9e88b0
// > ??> @ 0x89f08
//
// 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 12:58:06 +0000
//
__int64 __fastcall GJBaseGameLayer::canTouchObject(GJBaseGameLayer *this, GameObject *a2)
{
int v2; // w2
__int64 result; // x0
v2 = *((_DWORD *)this + 207);
result = 1;
if ( v2 )
{
if ( *((_DWORD *)a2 + 312) == 1 )
return (*((_DWORD *)a2 + 444) == 0) | (unsigned int)(v2 == *((_DWORD *)a2 + 444));
}
return result;
}