//
// PlayerObject::updateCollideBottom from 0x4356ac to 0x435700 (84 bytes)
//
// 5 xrefs:
// > PlayerObject::updateCollide @ 0x4362d6
// > PlayerObject::collidedWithObjectInternal @ 0x43ccfa
// > PlayerObject::collidedWithObjectInternal @ 0x43cf22
// > PlayerObject::collidedWithObjectInternal @ 0x43d032
// > PlayerObject::collidedWithObjectInternal @ 0x43d38a
//
// 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:48:18 +0000
//
cocos2d::CCDictionary *__fastcall PlayerObject::updateCollideBottom(
cocos2d::CCDictionary *this,
float a2,
GameObject *a3)
{
double *v3; // r3
double v4; // d6
double v5; // d7
if ( a3 )
a3 = *((GameObject **)a3 + 195);
v3 = (double *)((char *)this + 1864);
v4 = a2;
v5 = *((double *)this + 233);
if ( v5 == 0.0 )
{
*v3 = v4;
}
else
{
if ( *((_BYTE *)this + 1959) )
{
if ( v5 > v4 )
v5 = a2;
}
else if ( v5 < v4 )
{
v5 = a2;
}
*v3 = v5;
}
if ( a3 )
return PlayerObject::storeCollision(this, 1, (int)a3);
return this;
}