// // PlayerObject::handleRotatedCollisionInternal from 0x760f30 to 0x7610a8 (376 bytes) // // 3 xrefs: // > PlayerObject::handleRotatedObjectCollision @ 0x761108 // > PlayerObject::handleRotatedSlopeCollision @ 0x7612dc // > @ 0xed9d0 // // 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:53:04 +0000 // __int64 __fastcall PlayerObject::handleRotatedCollisionInternal( PlayerObject *a1, GameObject *a2, const cocos2d::CCRect *a3, unsigned __int8 a4, unsigned __int8 a5, unsigned __int8 a6, float a7) { int v9; // w21 const cocos2d::CCPoint *v12; // x0 unsigned int v13; // w23 const cocos2d::CCPoint *v14; // x0 float v15; // s0 float v16; // s1 float v20; // [xsp+68h] [xbp+68h] BYREF float v21; // [xsp+6Ch] [xbp+6Ch] float v22[2]; // [xsp+70h] [xbp+70h] BYREF _BYTE v23[16]; // [xsp+78h] [xbp+78h] BYREF v9 = a6; v12 = (const cocos2d::CCPoint *)(*(__int64 (__fastcall **)(PlayerObject *))(*(_QWORD *)a1 + 192LL))(a1); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v20, v12); PlayerObject::rotateGameplayObject(a1, a2); PlayerObject::rotatePreSlopeObjects(a1); if ( v9 ) { v13 = 0; PlayerObject::collidedWithSlopeInternal(a1, a7, a2, a5); } else { cocos2d::CCRect::CCRect((cocos2d::CCRect *)v23, a3); v13 = (unsigned __int8)PlayerObject::collidedWithObjectInternal((__int64)a1, a2, (cocos2d::CCRect *)v23, a4, a7); } v14 = (const cocos2d::CCPoint *)(*(__int64 (__fastcall **)(PlayerObject *))(*(_QWORD *)a1 + 192LL))(a1); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v22, v14); v15 = v20 + (float)(v22[1] - v21); v16 = v21 - (float)(v22[0] - v20); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v23, v15, v16); (*(void (__fastcall **)(PlayerObject *, _BYTE *))(*(_QWORD *)a1 + 184LL))(a1, v23); PlayerObject::unrotateGameplayObject(a1, a2); PlayerObject::unrotatePreSlopeObjects(a1); return v13; }
GD Web Decomp Icon

GD Web Decomp

Raw Source