//
// GJBaseGameLayer::checkCollisions from 0x9e95c4 to 0x9ea3e4 (3616 bytes)
//
// 3 xrefs:
// > GJBaseGameLayer::update @ 0x9edc68
// > GJBaseGameLayer::update @ 0x9ee09c
// > ??> @ 0x907c0
//
// 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:59:02 +0000
//
__int64 __fastcall GJBaseGameLayer::checkCollisions(
GJBaseGameLayer *this,
PlayerObject *a2,
float a3,
unsigned __int8 a4)
{
__int64 (__fastcall *v8)(__int64 *, __int64 *); // x1
unsigned int v9; // w20
float v10; // s0
float v11; // s10
float v12; // s11
unsigned int v13; // w21
float v14; // s10
int v15; // w22
_BOOL4 v16; // w23
int v18; // w20
float MaxPortalY; // s9
long double v20; // q0
float v21; // s12
float v22; // s9
int v23; // w24
double v24; // d10
int v25; // w21
void (__fastcall *v26)(PlayerObject *, __int64 (__fastcall **)(__int64 *, __int64 *)); // x27
float *v27; // x0
float YVelocity; // s10
double v29; // d9
__int64 v30; // x1
float v31; // s0
__int64 (__fastcall *v32)(PlayerObject *); // x1
float v33; // s0
int v34; // w23
int v35; // w27
unsigned __int64 v36; // x21
int v37; // w25
int v38; // w0
__int64 v39; // x0
__int64 v40; // x1
__int64 v41; // x20
unsigned __int64 v42; // x2
int v43; // w20
int v44; // w2
__int64 v45; // x26
_QWORD *v46; // x0
__int64 v47; // x20
unsigned __int64 v48; // x1
int v49; // w20
unsigned __int64 v50; // x24
__int64 v51; // x23
__int64 v52; // x25
int v53; // w27
__int64 **v54; // x22
int v55; // w3
__int64 *v56; // x0
__int64 i; // x0
__int64 v58; // x1
__int64 v59; // x1
void (__fastcall *v60)(PlayerObject *, __int64 (__fastcall **)(__int64 *, __int64 *)); // x25
__int64 v61; // x0
void (__fastcall *v62)(PlayerObject *, __int64 (__fastcall **)(__int64 *, __int64 *)); // x21
float *v63; // x0
void (__fastcall *v64)(PlayerObject *, __int64 (__fastcall **)(__int64 *, __int64 *)); // x25
float *v65; // x0
int v66; // w3
int v67; // w21
int v68; // w22
cocos2d::CCRect *v69; // x20
float v70; // s0
float v71; // s9
float v72; // s0
float v73; // s10
float v74; // s0
float v75; // s12
int v76; // w0
float v77; // s0
float v78; // s11
__int16 *v79; // x23
cocos2d::CCRect *ObjectRectPointer; // x24
float v81; // s0
float v82; // s0
float v83; // s0
float v84; // s0
__int64 v85; // x0
float v86; // s0
float v87; // s0
float v88; // s0
float v89; // s0
_BYTE *v90; // x0
__int64 v91; // x21
int v92; // w22
__int64 v93; // x0
float v94; // s0
float v95; // s9
float v96; // s0
float v97; // s12
float v98; // s0
float v99; // s11
float v100; // s0
float v101; // s10
__int64 v102; // x20
cocos2d::CCRect *v103; // x0
cocos2d::CCRect *v104; // x23
float *v105; // x23
float *v106; // x24
float v107; // s0
float v108; // s0
float v109; // s0
float v110; // s0
float v111; // s9
PlayerObject *v112; // x0
int v113; // w21
__int64 (__fastcall *v114)(PlayerObject *); // x2
void (__fastcall *v115)(PlayerObject *, __int64 (__fastcall **)(__int64 *, __int64 *)); // x25
float *v116; // x0
void (__fastcall *v117)(PlayerObject *, __int64 (__fastcall **)(__int64 *, __int64 *)); // x25
float v118; // s0
float v119; // s1
unsigned __int8 canStickToGround; // w0
int v121; // [xsp+94h] [xbp+94h]
int v122; // [xsp+B8h] [xbp+B8h]
int v123; // [xsp+BCh] [xbp+BCh]
int v124; // [xsp+BCh] [xbp+BCh]
int v125; // [xsp+C0h] [xbp+C0h]
int v126; // [xsp+C4h] [xbp+C4h]
long double v127; // [xsp+E0h] [xbp+E0h]
int v128; // [xsp+E0h] [xbp+E0h]
__int64 (__fastcall *v129[2])(__int64 *, __int64 *); // [xsp+F0h] [xbp+F0h] BYREF
v121 = a4;
v8 = (__int64 (__fastcall *)(__int64 *, __int64 *))_stack_chk_guard;
v9 = *((unsigned __int8 *)a2 + 1368);
*((_BYTE *)a2 + 1368) = 0;
v129[1] = v8;
PlayerObject::preCollision(a2);
v10 = *((float *)a2 + 618);
v11 = *((float *)a2 + 660);
v12 = 0.0;
if ( v10 != 1.0 )
v12 = (float)(v11 * (float)(1.0 - v10)) * 0.5;
v13 = 0;
v14 = v11 * 0.5;
if ( !*((_BYTE *)this + 785) )
{
v13 = 1;
if ( !(unsigned __int8)PlayerObject::isFlying(a2) && !*((_BYTE *)a2 + 2419) && !*((_BYTE *)a2 + 2422) )
v13 = *((unsigned __int8 *)this + 1010);
}
v15 = *((unsigned __int8 *)a2 + 3040);
*((_BYTE *)a2 + 3040) = 0;
if ( *((_BYTE *)this + 12238) )
{
if ( *(float *)(*(__int64 (__fastcall **)(PlayerObject *))(*(_QWORD *)a2 + 192LL))(a2) < -30.0 )
{
v59 = *(_QWORD *)a2;
v16 = 0;
*((_QWORD *)a2 + 339) = 0;
v60 = *(void (__fastcall **)(PlayerObject *, __int64 (__fastcall **)(__int64 *, __int64 *)))(v59 + 184);
v61 = (*(__int64 (__fastcall **)(PlayerObject *))(v59 + 192))(a2);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v129, -30.0, *(float *)(v61 + 4));
v60(a2, v129);
goto LABEL_7;
}
}
else if ( *((_BYTE *)a2 + 2426) )
{
v16 = *(float *)(*(__int64 (__fastcall **)(PlayerObject *))(*(_QWORD *)a2 + 192LL))(a2) < -30.0;
goto LABEL_7;
}
v16 = 0;
LABEL_7:
if ( (float)((float)(v14 + 90.0) - v12) > *(float *)((*(__int64 (__fastcall **)(PlayerObject *))(*(_QWORD *)a2 + 192LL))(a2)
+ 4)
&& (!v13
|| !(unsigned __int8)PlayerObject::isFlying(a2)
&& !*((_BYTE *)a2 + 2419)
&& !*((_BYTE *)this + 1010)
&& !*((_BYTE *)a2 + 2422)) )
{
if ( *((_BYTE *)a2 + 2423) )
{
v16 = 1;
if ( (unsigned __int8)PlayerObject::isSafeFlip(a2, 0.1) )
{
v62 = *(void (__fastcall **)(PlayerObject *, __int64 (__fastcall **)(__int64 *, __int64 *)))(*(_QWORD *)a2 + 184LL);
v63 = (float *)(*(__int64 (__fastcall **)(PlayerObject *))(*(_QWORD *)a2 + 192LL))(a2);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v129, *v63, (float)(v14 + 90.0) - v12);
v62(a2, v129);
PlayerObject::hitGround(a2, nullptr, 1u);
PlayerObject::updateCollide(a2, 0, nullptr);
*((_BYTE *)a2 + 2500) = 0;
return 0;
}
}
else if ( !*((_BYTE *)a2 + 2516) )
{
v64 = *(void (__fastcall **)(PlayerObject *, __int64 (__fastcall **)(__int64 *, __int64 *)))(*(_QWORD *)a2 + 184LL);
v65 = (float *)(*(__int64 (__fastcall **)(PlayerObject *))(*(_QWORD *)a2 + 192LL))(a2);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v129, *v65, (float)(v14 + 90.0) - v12);
v64(a2, v129);
PlayerObject::hitGround(a2, nullptr, 0);
PlayerObject::updateCollide(a2, 1, nullptr);
if ( v13 <= v9 )
goto LABEL_12;
goto LABEL_24;
}
if ( v13 <= v9 )
goto LABEL_12;
goto LABEL_24;
}
if ( *(float *)((*(__int64 (__fastcall **)(PlayerObject *))(*(_QWORD *)a2 + 192LL))(a2) + 4) > (float)(v12 + *((float *)this + 3410)) )
v16 = 1;
if ( v13 <= v9 )
goto LABEL_12;
LABEL_24:
v18 = 0;
MaxPortalY = GJBaseGameLayer::getMaxPortalY(this);
*(float *)&v20 = GJBaseGameLayer::getMinPortalY(this);
v21 = MaxPortalY - *((float *)this + 431);
if ( *((_BYTE *)a2 + 2417) )
v18 = *((unsigned __int8 *)a2 + 2365);
v127 = v20;
v22 = (float)(MaxPortalY - v14) + v12;
if ( v22 >= *(float *)((*(__int64 (__fastcall **)(PlayerObject *))(*(_QWORD *)a2 + 192LL))(a2) + 4) )
{
v111 = (float)(v14 + *(float *)&v127) - v12;
if ( v111 > *(float *)((*(__int64 (__fastcall **)(PlayerObject *))(*(_QWORD *)a2 + 192LL))(a2) + 4) )
{
if ( !*((_BYTE *)a2 + 2409)
|| *(float *)((*(__int64 (__fastcall **)(PlayerObject *))(*(_QWORD *)a2 + 192LL))(a2) + 4) >= (float)(v111 - v14) )
{
if ( (unsigned __int8)PlayerObject::destroyFromHitHead(a2) && *((_BYTE *)a2 + 2423) )
{
if ( !PlayerObject::isSafeHeadTest(a2) )
{
LABEL_87:
LOBYTE(v16) = 1;
goto LABEL_13;
}
YVelocity = PlayerObject::getYVelocity(a2);
if ( *((_BYTE *)a2 + 2423) )
{
v112 = a2;
v113 = 0;
v114 = *(__int64 (__fastcall **)(PlayerObject *))(*(_QWORD *)a2 + 192LL);
v115 = *(void (__fastcall **)(PlayerObject *, __int64 (__fastcall **)(__int64 *, __int64 *)))(*(_QWORD *)a2 + 184LL);
}
else
{
canStickToGround = PlayerObject::canStickToGround(a2);
v114 = *(__int64 (__fastcall **)(PlayerObject *))(*(_QWORD *)a2 + 192LL);
v115 = *(void (__fastcall **)(PlayerObject *, __int64 (__fastcall **)(__int64 *, __int64 *)))(*(_QWORD *)a2 + 184LL);
v113 = canStickToGround & (v21 != 0.0);
v112 = a2;
}
v116 = (float *)v114(v112);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v129, *v116, v111 + 0.0);
v115(a2, v129);
PlayerObject::pushDown(a2);
}
else
{
v113 = 0;
YVelocity = PlayerObject::getYVelocity(a2);
if ( !*((_BYTE *)a2 + 2423) )
v113 = PlayerObject::canStickToGround(a2) & (v21 != 0.0);
if ( (unsigned __int8)PlayerObject::canStickToGround(a2) || *((float *)this + 106) == *((float *)this + 107) )
{
v117 = *(void (__fastcall **)(PlayerObject *, __int64 (__fastcall **)(__int64 *, __int64 *)))(*(_QWORD *)a2 + 184LL);
v118 = *(float *)(*(__int64 (__fastcall **)(PlayerObject *))(*(_QWORD *)a2 + 192LL))(a2);
v119 = 0.0;
}
else
{
v117 = *(void (__fastcall **)(PlayerObject *, __int64 (__fastcall **)(__int64 *, __int64 *)))(*(_QWORD *)a2 + 184LL);
v118 = *(float *)(*(__int64 (__fastcall **)(PlayerObject *))(*(_QWORD *)a2 + 192LL))(a2);
v119 = 1.0;
}
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v129, v118, v111 + v119);
v117(a2, v129);
if ( !*((_BYTE *)a2 + 2417) && !*((_BYTE *)a2 + 2428) || PlayerObject::getYVelocity(a2) < 0.0 )
PlayerObject::hitGround(a2, nullptr, *((_BYTE *)a2 + 2423));
}
PlayerObject::updateCollide(a2, *((unsigned __int8 *)a2 + 2423) ^ 1, nullptr);
if ( v113 )
{
v29 = YVelocity;
if ( YVelocity < PlayerObject::getYVelocity(a2) )
goto LABEL_39;
}
if ( ((v21 < 0.0) & *((_BYTE *)a2 + 2423)) == 0 )
{
*((_BYTE *)a2 + 2409) = 0;
LABEL_41:
if ( !v16 )
goto LABEL_44;
goto LABEL_13;
}
goto LABEL_37;
}
LOBYTE(v16) = 1;
goto LABEL_13;
}
LABEL_12:
if ( !v16 )
goto LABEL_44;
goto LABEL_13;
}
if ( *((_BYTE *)a2 + 2409)
&& *(float *)((*(__int64 (__fastcall **)(PlayerObject *, long double))(*(_QWORD *)a2 + 192LL))(a2, v127) + 4) > (float)(v14 + v22) )
{
goto LABEL_87;
}
if ( !(unsigned __int8)PlayerObject::destroyFromHitHead(a2) || *((_BYTE *)a2 + 2423) )
{
v23 = 0;
goto LABEL_31;
}
v23 = 1;
if ( PlayerObject::isSafeHeadTest(a2) )
{
LABEL_31:
v24 = PlayerObject::getYVelocity(a2);
if ( *((_BYTE *)a2 + 2423) )
v25 = PlayerObject::canStickToGround(a2) & (v21 != 0.0);
else
v25 = 0;
v26 = *(void (__fastcall **)(PlayerObject *, __int64 (__fastcall **)(__int64 *, __int64 *)))(*(_QWORD *)a2 + 184LL);
v27 = (float *)(*(__int64 (__fastcall **)(PlayerObject *))(*(_QWORD *)a2 + 192LL))(a2);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v129, *v27, v22);
v26(a2, v129);
if ( v23 )
{
PlayerObject::pushDown(a2);
}
else if ( PlayerObject::getYVelocity(a2) > 0.0 )
{
PlayerObject::hitGround(a2, nullptr, *((_BYTE *)a2 + 2423) ^ 1);
}
YVelocity = v24;
PlayerObject::updateCollide(a2, *((unsigned __int8 *)a2 + 2423), nullptr);
if ( v25 )
{
v29 = YVelocity;
if ( YVelocity > PlayerObject::getYVelocity(a2) )
goto LABEL_39;
}
if ( ((v21 > 0.0) & (*((unsigned __int8 *)a2 + 2423) ^ 1)) == 0 )
{
LABEL_40:
*((_BYTE *)a2 + 2409) = 0;
goto LABEL_41;
}
LABEL_37:
if ( v18 )
{
v29 = YVelocity;
LABEL_39:
PlayerObject::setYVelocity((__int64)a2, v29);
goto LABEL_40;
}
goto LABEL_40;
}
LOBYTE(v16) = 1;
LABEL_13:
if ( v15 )
{
if ( !v121 )
(*(void (__fastcall **)(GJBaseGameLayer *, PlayerObject *, _QWORD))(*(_QWORD *)this + 1296LL))(this, a2, 0);
return 1;
}
LABEL_44:
v30 = *(_QWORD *)a2;
*((_BYTE *)a2 + 3040) = v16;
v31 = *(float *)(*(__int64 (__fastcall **)(PlayerObject *))(v30 + 192))(a2);
v32 = *(__int64 (__fastcall **)(PlayerObject *))(*(_QWORD *)a2 + 192LL);
if ( v31 > 0.0 )
{
v33 = *(float *)v32(a2);
if ( v33 < 10000000.0 )
v34 = (int)(float)(*(float *)(*(__int64 (__fastcall **)(PlayerObject *, float))(*(_QWORD *)a2 + 192LL))(a2, v33)
* *((float *)this + 3408));
else
v34 = (int)(float)(*((float *)this + 3408) * 10000000.0);
v35 = v34 + 1;
v36 = v34 + 1;
if ( *(float *)((*(__int64 (__fastcall **)(PlayerObject *))(*(_QWORD *)a2 + 192LL))(a2) + 4) <= 0.0 )
{
v38 = 1;
v37 = 0;
v36 = v35;
LABEL_51:
v122 = v38;
if ( v34 <= 1 )
{
v123 = v35;
v126 = 0;
}
else
{
v126 = v34 - 1;
v123 = v35;
}
goto LABEL_53;
}
LABEL_48:
if ( *(float *)((*(__int64 (__fastcall **)(PlayerObject *))(*(_QWORD *)a2 + 192LL))(a2) + 4) < 10000000.0 )
v37 = (int)(float)(*(float *)((*(__int64 (__fastcall **)(PlayerObject *))(*(_QWORD *)a2 + 192LL))(a2) + 4)
* *((float *)this + 3409));
else
v37 = (int)(float)(*((float *)this + 3409) * 10000000.0);
v38 = v37 + 1;
goto LABEL_51;
}
v36 = 1;
if ( *(float *)(v32(a2) + 4) > 0.0 )
{
v34 = 0;
v35 = 1;
goto LABEL_48;
}
v123 = 1;
v122 = 1;
v37 = 0;
v126 = 0;
LABEL_53:
v39 = *((_QWORD *)this + 1674);
v40 = *((_QWORD *)this + 1675);
v41 = (v40 - v39) >> 3;
v42 = v41 - 1;
v43 = v41 - 1;
if ( v42 >= v36 )
v44 = v123;
else
v44 = v43;
v124 = v44;
if ( v37 <= 1 )
v125 = 0;
else
v125 = v37 - 1;
*((_DWORD *)this + 3113) = 0;
*((_DWORD *)this + 3122) = 0;
if ( v39 != v40 && v126 <= v44 )
{
v45 = 8LL * v126;
while ( 1 )
{
v46 = *(_QWORD **)(v39 + v45);
if ( v46 )
{
v47 = (__int64)(v46[1] - *v46) >> 3;
v48 = v47 - 1;
v49 = v47 - 1;
if ( v122 <= v48 )
v49 = v122;
if ( v125 <= v49 )
{
v50 = v125;
v51 = 4LL * v125;
v52 = 8LL * v125;
v53 = v125;
while ( 1 )
{
v54 = *(__int64 ***)(*v46 + v52);
if ( v54 )
{
v55 = *(_DWORD *)(**(_QWORD **)(*((_QWORD *)this + 1695) + v45) + v51);
if ( ((1LL << (v53 & 0x3F)) & *(_QWORD *)(**(_QWORD **)(*((_QWORD *)this + 1701) + v45) + 8 * (v50 >> 6))) != 0 )
{
v56 = *v54;
v128 = *(_DWORD *)(**(_QWORD **)(*((_QWORD *)this + 1695) + v45) + v51);
v129[0] = (__int64 (__fastcall *)(__int64 *, __int64 *))mIDCompSort;
std::__sort(v56, &v56[v55], v129);
v55 = v128;
for ( i = 0; v128 > (int)i; ++i )
*(_DWORD *)((*v54)[i] + 624) = i;
v58 = **(_QWORD **)(*((_QWORD *)this + 1701) + v45);
*(_QWORD *)(v58 + 8 * (v50 >> 6)) &= ~(1LL << (v53 & 0x3F));
}
GJBaseGameLayer::collisionCheckObjects((__int64)this, (__int64)a2, v54, v55, a3);
}
++v53;
v52 += 8;
v51 += 4;
++v50;
if ( v49 < v53 )
break;
v46 = *(_QWORD **)(*((_QWORD *)this + 1674) + v45);
}
}
}
v45 += 8;
if ( v124 < ++v126 )
break;
v39 = *((_QWORD *)this + 1674);
}
}
v66 = *((_DWORD *)this + 3366);
if ( v66 > 0 )
GJBaseGameLayer::collisionCheckObjects((__int64)this, (__int64)a2, (_QWORD *)this + 1680, v66, a3);
if ( *((_QWORD *)a2 + 192) )
v67 = *((unsigned __int8 *)a2 + 1624);
else
v67 = 0;
v68 = 0;
v69 = (cocos2d::CCRect *)(*(__int64 (__fastcall **)(PlayerObject *))(*(_QWORD *)a2 + 1328LL))(a2);
cocos2d::CCRect::getMaxX(v69);
v71 = v70;
cocos2d::CCRect::getMinX(v69);
v73 = v72;
cocos2d::CCRect::getMaxY(v69);
v75 = v74;
cocos2d::CCRect::getMinY(v69);
v76 = *((_DWORD *)this + 3113);
v78 = v77;
if ( v76 > 0 )
{
do
{
while ( 1 )
{
v79 = *(__int16 **)(*((_QWORD *)this + 1558) + 8LL * (v76 - 1 - v68));
if ( !(unsigned __int8)GameObject::getGroupDisabled((GameObject *)v79) )
{
ObjectRectPointer = (cocos2d::CCRect *)GameObject::getObjectRectPointer((GameObject *)v79);
if ( v67 && v79[584] > 0 )
v67 = (unsigned __int8)PlayerObject::testForMoving(a2, a3, (GameObject *)v79) ^ 1;
cocos2d::CCRect::getMinX(ObjectRectPointer);
if ( v71 >= v81 )
{
cocos2d::CCRect::getMaxX(ObjectRectPointer);
if ( v82 >= v73 )
{
cocos2d::CCRect::getMinY(ObjectRectPointer);
if ( v83 <= v75 )
{
cocos2d::CCRect::getMaxY(ObjectRectPointer);
if ( v84 >= v78 )
break;
}
}
}
}
v76 = *((_DWORD *)this + 3113);
if ( v76 <= ++v68 )
goto LABEL_106;
}
++v68;
PlayerObject::collidedWithObject(a2, a3, (GameObject *)v79);
v85 = (*(__int64 (__fastcall **)(PlayerObject *))(*(_QWORD *)a2 + 1328LL))(a2);
cocos2d::CCRect::operator=(v69, v85);
cocos2d::CCRect::getMaxX(v69);
v71 = v86;
cocos2d::CCRect::getMinX(v69);
v73 = v87;
cocos2d::CCRect::getMaxY(v69);
v75 = v88;
cocos2d::CCRect::getMinY(v69);
v76 = *((_DWORD *)this + 3113);
v78 = v89;
}
while ( v76 > v68 );
}
LABEL_106:
v90 = *((_BYTE **)this + 407);
if ( v90[2424] )
PlayerObject::removePlacedCheckpoint(v90);
v91 = 0;
v92 = 0;
v93 = (*(__int64 (__fastcall **)(PlayerObject *))(*(_QWORD *)a2 + 1328LL))(a2);
cocos2d::CCRect::operator=(v69, v93);
cocos2d::CCRect::getMaxX(v69);
v95 = v94;
cocos2d::CCRect::getMinX(v69);
v97 = v96;
cocos2d::CCRect::getMaxY(v69);
v99 = v98;
cocos2d::CCRect::getMinY(v69);
v101 = v100;
(*(void (__fastcall **)(PlayerObject *))(*(_QWORD *)a2 + 1568LL))(a2);
if ( *((int *)this + 3122) > 0 )
{
do
{
v102 = *(_QWORD *)(*((_QWORD *)this + 1562) + v91);
if ( !(unsigned __int8)GameObject::getGroupDisabled((GameObject *)v102) )
{
v103 = (cocos2d::CCRect *)GameObject::getObjectRectPointer((GameObject *)v102);
v104 = v103;
if ( *(float *)(v102 + 900) <= 0.0 )
{
cocos2d::CCRect::getMinX(v103);
if ( v95 < v107 )
goto LABEL_110;
cocos2d::CCRect::getMaxX(v104);
if ( v97 > v108 )
goto LABEL_110;
cocos2d::CCRect::getMinY(v104);
if ( v99 < v109 )
goto LABEL_110;
cocos2d::CCRect::getMaxY(v104);
if ( v101 > v110 )
goto LABEL_110;
}
else if ( !GJBaseGameLayer::playerCircleCollision(this, a2, (GameObject *)v102) )
{
goto LABEL_110;
}
if ( !*(_BYTE *)(v102 + 744)
|| *(_BYTE *)(*((_QWORD *)this + 409) + 455LL) && *(float *)(v102 + 900) > 0.0
|| (v105 = (float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v102 + 1560LL))(v102),
v106 = (float *)(*(__int64 (__fastcall **)(PlayerObject *))(*(_QWORD *)a2 + 1560LL))(a2),
OBB2D::overlaps1Way((__int64)v105, v106))
&& OBB2D::overlaps1Way((__int64)v106, v105) )
{
if ( !v121 )
{
(*(void (__fastcall **)(GJBaseGameLayer *, PlayerObject *, __int64))(*(_QWORD *)this + 1296LL))(
this,
a2,
v102);
return 1;
}
return 1;
}
}
LABEL_110:
++v92;
v91 += 8;
}
while ( *((_DWORD *)this + 3122) > v92 );
}
PlayerObject::postCollision(a2, a3, *((_BYTE *)this + 13944));
return 0;
}