//
// PlayLayer::dtCellKnown from 0x72c996 to 0x72c9dc (70 bytes)
//
// 1 xrefs:
// > PlayLayer::destroyPlayer @ 0x405a3a
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:58:16 +0000
//
int __fastcall PlayLayer::dtCellKnown(PlayLayer *this, int a2, int a3)
{
char *v3; // r0
_DWORD *v4; // r3
int v5; // r1
int v6; // r4
int v7; // r2
unsigned int v8; // r0
unsigned int v9; // r2
v3 = (char *)this + 11968;
if ( a2 >= 0xFFFF )
a2 = 0xFFFF;
v4 = *(_DWORD **)v3;
v5 = a2 & ~(a2 >> 31);
if ( a3 >= 0xFFFF )
a3 = 0xFFFF;
v6 = a3 & ~(a3 >> 31);
v7 = *((_DWORD *)v3 + 1);
v8 = 0;
v9 = (v7 - (int)v4) >> 2;
while ( 1 )
{
v8 += 4;
if ( v8 > v9 )
return 0;
if ( *v4 == v5 && v4[1] == v6 )
break;
v4 += 4;
}
return 1;
}