//
// GJBaseGameLayer::checkCollisions from 0x5bab8c to 0x5bb5ea (2654 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::update @ 0x5bdf36
// > GJBaseGameLayer::update @ 0x5bdf9a
//
// 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:53:42 +0000
//
int __fastcall GJBaseGameLayer::checkCollisions(__int64 this, int a2, int a3)
{
int v3; // r11
float v4; // r4
int v5; // r10
int v6; // r9
float v7; // s16
float v8; // s17
bool v9; // zf
float v10; // s16
float v11; // s17
float v12; // s18
int v13; // r6
int v14; // r8
_BOOL4 v15; // r5
int v16; // r3
void (__fastcall *v17)(_DWORD, int (__fastcall **)(int *, int *)); // r7
int v18; // r0
float v19; // s18
int v20; // r0
float v21; // s20
float v22; // s19
int v23; // r7
float v24; // s18
float v25; // s16
int v26; // r6
float v27; // s16
_BOOL4 v28; // r9
float *v29; // r0
double v30; // r0
double v31; // r0
int v33; // r3
float *v34; // r5
float v35; // s14
float v36; // s15
float *v37; // r0
int v38; // r5
float *v39; // r6
float v40; // s14
float v41; // s15
int v42; // r0
int v43; // r3
_DWORD *v44; // r6
int v45; // r1
int v46; // r0
bool v47; // cc
int v48; // r5
int v49; // r3
int v50; // r5
_DWORD *v51; // r7
_DWORD *v52; // r2
unsigned int v53; // r3
int *v54; // r8
int v55; // r9
int v56; // r0
int j; // r3
int v58; // r6
int v59; // r8
cocos2d::CCRect *v60; // r5
float v61; // s19
float v62; // s18
float v63; // s17
float v64; // s16
__int16 *v65; // r7
char *ObjectRectPointer; // r9
GameManager *v67; // r0
int v68; // r6
int v69; // r0
float v70; // s16
float v71; // s17
float v72; // s18
float v73; // s19
int v74; // r5
char *v75; // r0
cocos2d::CCRect *v76; // r8
float *v77; // r8
float *v78; // r10
void (__fastcall *v79)(_DWORD, int (__fastcall **)(int *, int *)); // r6
float *v80; // r0
int v81; // r7
float *v82; // r0
int v83; // r6
float v84; // s17
_BOOL4 v85; // r9
float v86; // s18
float *v87; // r0
double v88; // r0
double v89; // r0
int v90; // r0
void (__fastcall *v91)(_DWORD, int (__fastcall **)(int *, int *)); // [sp+Ch] [bp-48h]
unsigned int i; // [sp+Ch] [bp-48h]
_DWORD *v93; // [sp+Ch] [bp-48h]
void (__fastcall *v94)(_DWORD, int (__fastcall **)(int *, int *)); // [sp+Ch] [bp-48h]
void (__fastcall *v95)(_DWORD, int (__fastcall **)(int *, int *)); // [sp+Ch] [bp-48h]
int v97; // [sp+14h] [bp-40h]
unsigned int v98; // [sp+18h] [bp-3Ch]
int v99; // [sp+18h] [bp-3Ch]
int v100; // [sp+1Ch] [bp-38h]
int v101; // [sp+20h] [bp-34h]
signed int v103; // [sp+2Ch] [bp-28h]
unsigned int v104; // [sp+34h] [bp-20h]
int (__fastcall *v105[2])(int *, int *); // [sp+44h] [bp-10h] BYREF
v3 = this;
LODWORD(this) = HIDWORD(this);
v4 = *((float *)&this + 1);
v5 = (int)&_stack_chk_guard;
v6 = *(unsigned __int8 *)(HIDWORD(this) + 1176);
*(_BYTE *)(HIDWORD(this) + 1176) = 0;
PlayerObject::preCollision(this);
v7 = *(float *)(LODWORD(v4) + 2008);
v8 = *(float *)(LODWORD(v4) + 2144);
v9 = v7 == 1.0;
if ( v7 == 1.0 )
v10 = 0.0;
else
v10 = 1.0 - v7;
if ( !v9 )
v10 = v8 * v10;
v11 = v8 * 0.5;
if ( !v9 )
v10 = v10 * 0.5;
v12 = (float)(v11 + 90.0) - v10;
if ( *(_BYTE *)(v3 + 689) )
{
v13 = 0;
}
else if ( PlayerObject::isFlying((PlayerObject *)LODWORD(v4))
|| *(_BYTE *)(LODWORD(v4) + 1955)
|| *(_BYTE *)(LODWORD(v4) + 1958) )
{
v13 = 1;
}
else
{
v13 = *(unsigned __int8 *)(v3 + 866);
}
v14 = *(unsigned __int8 *)(LODWORD(v4) + 2452);
v15 = 0;
*(_BYTE *)(LODWORD(v4) + 2452) = 0;
v16 = *(_DWORD *)LODWORD(v4);
if ( *(_BYTE *)(v3 + 10614) )
{
if ( *(float *)(*(int (__fastcall **)(float))(v16 + 96))(COERCE_FLOAT(LODWORD(v4))) < -30.0 )
{
v5 = (int)v105;
*(_QWORD *)(LODWORD(v4) + 2200) = 0;
v17 = *(void (__fastcall **)(_DWORD, int (__fastcall **)(int *, int *)))(*(_DWORD *)LODWORD(v4) + 92);
v18 = (*(int (__fastcall **)(float))(*(_DWORD *)LODWORD(v4) + 96))(COERCE_FLOAT(LODWORD(v4)));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v105, -30.0, *(float *)(v18 + 4));
v17(LODWORD(v4), v105);
goto LABEL_21;
}
}
else if ( *(_BYTE *)(LODWORD(v4) + 1962) )
{
v15 = *(float *)(*(int (__fastcall **)(float))(v16 + 96))(COERCE_FLOAT(LODWORD(v4))) < -30.0;
goto LABEL_21;
}
v15 = 0;
LABEL_21:
if ( *(float *)((*(int (__fastcall **)(float))(*(_DWORD *)LODWORD(v4) + 96))(COERCE_FLOAT(LODWORD(v4))) + 4) >= v12
|| v13
&& (PlayerObject::isFlying((PlayerObject *)LODWORD(v4))
|| *(_BYTE *)(LODWORD(v4) + 1955)
|| *(_BYTE *)(v3 + 866)
|| *(_BYTE *)(LODWORD(v4) + 1958)) )
{
if ( *(float *)((*(int (__fastcall **)(float))(*(_DWORD *)LODWORD(v4) + 96))(COERCE_FLOAT(LODWORD(v4))) + 4) > (float)(v10 + *(float *)(v3 + 11432)) )
v15 = 1;
}
else if ( *(_BYTE *)(LODWORD(v4) + 1959) )
{
if ( PlayerObject::isSafeFlip((PlayerObject *)LODWORD(v4), 0.1) )
{
v79 = *(void (__fastcall **)(_DWORD, int (__fastcall **)(int *, int *)))(*(_DWORD *)LODWORD(v4) + 92);
v80 = (float *)(*(int (__fastcall **)(float))(*(_DWORD *)LODWORD(v4) + 96))(COERCE_FLOAT(LODWORD(v4)));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v105, *v80, v12);
v79(LODWORD(v4), v105);
PlayerObject::hitGround((PlayerObject *)LODWORD(v4), nullptr, 1);
PlayerObject::updateCollide((PlayerObject *)LODWORD(v4), 0, nullptr);
*(_BYTE *)(LODWORD(v4) + 2036) = 0;
return 0;
}
v15 = 1;
}
else
{
v81 = *(unsigned __int8 *)(LODWORD(v4) + 2052);
if ( !*(_BYTE *)(LODWORD(v4) + 2052) )
{
v5 = (int)v105;
v94 = *(void (__fastcall **)(_DWORD, int (__fastcall **)(int *, int *)))(*(_DWORD *)LODWORD(v4) + 92);
v82 = (float *)(*(int (__fastcall **)(float))(*(_DWORD *)LODWORD(v4) + 96))(COERCE_FLOAT(LODWORD(v4)));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v105, *v82, v12);
v94(LODWORD(v4), v105);
PlayerObject::hitGround((PlayerObject *)LODWORD(v4), (GameObject *)v81, v81);
PlayerObject::updateCollide((PlayerObject *)LODWORD(v4), 1, (GameObject *)v81);
}
}
if ( v13 && !v6 )
{
v19 = COERCE_FLOAT(GJBaseGameLayer::getMaxPortalY((GJBaseGameLayer *)v3));
*(float *)&v20 = COERCE_FLOAT(GJBaseGameLayer::getMinPortalY((GJBaseGameLayer *)v3));
v21 = v19 - *(float *)(v3 + 1284);
v22 = *(float *)&v20;
if ( *(_BYTE *)(LODWORD(v4) + 1953) )
v23 = *(unsigned __int8 *)(LODWORD(v4) + 1901);
else
v23 = 0;
v24 = (float)(v19 - v11) + v10;
if ( *(float *)((*(int (__fastcall **)(float))(*(_DWORD *)LODWORD(v4) + 96))(COERCE_FLOAT(LODWORD(v4))) + 4) > v24 )
{
if ( !*(_BYTE *)(LODWORD(v4) + 1945)
|| *(float *)((*(int (__fastcall **)(float))(*(_DWORD *)LODWORD(v4) + 96))(COERCE_FLOAT(LODWORD(v4))) + 4) <= (float)(v24 + v11) )
{
if ( !PlayerObject::destroyFromHitHead((PlayerObject *)LODWORD(v4)) || *(_BYTE *)(LODWORD(v4) + 1959) )
{
v26 = 0;
LABEL_46:
v27 = COERCE_DOUBLE(PlayerObject::getYVelocity((PlayerObject *)LODWORD(v4)));
v28 = *(_BYTE *)(LODWORD(v4) + 1959)
&& PlayerObject::canStickToGround((PlayerObject *)LODWORD(v4))
&& v21 != 0.0;
v5 = (int)v105;
v91 = *(void (__fastcall **)(_DWORD, int (__fastcall **)(int *, int *)))(*(_DWORD *)LODWORD(v4) + 92);
v29 = (float *)(*(int (__fastcall **)(float))(*(_DWORD *)LODWORD(v4) + 96))(COERCE_FLOAT(LODWORD(v4)));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v105, *v29, v24);
v91(LODWORD(v4), v105);
*(float *)&v30 = v4;
if ( v26 )
{
PlayerObject::pushDown(v30);
}
else if ( COERCE_DOUBLE(PlayerObject::getYVelocity((PlayerObject *)LODWORD(v4))) > 0.0 )
{
PlayerObject::hitGround((PlayerObject *)LODWORD(v4), nullptr, *(unsigned __int8 *)(LODWORD(v4) + 1959) ^ 1);
}
PlayerObject::updateCollide((PlayerObject *)LODWORD(v4), *(unsigned __int8 *)(LODWORD(v4) + 1959), nullptr);
if ( v28 && (v31 = COERCE_DOUBLE(PlayerObject::getYVelocity((PlayerObject *)LODWORD(v4))), v27 > v31)
|| !*(_BYTE *)(LODWORD(v4) + 1959) && v23 && v21 > 0.0 )
{
*(float *)&v31 = v4;
PlayerObject::setYVelocity(v31, v27, 0);
}
LABEL_53:
*(_BYTE *)(LODWORD(v4) + 1945) = 0;
goto LABEL_54;
}
if ( PlayerObject::isSafeHeadTest((PlayerObject *)LODWORD(v4)) )
{
v26 = 1;
goto LABEL_46;
}
}
LABEL_59:
if ( v14 )
{
LABEL_56:
if ( !a3 )
(*(void (__fastcall **)(int, float, _DWORD))(*(_DWORD *)v3 + 648))(v3, COERCE_FLOAT(LODWORD(v4)), 0);
return 1;
}
LOBYTE(v15) = 1;
goto LABEL_61;
}
v25 = (float)(v22 + v11) - v10;
if ( *(float *)((*(int (__fastcall **)(float))(*(_DWORD *)LODWORD(v4) + 96))(COERCE_FLOAT(LODWORD(v4))) + 4) < v25 )
{
if ( *(_BYTE *)(LODWORD(v4) + 1945)
&& *(float *)((*(int (__fastcall **)(float))(*(_DWORD *)LODWORD(v4) + 96))(COERCE_FLOAT(LODWORD(v4))) + 4) < (float)(v25 - v11) )
{
goto LABEL_59;
}
if ( PlayerObject::destroyFromHitHead((PlayerObject *)LODWORD(v4)) )
{
v83 = *(unsigned __int8 *)(LODWORD(v4) + 1959);
if ( *(_BYTE *)(LODWORD(v4) + 1959) )
{
if ( !PlayerObject::isSafeHeadTest((PlayerObject *)LODWORD(v4)) )
goto LABEL_59;
v83 = 1;
}
}
else
{
v83 = 0;
}
v84 = COERCE_DOUBLE(PlayerObject::getYVelocity((PlayerObject *)LODWORD(v4)));
v85 = !*(_BYTE *)(LODWORD(v4) + 1959) && PlayerObject::canStickToGround((PlayerObject *)LODWORD(v4)) && v21 != 0.0;
if ( v83
|| PlayerObject::canStickToGround((PlayerObject *)LODWORD(v4))
|| *(float *)(v3 + 328) == *(float *)(v3 + 332) )
{
v86 = 0.0;
}
else
{
v86 = 1.0;
}
v5 = (int)v105;
v95 = *(void (__fastcall **)(_DWORD, int (__fastcall **)(int *, int *)))(*(_DWORD *)LODWORD(v4) + 92);
v87 = (float *)(*(int (__fastcall **)(float))(*(_DWORD *)LODWORD(v4) + 96))(COERCE_FLOAT(LODWORD(v4)));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v105, *v87, v25 + v86);
v95(LODWORD(v4), v105);
if ( v83 )
{
*(float *)&v88 = v4;
PlayerObject::pushDown(v88);
}
else if ( !*(_BYTE *)(LODWORD(v4) + 1953) && !*(_BYTE *)(LODWORD(v4) + 1964)
|| COERCE_DOUBLE(PlayerObject::getYVelocity((PlayerObject *)LODWORD(v4))) < 0.0 )
{
PlayerObject::hitGround((PlayerObject *)LODWORD(v4), nullptr, *(unsigned __int8 *)(LODWORD(v4) + 1959));
}
PlayerObject::updateCollide((PlayerObject *)LODWORD(v4), *(unsigned __int8 *)(LODWORD(v4) + 1959) ^ 1, nullptr);
if ( v85 && (v89 = COERCE_DOUBLE(PlayerObject::getYVelocity((PlayerObject *)LODWORD(v4))), v84 < v89)
|| *(_BYTE *)(LODWORD(v4) + 1959) && v23 && v21 < 0.0 )
{
*(float *)&v89 = v4;
PlayerObject::setYVelocity(v89, v84, 0);
}
goto LABEL_53;
}
}
LABEL_54:
if ( v14 && v15 )
goto LABEL_56;
LABEL_61:
v33 = *(_DWORD *)LODWORD(v4);
*(_BYTE *)(LODWORD(v4) + 2452) = v15;
if ( *(float *)(*(int (__fastcall **)(float))(v33 + 96))(COERCE_FLOAT(LODWORD(v4))) <= 0.0 )
{
v38 = 0;
}
else
{
v34 = (float *)(v3 + 11424);
v35 = 10000000.0;
if ( *(float *)(*(int (__fastcall **)(float))(*(_DWORD *)LODWORD(v4) + 96))(COERCE_FLOAT(LODWORD(v4))) < 10000000.0 )
{
v37 = (float *)(*(int (__fastcall **)(float))(*(_DWORD *)LODWORD(v4) + 96))(COERCE_FLOAT(LODWORD(v4)));
v35 = *v34;
v36 = *v37;
}
else
{
v36 = *v34;
}
v38 = (int)(float)(v36 * v35);
}
if ( *(float *)((*(int (__fastcall **)(float))(*(_DWORD *)LODWORD(v4) + 96))(COERCE_FLOAT(LODWORD(v4))) + 4) <= 0.0 )
{
v43 = 0;
}
else
{
v39 = (float *)(v3 + 11428);
v40 = 10000000.0;
if ( *(float *)((*(int (__fastcall **)(float))(*(_DWORD *)LODWORD(v4) + 96))(COERCE_FLOAT(LODWORD(v4))) + 4) < 10000000.0 )
{
v42 = (*(int (__fastcall **)(float))(*(_DWORD *)LODWORD(v4) + 96))(COERCE_FLOAT(LODWORD(v4)));
v40 = *v39;
v41 = *(float *)(v42 + 4);
}
else
{
v41 = *v39;
}
v43 = (int)(float)(v41 * v40);
}
v44 = (_DWORD *)(v3 + 11304);
v98 = v38 + 1;
v45 = *(_DWORD *)(v3 + 11308);
v46 = *(_DWORD *)(v3 + 11304);
v47 = v38 <= 1;
if ( v38 > 1 )
v5 = v38 - 1;
v48 = v38 + 1;
if ( v47 )
v5 = 0;
if ( v98 >= ((v45 - v46) >> 2) - 1 )
v48 = ((v45 - v46) >> 2) - 1;
v99 = v48;
if ( v43 > 1 )
v48 = v43 - 1;
v104 = v43 + 1;
if ( v43 > 1 )
v100 = v48;
*(_DWORD *)(v3 + 10732) = 0;
if ( v43 <= 1 )
v100 = 0;
*(_DWORD *)(v3 + 10752) = 0;
if ( v46 != v45 )
{
v50 = 4 * v5;
v51 = (_DWORD *)(v3 + 11412);
while ( v5 <= v99 )
{
v52 = *(_DWORD **)(*v44 + v50);
if ( v52 )
{
v53 = ((v52[1] - *v52) >> 2) - 1;
if ( v53 >= v104 )
v53 = v104;
}
else
{
v53 = -1;
}
v103 = v53;
v97 = 4 * v100;
for ( i = v100; (int)i <= v103; ++i )
{
v54 = *(int **)(**(_DWORD **)(*v44 + v50) + v97);
if ( v54 )
{
v101 = *(_DWORD *)(**(_DWORD **)(*(_DWORD *)(v3 + 11388) + v50) + v97);
v55 = 1 << (i & 0x1F);
if ( (v55 & *(_DWORD *)(**(_DWORD **)(*v51 + v50) + 4 * (i >> 5))) != 0 )
{
v56 = *v54;
v105[0] = (int (__fastcall *)(int *, int *))mIDCompSort;
std::__sort(
v56,
(int *)(v56 + 4 * v101),
v105);
for ( j = 0; j < v101; ++j )
*(_DWORD *)(*(_DWORD *)(*v54 + 4 * j) + 524) = j;
*(_DWORD *)(**(_DWORD **)(*v51 + v50) + 4 * (i >> 5)) &= ~v55;
}
GJBaseGameLayer::collisionCheckObjects(v3, v4, v54, v101, *(float *)&a2);
}
v97 += 4;
}
++v5;
v50 += 4;
}
}
v49 = *(_DWORD *)(v3 + 11340);
if ( v49 > 0 )
GJBaseGameLayer::collisionCheckObjects(v3, v4, (_DWORD *)(v3 + 11328), v49, *(float *)&a2);
v58 = *(_DWORD *)(LODWORD(v4) + 1308);
if ( v58 )
v58 = *(unsigned __int8 *)(LODWORD(v4) + 1384);
v59 = 0;
v60 = (cocos2d::CCRect *)(*(int (__fastcall **)(float))(*(_DWORD *)LODWORD(v4) + 664))(COERCE_FLOAT(LODWORD(v4)));
v61 = COERCE_FLOAT(cocos2d::CCRect::getMaxX(v60));
v62 = COERCE_FLOAT(cocos2d::CCRect::getMinX(v60));
v63 = COERCE_FLOAT(cocos2d::CCRect::getMaxY(v60));
v93 = (_DWORD *)(v3 + 10732);
v64 = COERCE_FLOAT(cocos2d::CCRect::getMinY(v60));
while ( v59 < *v93 )
{
v65 = *(__int16 **)(*(_DWORD *)(v3 + 10740) + 4 * (*v93 - 1 - v59));
if ( !GameObject::getGroupDisabled((GameObject *)v65) )
{
ObjectRectPointer = GameObject::getObjectRectPointer((GameObject *)v65);
if ( v58 && v65[510] > 0 )
v58 = (unsigned __int8)PlayerObject::testForMoving(
(PlayerObject *)LODWORD(v4),
*(float *)&a2,
(GameObject *)v65)
^ 1;
if ( v61 >= COERCE_FLOAT(cocos2d::CCRect::getMinX((cocos2d::CCRect *)ObjectRectPointer))
&& COERCE_FLOAT(cocos2d::CCRect::getMaxX((cocos2d::CCRect *)ObjectRectPointer)) >= v62
&& v63 >= COERCE_FLOAT(cocos2d::CCRect::getMinY((cocos2d::CCRect *)ObjectRectPointer))
&& COERCE_FLOAT(cocos2d::CCRect::getMaxY((cocos2d::CCRect *)ObjectRectPointer)) >= v64 )
{
PlayerObject::collidedWithObject((PlayerObject *)LODWORD(v4), *(float *)&a2, (GameObject *)v65);
v90 = (*(int (__fastcall **)(float))(*(_DWORD *)LODWORD(v4) + 664))(COERCE_FLOAT(LODWORD(v4)));
cocos2d::CCRect::operator=(v60, v90);
v61 = COERCE_FLOAT(cocos2d::CCRect::getMaxX(v60));
v62 = COERCE_FLOAT(cocos2d::CCRect::getMinX(v60));
v63 = COERCE_FLOAT(cocos2d::CCRect::getMaxY(v60));
v64 = COERCE_FLOAT(cocos2d::CCRect::getMinY(v60));
}
}
++v59;
}
v67 = *(GameManager **)(v3 + 2076);
if ( *((_BYTE *)v67 + 1960) )
PlayerObject::removePlacedCheckpoint(v67);
v68 = 0;
v69 = (*(int (__fastcall **)(float))(*(_DWORD *)LODWORD(v4) + 664))(COERCE_FLOAT(LODWORD(v4)));
cocos2d::CCRect::operator=(v60, v69);
v70 = COERCE_FLOAT(cocos2d::CCRect::getMaxX(v60));
v71 = COERCE_FLOAT(cocos2d::CCRect::getMinX(v60));
v72 = COERCE_FLOAT(cocos2d::CCRect::getMaxY(v60));
v73 = COERCE_FLOAT(cocos2d::CCRect::getMinY(v60));
(*(void (__fastcall **)(float))(*(_DWORD *)LODWORD(v4) + 784))(COERCE_FLOAT(LODWORD(v4)));
while ( 1 )
{
if ( v68 >= *(_DWORD *)(v3 + 10752) )
{
PlayerObject::postCollision((PlayerObject *)LODWORD(v4), a2, *(unsigned __int8 *)(v3 + 11664));
return 0;
}
v74 = *(_DWORD *)(*(_DWORD *)(v3 + 10760) + 4 * v68);
if ( !GameObject::getGroupDisabled((GameObject *)v74) )
{
v75 = GameObject::getObjectRectPointer((GameObject *)v74);
v76 = (cocos2d::CCRect *)v75;
if ( *(float *)(v74 + 764) <= 0.0 )
{
if ( v70 < COERCE_FLOAT(cocos2d::CCRect::getMinX((cocos2d::CCRect *)v75))
|| COERCE_FLOAT(cocos2d::CCRect::getMaxX(v76)) < v71
|| v72 < COERCE_FLOAT(cocos2d::CCRect::getMinY(v76))
|| COERCE_FLOAT(cocos2d::CCRect::getMaxY(v76)) < v73 )
{
goto LABEL_140;
}
}
else if ( !GJBaseGameLayer::playerCircleCollision(
(GJBaseGameLayer *)v3,
(PlayerObject *)LODWORD(v4),
(GameObject *)v74) )
{
goto LABEL_140;
}
if ( !*(_BYTE *)(v74 + 636) || *(_BYTE *)(*(_DWORD *)(v3 + 2084) + 375) && *(float *)(v74 + 764) > 0.0 )
break;
v77 = (float *)(*(int (__fastcall **)(int))(*(_DWORD *)v74 + 780))(v74);
v78 = (float *)(*(int (__fastcall **)(float))(*(_DWORD *)LODWORD(v4) + 780))(COERCE_FLOAT(LODWORD(v4)));
if ( OBB2D::overlaps1Way((int)v77, v78) )
{
if ( OBB2D::overlaps1Way((int)v78, v77) )
break;
}
}
LABEL_140:
++v68;
}
if ( !a3 )
(*(void (__fastcall **)(int, float, int))(*(_DWORD *)v3 + 648))(v3, COERCE_FLOAT(LODWORD(v4)), v74);
return 1;
}