// // GameObject::getSlopeAngle from 0x355d10 to 0x355d54 (68 bytes) // // 4 xrefs: // > PlayerObject::collidedWithSlopeInternal @ 0x34b854 // > PlayerObject::collidedWithSlopeInternal @ 0x34be5a // > PlayerObject::collidedWithSlopeInternal @ 0x34c09a // > LevelEditorLayer::rotationForSlopeNearObject @ 0x367096 // // 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 // float GameObject::getSlopeAngle(GameObject *a1) { const cocos2d::CCRect *v1; // r0 cocos2d::CCRect v3; // [sp+4h] [bp-14h] BYREF v1 = a1->getObjectRect(a1); cocos2d::CCRect::CCRect(&v3, v1); return j_atanf(v3.size.height / v3.size.width); }
GD Web Decomp Icon

GD Web Decomp

Raw Source