// // PlayerObject::updateCollide from 0x624310 to 0x62447c (364 bytes) // // 7 xrefs: // > PlayerObject::collidedWithSlopeInternal @ 0x637a44 // > PlayerObject::collidedWithSlopeInternal @ 0x6384a8 // > GJBaseGameLayer::checkCollisions @ 0x894c2c // > GJBaseGameLayer::checkCollisions @ 0x8950dc // > GJBaseGameLayer::checkCollisions @ 0x895144 // > GJBaseGameLayer::checkCollisions @ 0x895654 // > @ 0x3aa58 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void PlayerObject::updateCollide(PlayerObject *a1, PlayerCollisionDirection a2, GameObject *a3) { float v6; // s9 float v7; // s8 float v8; // s0 float v9; // s8 float v10; // s0 float y; // s8 float v12; // s0 float v13; // s0 v6 = a1->getObjectRect(a1)->size.height * 0.5; v7 = a1->getObjectRect(a1)->size.width * 0.5; switch ( a2 ) { case 0: y = a1->getPosition(a1)->y; v12 = y + (float)((float)PlayerObject::flipMod(a1) * v6); PlayerObject::updateCollideTop(a1, v12, a3); break; case 1: v9 = a1->getPosition(a1)->y; v10 = v9 - (float)((float)PlayerObject::flipMod(a1) * v6); PlayerObject::updateCollideBottom(a1, v10, a3); break; case 2: v8 = a1->getPosition(a1)->x - v7; PlayerObject::updateCollideLeft(a1, v8, a3); break; case 3: v13 = v7 + a1->getPosition(a1)->x; PlayerObject::updateCollideRight(a1, v13, a3); break; default: return; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source