// // PlayerObject::handleRotatedCollisionInternal from 0x6385c0 to 0x638738 (376 bytes) // // 3 xrefs: // > PlayerObject::handleRotatedObjectCollision @ 0x638798 // > PlayerObject::handleRotatedSlopeCollision @ 0x63896c // > @ 0xb5ed8 // // 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 // // local variable allocation has failed, the output may be wrong! bool PlayerObject::handleRotatedCollisionInternal( PlayerObject *a1, float a2, GameObject *a3, cocos2d::CCRect a4, bool a5, bool a6, bool a7) { unsigned __int8 v7; // w5 int v10; // w21 const cocos2d::CCPoint *v12; // x0 bool v13; // w23 const cocos2d::CCPoint *v14; // x0 float v15; // s0 float v16; // s1 _BOOL8 v19; // [xsp+50h] [xbp+50h] cocos2d::CCPoint v20; // [xsp+68h] [xbp+68h] BYREF cocos2d::CCPoint v21; // [xsp+70h] [xbp+70h] BYREF cocos2d::CCRect v22; // [xsp+78h] [xbp+78h] BYREF cocos2d::CCRect v23; // 0:s1.4,4:s2.4,8:s3.4,12:s4.4 v10 = v7; v19 = a5; v12 = (const cocos2d::CCPoint *)((__int64 (__fastcall *)(PlayerObject *, float, long double, long double, long double, long double))a1->getPosition)( a1, a2, *(long double *)&a4, *(long double *)((char *)&a4 + 4), *(long double *)&a4.size.width, *(long double *)&a4.size.height); cocos2d::CCPoint::CCPoint(&v20, v12); PlayerObject::rotateGameplayObject(a1, a3); PlayerObject::rotatePreSlopeObjects(a1); if ( v10 ) { v13 = 0; PlayerObject::collidedWithSlopeInternal(a1, a2, a3, a7); } else { cocos2d::CCRect::CCRect(&v22, (const cocos2d::CCRect *)v19); v13 = PlayerObject::collidedWithObjectInternal(a1, a2, a3, v23, (bool)&v22); } v14 = a1->getPosition(a1); cocos2d::CCPoint::CCPoint(&v21, v14); v15 = v20.x + (float)(v21.y - v20.y); v16 = v20.y - (float)(v21.x - v20.x); cocos2d::CCPoint::CCPoint(&v22.origin, v15, v16); a1->setPosition(a1, (const cocos2d::CCPoint *)&v22); PlayerObject::unrotateGameplayObject(a1, a3); PlayerObject::unrotatePreSlopeObjects(a1); return v13; }
GD Web Decomp Icon

GD Web Decomp

Raw Source