//
// DtLabelPlacer::hideForMarker from 0x766ac4 to 0x766b82 (190 bytes)
//
// 2 xrefs:
// > DeathHistogram::setSurvival @ 0x7680fa
// > DeathHistogram::setSurvival @ 0x7681f4
//
// 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:59:08 +0000
//
int __fastcall DtLabelPlacer::hideForMarker(int this, float a2, const Box *a3, float a4)
{
int *v4; // r6
unsigned int i; // r4
int v9; // r2
float *v10; // r3
float v11; // s14
v4 = (int *)this;
for ( i = 0; ; ++i )
{
v9 = *v4;
if ( i >= -858993459 * ((v4[1] - *v4) >> 2) )
break;
v10 = (float *)(v9 + 20 * i);
v11 = v10[1];
this = a2 > (float)(v11 - a4) && a2 < (float)(a4 + v10[2]);
if ( v11 < *(float *)&a3->y1
&& *(float *)&a3->x1 < v10[2]
&& v10[3] < *(float *)&a3[1].y1
&& *(float *)&a3[1].x1 < v10[4]
|| this )
{
this = (*(int (__fastcall **)(_DWORD, _DWORD))(**(_DWORD **)(v9 + 20 * i) + 172))(*(_DWORD *)(v9 + 20 * i), 0);
}
}
return this;
}